-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Undeclared build dependency on cython #15298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Indeed I can reproduce. I seem to remember we included the .c files (generated from the Cython files) in the .tar.gz for source distribution ( |
this issue still appears in 0.22. I think #15567 rendered changes in #15313 uneffective, and the cython dependency is still required.
should I open a new issue, or can you reopen this one? |
I understand that. It'd be nice if scikit-learn declared the build dependencies so that pip can install them automatically[0] rather than expecting the user to install it manually ahead of time. [0] https://packaging.python.org/specifications/declaring-build-dependencies/ |
thanks! Those are both closed/merged. Is there an open issue/pr that tracks this? |
Let's keep this one open to track this |
why is this a blocker for 0.22.1? Are we going to have a |
Sorry, didn't see it tagged blocker. When it was reopened it was tagged 0.22 |
This also seems to be moving to the scipy org, which will make writing a |
I have the feeling this bug has re-appeared with release scikit-learn 0.24. As of a few days ago I see CI/CD builds failing for a project that has a deep indirect dependency on scikit-learn, with the I can tell you the CI/CD machine runs Python 3.6 on Ubuntu 18.04. |
@jackjansen we'll need more context to re-open this issue. We do have a |
@adrinjalali no need to reopen. The issue has been solved, see #19068. |
Description
pip install scikit-learn --no-binary :all:
fails to install scikit because of missing cython build dependency. Once cython is installed manually the above command works and installs scikit-learn.Steps/Code to Reproduce
pip install scikit-learn --no-binary :all:
it's also the case for python implementations that don't have scikit-learn wheels available (PyPy3, Python3.8)
Expected Results
scikit-learn installs successfully
Actual Results
Versions
The text was updated successfully, but these errors were encountered: