-
Notifications
You must be signed in to change notification settings - Fork 35
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
Upgrade to pip 8 #67
Comments
Any ETA on this? By the way, thanks for a great project! It's great for developing while on the road. |
Ping |
Sorry for not updating this issue earlier @tehfink and others who are interested. I started working on this upgrade quite a while ago (in May 2016) and initially it didn't seem that involved, but that impression turned out to be wrong and since then things have stalled. The last time I tried to pick up this issue (when @tehfink asked for a pong) I actually published my intermediate work in the pip-8.1-upgrade branch intending to post a positive update here, but then lots of unanticipated Travis CI test failures popped up and I got seriously demotivated. So unfortunately the new branch is not ready to be released yet. It's been a while since I had time to look at this in depth (my personal life and 40+ open source projects are filling up my to-do list faster than I can finish tasks) but I'll try to summarize the current status below (both for myself and others). 1. Minimal required changesMaking the minimal changes required to get most of the test suite running against pip 8.1.2 on my personal laptop didn't seem that hard at first, in fact the complete test suite was passing! However it did spew out deprecation warnings. 2. Switching to
|
Python 2.6 | Python 2.7 | Python 3.4 | Python 3.5 | PyPy | |
---|---|---|---|---|---|
test_editable_install |
135686251 | 135686252 | |||
test_package_downgrade |
135686249 | 135686250 | 135686251 | 135686252 | 135686253 |
test_setup_requires_caching |
135686251 | 135686252 |
4. Finally making progress again
I already looked into these test failures a bit the first time I saw them, though not very detailed. My initial impression was that the test_editable_install
and/or test_setup_requires_caching
failures might be caused by a bug outside pip-accel, which was even more frustrating because I could find lots of very old bug reports, every time claiming that the issue was long since fixed.
Tonight I pushed 947810d to validate that theory and try out a fix and indeed, now only test_package_downgrade
is failing, see Travis CI build #148472898. I guess I'll go and look into the one remaining test failure now :-) (which by the way is also passing for me locally, rather obscure :-S).
Once that is fixed I won't be ready to release the new version just yet, I'm considering asking people to try it out before it's officially released. As explained the switch from pip install --download
to pip download
required quite a bit more complexity than I'd initially hoped, and it's kind of hard for me to correctly judge the full impact on various (sometimes unanticipated) use cases of pip-accel.
We're actually at pip 9 now and pip 8 isn't supported yet. Are there any breaking changes from 8 to 9? |
I'm creating this issue just to let pip-accel users know that I'm aware of pip 8 being released and will be upgrading pip-accel to use pip 8 soon. For now everything is fine due to the way pip-accel pins the pip dependency (pip will just spam messages to the terminal about not being up to date). Judging by pip's release notes most of the changes shouldn't have a big impact on pip-accel. Only the following items might prove to be relevant and/or tricky from a first cursory reading:
pip download
command and deprecatepip install --download
.peep
into pip, allowing hashes to be baked into a requirements file and ensuring that the packages being downloaded match one of those hashes. This is an additional, opt-in security measure that, when used, removes the need to trust the repository.The text was updated successfully, but these errors were encountered: