-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG] Issue 7867: Install numpy and scipy using "install_requires" #10402
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
[MRG] Issue 7867: Install numpy and scipy using "install_requires" #10402
Conversation
To remove the errors from the log, I think you need to remove the numpy_status stuff like you removed the scipy one. Also maybe look at the whole file to spot opportunities for clean-up. Amongst other things there probably are some comments that don't make sense any more once this PR is merged. |
Small github tip: I edited your PR description to use "Fix #issueNumber", this way the associated issue gets closed automatically when the PR is merged. For more details, look at this. |
@lesteve: About the errors, njsmith had suggested:
My question is where and how to do that in order to get the desired effect? I'm thinking as written currently, it is checking in some cases when it shouldn't. This seems like a tricky area requiring expertise in Python Specific suggestions would be appreciated. |
I looked and don't see any obvious opportunities for cleanup. We can take another look at that once bigger issues are addressed (e.g. the spurious error building a wheel during source installation). |
I looked at this a bit more and I think this is fine as it is despite the spurious error:
I feel the benefit of having scikit-learn installable via |
Why should we not keep the scipy check removed here? |
It shouldn't be needed anymore; |
Well, I've not done much packaging, but don't think this PR does harm, and will believe the experts. Let's merge. |
I'm so happy to see this. I'm pretty sure this solves some more open issues/PRs |
Do we want to add |
Probably not: we don't want people who do |
Yeah we need a "build_requires", which unfortunately doesn't exist. |
Ideally we want people who do |
@amueller e.g. Alpine Linux (trying to install scikit-learn on there now :, but running into this issue...). |
Note: this feature ( |
OMG I forgot this happened. We should have a whatsnew entry, right? |
Alternate, simpler PR after feedback on #10398. We can iterate on this one but possibly fall back to the other one if this doesn't work out.
In my testing, installing from a
.tar.gz
appears to work (i.e. I can import thesklearn
module afterwards) but there are some errors displayed during installation. I don't know if those are a concern or not. Full output below.Installing from a wheel worked smoothly.
Installing from source tarball (Mac OS X Sierra, Python 2.7.13):
Fixes #10398, fix #7867.