Your message dated Tue, 26 May 2020 16:54:51 -0400
with message-id <8034469.FuaLs8mdu4@sk-desktop>
and subject line Re: [Python-modules-team] Bug#961629: python3-virtualenv:
Fails to create a Python 3.7 environment
has caused the Debian Bug report #961629,
regarding python3-virtualenv: Fails to create a Python 3.7 environment
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
961629: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961629
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-virtualenv
Version: 20.0.21+ds-1
Severity: important
Dear Maintainer,
trying to create a Python 3.7 virtualenv fails, while Python 3.8 works,
as follows:
$ python3 -m virtualenv --no-download --python /usr/bin/python3.8 bleh
created virtual environment CPython3.8.3.final.0-64 in 231ms
creator CPython3Posix(dest=/home/alex/bleh, clear=False, global=False)
seeder FromAppData(download=False, pip=latest, setuptools=latest,
wheel=latest, pkg_resources=latest, via=copy,
app_data_dir=/home/alex/.local/share/virtualenv/seed-app-data/v1.0.1.debian)
activators
BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
$ python3 -m virtualenv --no-download --python /usr/bin/python3.7 bleh
RuntimeError: failed to query /usr/bin/python3.7 with code 1 err: 'Traceback
(most recent call last):\n File
"/usr/lib/python3/dist-packages/virtualenv/discovery/py_info.py", line 16, in
<module>\n from distutils import dist\nImportError: cannot import name
\'dist\' from \'distutils\' (/usr/lib/python3.7/distutils/__init__.py)\n'
$ python3 --version
Python 3.8.3
This also breaks, for example, tox.
Thanks,
Alexander
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.6.0-1-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-virtualenv depends on:
ii python-pip-whl 20.1.1-1
ii python3 3.8.2-3
ii python3-appdirs 1.4.4-1
ii python3-distlib 0.3.0-1
ii python3-distutils 3.8.3-2
ii python3-filelock 3.0.12-2
ii python3-importlib-metadata 1.6.0-1
ii python3-pip 20.1.1-1
ii python3-pkg-resources 46.1.3-1
ii python3-six 1.15.0-1
python3-virtualenv recommends no packages.
python3-virtualenv suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Tuesday, May 26, 2020 3:18:30 PM EDT Alexander Clausen wrote:
> Package: python3-virtualenv
> Version: 20.0.21+ds-1
> Severity: important
>
> Dear Maintainer,
>
> trying to create a Python 3.7 virtualenv fails, while Python 3.8 works,
> as follows:
>
> $ python3 -m virtualenv --no-download --python /usr/bin/python3.8 bleh
> created virtual environment CPython3.8.3.final.0-64 in 231ms
> creator CPython3Posix(dest=/home/alex/bleh, clear=False, global=False)
> seeder FromAppData(download=False, pip=latest, setuptools=latest,
> wheel=latest, pkg_resources=latest, via=copy,
> app_data_dir=/home/alex/.local/share/virtualenv/seed-app-data/v1.0.1.debian
> ) activators
> BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActiv
> ator,XonshActivator $ python3 -m virtualenv --no-download --python
> /usr/bin/python3.7 bleh RuntimeError: failed to query /usr/bin/python3.7
> with code 1 err: 'Traceback (most recent call last):\n File
> "/usr/lib/python3/dist-packages/virtualenv/discovery/py_info.py", line 16,
> in <module>\n from distutils import dist\nImportError: cannot import
> name \'dist\' from \'distutils\'
> (/usr/lib/python3.7/distutils/__init__.py)\n' $ python3 --version
> Python 3.8.3
This isn't a virtualenv bug. This is a result of python3.7 being not yet
completely removed from the archive for Testing/Unstable. Virtualenv would
work fine if there was a python3.7 version of distutils available, but there
isn't.
Currently python3.8 is the only supported python3 version in Unstable and
Testing.
$ py3versions -s
python3.8
Scott K
signature.asc
Description: This is a digitally signed message part.
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team