Debian Bug report logs -
#821223
Unable to create a virtualenv: invalid requirement: '_markerlib'
Reported by: Vincent Bernat <bernat@debian.org>
Date: Sat, 16 Apr 2016 19:27:01 UTC
Severity: grave
Found in version python-virtualenv/15.0.1+ds-1
Fixed in version python-virtualenv/15.0.1+ds-2
Done: Barry Warsaw <barry@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#821223; Package virtualenv.
(Sat, 16 Apr 2016 19:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Vincent Bernat <bernat@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Sat, 16 Apr 2016 19:27:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: virtualenv
Version: 15.0.1+ds-1
Severity: grave
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hey!
For some reason, I now get the following error message when trying to
initialize a new virtualenv:
virtualenv --no-site-packages tip
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/bernat/tmp/tip/bin/python2
Also creating executable in /home/bernat/tmp/tip/bin/python
Installing setuptools, pkg_resources, _markerlib, pip, wheel...
Complete output from command /home/bernat/tmp/tip/bin/python2 - setuptools pkg_resources _markerlib pip wheel:
Invalid requirement: '_markerlib'
Traceback (most recent call last):
File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 77, in __init__
req = pkg_resources.Requirement.parse(req)
File "/home/bernat/tmp/tip/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2806, in parse
req, = parse_requirements(s)
File "/home/bernat/tmp/tip/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2754, in parse_requirements
yield Requirement(line)
File "/home/bernat/tmp/tip/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2763, in __init__
raise RequirementParseError(str(e))
RequirementParseError: Invalid requirement, parse error at "'_markerl'"
- ----------------------------------------
...Installing setuptools, pkg_resources, _markerlib, pip, wheel...done.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/virtualenv.py", line 2364, in <module>
main()
File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
symlink=options.symlink)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 989, in create_environment
download=download,
File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/bernat/tmp/tip/bin/python2 - setuptools pkg_resources _markerlib pip wheel failed with error code 1
I get the same problem with "python -m virtualenv".
- -- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental-debug'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages virtualenv depends on:
ii python3 3.5.1-3
ii python3-virtualenv 15.0.1+ds-1
virtualenv recommends no packages.
virtualenv suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXEpGdAAoJEJWkL+g1NSX5O1kP/0vDwcRpqjzYcyLyBom4mbmW
ERT/OXDt8vSjz9isNqAo/nkr4Dc7QKO+nL4I1xXh0NA67/6LRiXTrKDYcueRq+Yo
6+ACAxIEiJ26ObzMU+9RbVjO+/hO/qu3JhSMy3JoLnvqIJ7K47K3l0DsH+imWzwy
4QiPp5hxtZasZI2chiL/+IYcKasMf0Dk9rSeH7Rcy43W6LLi4Afw6YXoWf92heLI
+6aMHIAfWJT9CjfjNdmGxUXxnGt4A2hNtXcynyw1gSWm2nwskT0Ft8GurdUiD2ln
kdPXenRpPWo1roWIKGdR5A8mk8PPiGz4mrJXm4siAZYlGgB2a4LrS3GNShDsxpyz
aZ5/scoJR848FChQmeptimNa9xOP2S+PYKyP6q2w83Neo8bnBt3+Z7zSmZ5pBxdO
WamQJ37gOD+FyFRbI66u7KAjlXkwfSNW5FXg/8SHtT1BNKtGLrqtH6O3LT6QNEaj
r+NWAVd1JOj45N6z7KZ4GQJ7Y9kms7DVl80mUve34QENvA3R4CyFu7X+5LCb8sGg
XGe7/Xvv8L1jIw7HXSPyPVHKwmCAyRbasZIbSm+H0Gp+l4ucupqRou+AOdJrPHsP
fuKjmSUpGCmA1pgkRCBlaZfYx1cRRhJXxwgu4/TV1Fa/NRmMmcYfOkWXvdVdwD3p
mzaGqE0CgHSZ50QPRte3
=5fO7
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, steko@iosa.it, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#821223; Package virtualenv.
(Sun, 17 Apr 2016 07:57:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Stefano Costa <steko@iosa.it>:
Extra info received and forwarded to list. Copy sent to steko@iosa.it, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Sun, 17 Apr 2016 07:57:08 GMT) (full text, mbox, link).
Message #10 received at 821223@bugs.debian.org (full text, mbox, reply):
Package: virtualenv
Version: 15.0.1+ds-1
Followup-For: Bug #821223
Dear Maintainer,
as already reported, I can confirm that I encounter the same bug
and identical error message, and I am therefore unable to create
a working virtual environment.
All the best
steko
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages virtualenv depends on:
ii python3 3.5.1-3
ii python3-virtualenv 15.0.1+ds-1
virtualenv recommends no packages.
virtualenv suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#821223; Package virtualenv.
(Mon, 18 Apr 2016 09:21:12 GMT) (full text, mbox, link).
Acknowledgement sent
to Stefano Costa <steko@iosa.it>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Mon, 18 Apr 2016 09:21:12 GMT) (full text, mbox, link).
Message #15 received at 821223@bugs.debian.org (full text, mbox, reply):
Just to add more detail on the issue, I tried on a fresh sid install (with Docker) and the following works well:
root@62ae0c72d468:/# python3 get-pip.py
Collecting pip
Downloading pip-8.1.1-py2.py3-none-any.whl (1.2MB)
100% |################################| 1.2MB 118kB/s
Collecting setuptools
Downloading setuptools-20.9.0-py2.py3-none-any.whl (508kB)
100% |################################| 512kB 98kB/s
Collecting wheel
Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
100% |################################| 71kB 105kB/s
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-8.1.1 setuptools-20.9.0 wheel-0.29.0
root@62ae0c72d468:/# pip3 install virtualenv
Collecting virtualenv
Downloading virtualenv-15.0.1-py2.py3-none-any.whl (1.8MB)
100% |################################| 1.8MB 85kB/s
Installing collected packages: virtualenv
Successfully installed virtualenv-15.0.1
root@62ae0c72d468:/# virtualenv test
Using base prefix '/usr'
New python executable in /test/bin/python3
Also creating executable in /test/bin/python
Installing setuptools, pip, wheel...done.
root@62ae0c72d468:/# source test/bin/activate
(test) root@62ae0c72d468:/# python
Python 3.5.1+ (default, Apr 17 2016, 16:14:06)
[GCC 5.3.1 20160409] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
the resulting "test" virtual environment is created correctly. So it would seem a problem of the Debian package and not of upstream virtualenv or pip.
Thanks a lot for maintaining this package,
steko
--
Stefano Costa @stekosteko
Editor, Journal of Open Archaeology Data
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#821223; Package virtualenv.
(Mon, 18 Apr 2016 14:45:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Barry Warsaw <barry@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
Your message did not contain a Subject field. They are recommended and
useful because the title of a Bug is determined using this field.
Please remember to include a Subject field in your messages in future.
(Mon, 18 Apr 2016 14:45:10 GMT) (full text, mbox, link).
Message #20 received at 821223@bugs.debian.org (full text, mbox, reply):
Can you please report the output of `dpkg-query -W python-pip-whl`, both if
virtualenv works and doesn't work for you?
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#821223; Package virtualenv.
(Mon, 18 Apr 2016 15:03:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Barry Warsaw <barry@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Mon, 18 Apr 2016 15:03:05 GMT) (full text, mbox, link).
Message #25 received at 821223@bugs.debian.org (full text, mbox, reply):
I'll have a fix uploaded momentarily.
Reply sent
to Barry Warsaw <barry@debian.org>:
You have taken responsibility.
(Mon, 18 Apr 2016 18:42:34 GMT) (full text, mbox, link).
Notification sent
to Vincent Bernat <bernat@debian.org>:
Bug acknowledged by developer.
(Mon, 18 Apr 2016 18:42:34 GMT) (full text, mbox, link).
Message #30 received at 821223-close@bugs.debian.org (full text, mbox, reply):
Source: python-virtualenv
Source-Version: 15.0.1+ds-2
We believe that the bug you reported is fixed in the latest version of
python-virtualenv, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 821223@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Barry Warsaw <barry@debian.org> (supplier of updated python-virtualenv package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 18 Apr 2016 10:59:28 -0400
Source: python-virtualenv
Binary: python-virtualenv python3-virtualenv virtualenv
Architecture: source all
Version: 15.0.1+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Changed-By: Barry Warsaw <barry@debian.org>
Description:
python-virtualenv - Python virtual environment creator
python3-virtualenv - Python virtual environment creator
virtualenv - Python virtual environment creator
Closes: 821223
Changes:
python-virtualenv (15.0.1+ds-2) unstable; urgency=medium
.
[ Ondřej Nový ]
* Fixed homepage (https)
* Fixed VCS URL (https)
.
[ Barry Warsaw ]
* d/patches/use-wheels.patch: _markerlib is no longer needed or
available, so don't try to install it. (Closes: #821223)
Checksums-Sha1:
2489992dfad29dd2bb65be36a8c2e56d0db53c2f 2593 python-virtualenv_15.0.1+ds-2.dsc
5f9d4be50de7473daf0ef5b68511d73befc9c54d 41560 python-virtualenv_15.0.1+ds-2.debian.tar.xz
3e6ad67953a86628a1da636a86058fa8106d7d0c 60422 python-virtualenv_15.0.1+ds-2_all.deb
444b788f4ea85ad6296bccc6d3cdfddfbc131aca 57094 python3-virtualenv_15.0.1+ds-2_all.deb
abbf3437f1bec0a65791015b4f26b2b0fdce5dec 19210 virtualenv_15.0.1+ds-2_all.deb
Checksums-Sha256:
376105c35d7570b6f148ce242112093d8ac5fc8a2d1d460408e96e3d73c06b9b 2593 python-virtualenv_15.0.1+ds-2.dsc
2cc263ccf0c54f06b051b3197e1566fdb468b968279f56a73dd4302460e32be7 41560 python-virtualenv_15.0.1+ds-2.debian.tar.xz
fbadde21cc2dce318a4651d08a664d0898ef313882c7f564e1089e43fa38d698 60422 python-virtualenv_15.0.1+ds-2_all.deb
8a4dce7936e8f208802d97da740a51f6ad7605e4ec9a1db0740c39e4a48b6867 57094 python3-virtualenv_15.0.1+ds-2_all.deb
ad895eac4e9b3fe0484214cb120701326a488b9661c969213fd946e48fddc2ad 19210 virtualenv_15.0.1+ds-2_all.deb
Files:
459cc9e103261c98add690e0856dea86 2593 python optional python-virtualenv_15.0.1+ds-2.dsc
794aa4ff4db10f7c4b7e4a2de8665b3d 41560 python optional python-virtualenv_15.0.1+ds-2.debian.tar.xz
4ee51fb79fe4bb1783001b8a14c0fc17 60422 python optional python-virtualenv_15.0.1+ds-2_all.deb
ac69a80c277756e3fd9bac5e55b7cbae 57094 python optional python3-virtualenv_15.0.1+ds-2_all.deb
4818b1244ac8db135e9ace8b6cce2a78 19210 python optional virtualenv_15.0.1+ds-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXFSUCAAoJEBJutWOnSwa/U8UQAIQzXWBUwzaItD1Ynfre57wF
7OIr7t/ngxc5r1Va3iHjmN3kLoTvo5mU1wMgPbiCI4FTT8utCO6DISG54PgETdvT
pK/SeB3/SVRP86zZWSzWd4cA5/krevLnYEFQbkpMDfdCflH2CHSt2x+T3TaAw7QF
eGuxgSgxw6xXpqe7aV3T8QsXqgu//JeHNa+xORmb2yjpoy12piT3/etnr7GxbORP
uts/koVdg8AE3KJLlTky4nEERZHW5bOpmEdqxvbjjSnxIAGtcP55nGG0SeUUUss0
5nHXt44LtCDJskiyswwRa7cl0skeluHV9aIua2CF2M5CyIDZDI2i57mbWocZLtF9
NbnLKUv0cHnJHqSijh3dS39EEvEJDms3fzQ/XLWHH9mec29enOcEjjtMy6SADlB8
f5BUDwp4BHwkDJ0g/7lWbomEKsmau7wa/TzpkFglI0TkxbMTdOxpB2rPFwwDh6Ps
YH1J0W3wNjS2fAef/pXtOPTlGaS/tAsbcL/59YVxLMCgQU2N9FBYb+dNDStJd5RX
mUXhzumWIwxASCTZXFMKGaWZmxZjsv4CCiX3YAec53W9JbbmpXgcIY3zEqEw5O6Q
Ze+kVCVzfU0wLUDNRTh9cDE/cjr6acy9U9IyYAgAisT/mflBvbZ2olTEGE/yuyCk
KVkorHtimSTdlEt5bbdw
=juQ/
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 17 May 2016 07:29:05 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 19:54:10 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.