-
-
Notifications
You must be signed in to change notification settings - Fork 14
Avoid pip wheel caching #4
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
Conversation
I improved the error message. For now I am still undecided about merging this, my plan in opening the PR was to have it ready in case we decide this is worth it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @lesteve!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as well. +1 for releasing 0.0.post2
after merging this.
FYI I have released 0.0.post2 on PyPI |
FYI I have released 0.0.post2 on PyPI
Great!!
|
If the build of Wheel for Our build pulled
|
@Haizhou-W Why don't you use the scikit-learn package instead of the deprecated sklearn? |
We need to do thorough testing before switch to use Would |
@Haizhou-W I had the same problem. Before switching to scikit learn, I was able to run old code by pinning the version of sklearn to 0.0 |
@Haizhou-W @IPanfilov please use
We have started deprecating |
OK I am not very familiar with poetry but it does seem like the 0.0.post2 release breaks poetry install because poetry does not do fall-back to the legacy install contrary to pip ... |
There does not seem to be a way to do what we wanted, we decided to revert this PR and yank the 0.0.post2 release from PyPI. |
Currently a wheel is built on the first download and then reused on the next
pip install sklearn
it could potentially mean that people are unaware of the sklearn package deprecation, since they keep reusing the locally cached wheel.At the same time most downloads are probably coming from CIs without pip caching so this may not be that important if the goal is to reduce
sklearn
downloads.Downsides: