-
Notifications
You must be signed in to change notification settings - Fork 30
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 pip? #18
Comments
I think it's related to this paylogic/pip-accel#73 |
What's the best course of action here? I've done some research on debian packaging for python myself, and found that a wheel -> deb conversion tool would probably be easiest/most stable. I've seen for example that popular packages such as numpy seems to be tricky to package using |
For now I managed to use py2deb effectively but had to manually specify some dependencies that were specified with environment markers (not handled by old pip 7 I think). I really don't know if there is a more elegant solution :/ See https://github.com/Ymagis/ClairMeta/blob/develop/.travis/build_deb.sh for example. |
Sorry for the long silence here. First I'll answer the question in the opening post by @vidstige:
py2deb uses pip-accel as an API for:
Because pip-accel was developed against pip 7.x and is incompatible with newer versions, pip is downgraded when you install py2deb / pip-accel. I've held back on replying in the py2deb and pip-accel issue trackers (regarding the old pip version) for a while now, because I wanted to provide a proper analysis and "best course of action". I actually started writing that up, but didn't manage to finish it, and so haven't shared it. The end result is that issues like these see nothing but silence from my side, for a long time. Sorry about that. I'm pressed for time right now as well, so will provide a short summary of the state of affairs:
In about a month (the first half of August) I'm planning to have a significant chunk of free time (time off from work, at the very least) and I've been planning to dive deep into pip-accel and py2deb then. I would first investigate if it's possible to reinvigorate the pip-accel project (and whether there is even a point in doing so, given that pip has seen great improvements in the past years):
That's all for now, hopefully I'll have something more useful to share soon! |
Thanks for the update! Makes a lot of sense. I think it would be easier to get started with py2deb if it allowed a fresher version of pip. For now, I'm just plopping all our wheels inside a debian package, which works ok. But ideally I would like to auto-convert all these wheels to deb packages at some point in time. Perhaps I'll write a small script for this, inspired by py2deb. Thanks |
Any update on this? |
First of all, thanks for great tool! |
I think it is now all broken on python3.8, unless I'm mistaken pip7.2 can't install package at all. |
Hi all, Sorry for the lack of updates from my end [1]. I've started working on a new, minimal implementation of The best plan forward for Because these are large changes to both projects I will need to sacrifice some features, but at least it will get both projects (most importantly I'm hoping to pick up speed on this in the coming weeks, if so I'll certainly share my results here. [1] I kind of feel obliged to explain a two year gap of silence. For what it's worth, I didn't just forget about |
I intend to revive pip-accel based on the latest pip release, offering a minimal conceptual subset of previous functionality of pip-accel, just enough for py2deb to use. However this will surely take some time to flesh out - possibly multiple releases of both projects. I'm not even sure yet what will be involved in getting pip-accel and py2deb running on the latest version of pip (I can however already tell that large architectural changes will be required in pip-accel and consequently also py2deb). In the mean time I don't want any users (including my employer) run into breakage caused by this endeavor. Alpha / beta releases on PyPI should be able to avoid this problem, however I've never published those myself, so I'm opting for "defense in depth" 😇. See also this recent discussion: #18
Sorry to hear that. You have no obligation to anyone, just do things if you enjoy it. Hoping the best for your wife. 🤞 |
Why does pip need to be downgraded to 7.x, when the latest is 10.0.1? 🤔
The text was updated successfully, but these errors were encountered: