You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am packaging an RPM which includes pip. RPM bytecompiles *.py files as part of the packaging process. This fails with the message below. If I package pip 8.1.2 all works as expected (and as it has until the release of pip 9.0).
What I've run:
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
Compiling /home/btimby/rpmbuild/BUILDROOT/foobar-1.1-22.x86_64/usr/local/upgrayedd/venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree.py ...
File "/usr/local/foobar/venv/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree.py", line 13
from pip._vendor. import string_types
^
SyntaxError: invalid syntax
error: Bad exit status from /var/tmp/rpm-tmp.CAeMne (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.CAeMne (%install)
make: *** [rpm] Error 1
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Description:
I am packaging an RPM which includes pip. RPM bytecompiles *.py files as part of the packaging process. This fails with the message below. If I package pip 8.1.2 all works as expected (and as it has until the release of pip 9.0).
What I've run:
The text was updated successfully, but these errors were encountered: