Package: python3-virtualenv
Version: 15.1.0+ds-2
Severity: important
Tags: buster
Control: notfound -1 20.4.0+ds-2

Creating a virtualenv fails, we presume this is a recent regression due
to some server-side change on PyPI.

Workaround: --no-download works
(which you can follow with a ve/bin/python -m pip install -U pip setuptools)

# virtualenv -p python3 testve
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /root/testve/bin/python3
Also creating executable in /root/testve/bin/python
Installing setuptools, pkg_resources, pip, wheel...
  Complete output from command /root/testve/bin/python3 - setuptools 
pkg_resources pip wheel:
  Looking in links: /usr/lib/python3/dist-packages, /usr/share/python-wheels/
Collecting setuptools
  Downloading 
https://files.pythonhosted.org/packages/4e/2e/f8e006dbaaa46ed1e762c287585b92476deb8d3ccb79b720ed3b86bc6113/setuptools-58.1.0-py3-none-any.whl
 (816kB)
Collecting pkg_resources
Could not install packages due to an EnvironmentError: 404 Client Error: Not 
Found for url: https://pypi.org/simple/pkg-resources/

----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/bin/virtualenv", line 11, in <module>
    load_entry_point('virtualenv==15.1.0', 'console_scripts', 'virtualenv')()
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 724, in main
    symlink=options.symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 996, in 
create_environment
    download=download,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 926, in 
install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 817, in 
call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /root/testve/bin/python3 - setuptools pkg_resources pip wheel 
failed with error code 1

-- System Information:
Debian Release: 10.10
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/16 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-virtualenv depends on:
ii  python-pip-whl         18.1-5
ii  python3                3.7.3-1
ii  python3-distutils      3.7.3-1
ii  python3-pkg-resources  40.8.0-1

python3-virtualenv recommends no packages.

python3-virtualenv suggests no packages.

-- no debconf information

Reply via email to