Closed abhi8893 closed 6 months ago
@NicolasHug I'm currently having trouble installing Surprise with Poetry. This would be a great improvement! Thanks @abhi8893 !
@NicolasHug This solved the problem for me! Please merge and make a new release.
thanks @abhi8893
I didn't realize @abhi8893 came up with this, and implemented something very similar in #477. However, this PR is slightly better, so I closed #477 in favor of this.
I only have some minor suggestions for this PR, please consider incorporating.
You can delete requirements.txt
and requirements_dev.txt
since you copied those dependencies into pyproject.toml
Thanks @rodrigc for reviewing! I have incorporated the comments. On the versioning part, I have a differing view, but let me know what you think 🙂
Good job on this PR. @NicolasHug please merge and make a new release.
@abhi8893 thank you so much for putting out this PR @rodrigc thank you so much as well for your previous PR and for reviewing this one.
I've pushed a bunch of minor changes but I think it's good to merge now. I'll try to push 1.1.4 soon. :pray:
Thanks a lot for merging this and making a new release so quickly @NicolasHug! Confirming it installs flawlessly now, even with uv
! 🚀
Nice job @abhi8893 and @NicolasHug !
Description
scikit-surprise
currently relies on the legacysetup.py
to describe the python package build. While this is needed for including cythonized extensions, most of the config can be moved topyproject.toml
.This would probably solve open installation issues: #466, #468, #470 etc
This PR does the following:
build
to dev requirementssetup.cfg
surprise.__init__.py
setup.py
, and transfer most conf topyproject.toml
[test]
requirements installedMerging this will gave back the community a really good recommender system library! 🙂