-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Compile error installing package (fabric2==2.6.0) #13403
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
I can't reproduce, but I'm using my own installed Python 3.9 not the Debian version. The issue appears to be when compiling the bytecode of invoke, normally pip calls |
I think this is caused by python/cpython#88832, and so I assume you can fix this by upgrading to Python 3.9.7+ (it is certainly fixed on more recent versions of Python 3.9). Also because of the nature of the error you can run @ichard26 I can reproduce this on Python 3.9.2 and it appears to be caused by the same bug that motivated your fix in #13364, but is related to when bytecode compiling fails, and your PR does not seem to catch this case, the library in question is vendoring Python 2 code. This error happens in 25.1, and 25.1.1, but not in 25.0. |
Thanks for looking @notatallshaw. I will see if there is a reason the latest python package on Bullseye is 3.9.2 (probably because it's LTS) and see if the maintainers can update it. If it's possible to fix it on this end it would also be appreciated, in case the Debian side fails. I don't want to have to maintain non distro packaged python versions on 700+ machines If I can avoid it. Thanks again |
To set expectations, the pip 25.1 release cycle is closed, and this is unlikely to be urgent enough to reopen. Pip releases on a quarterly basis so the next release (25.2) will be in ~2-3 months. Also pip is a volunteer project, so it will depend on someone submitting an acceptable PR, we have no paid or full time resources. So if workarounds aren't viable for you (upgrade Python, use |
Uh oh!
There was an error while loading. Please reload this page.
Description
I am still getting an error when installing fabric2==2.6.0 with pip 25.1.1 on Debian 11 running Python 3.9.2. I thought it would be fixed by #13359 but it is still happening.
It seems to be caused by the invoke 1.7.3 package, and when I specifically install that package first, it installs fine and I no longer get the error when installing fabric2.
Also even though this error occurs, pip freeze shows that invoke has been installed and running
pip install fabric2==2.6.0
then works.The error occurs installing 2.6.0, 2.7.0 and 2.7.1. Installation proceeds fine in pip 25.0.1.
Expected behavior
Package installs as expected.
pip version
25.1.1
Python version
3.9.2
OS
Debian 11 (Bullseye)
How to Reproduce
python3 -m venv venv && source venv/bin/activate
pip install --upgrade pip
pip install fabric2==2.6.0
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: