Your message dated Sun, 12 Apr 2020 03:19:04 +0000
with message-id <[email protected]>
and subject line Bug#956144: fixed in python-virtualenv 20.0.16-2
has caused the Debian Bug report #956144,
regarding virtualenv: caching of debian wheels breaks pip-installed virtualenv
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.)
--
956144: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956144
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: virtualenv
Version: 20.0.16-1
Severity: normal
Tags: patch
Reproduction:
```bash
apt update && apt install -y --no-install-recommends virtualenv
virtualenv venv
venv/bin/pip install virtualenv
venv/bin/virtualenv venv2
venv2/bin/pip install astpretty
```
This was originally reported here:
https://github.com/pre-commit/pre-commit/issues/1383
The root cause is virtualenv's appdata cache is poisoned by the debian patched
wheels which results in all invocations by unpatched virtualenv failing by
using debian's cache. My proposal is to separate debian's cache from the
normal name to prevent this collision. Here's a patch to the installed code
which fixes this issue:
```diff
---
/usr/lib/python3/dist-packages/virtualenv/seed/via_app_data/via_app_data.py.old
2020-04-07 19:41:09.613187290 +0000
+++
/usr/lib/python3/dist-packages/virtualenv/seed/via_app_data/via_app_data.py2020-04-07
19:41:17.601187290 +0000
@@ -18,7 +18,7 @@
def __init__(self, options):
super(FromAppData, self).__init__(options)
self.symlinks = options.symlink_app_data
- self.base_cache = self.app_data / "seed-app-data" / "v1.0.1"
+ self.base_cache = self.app_data / "seed-app-data" / "v1.0.1.debian"
@classmethod
def add_parser_arguments(cls, parser, interpreter, app_data):
```
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.15.0-91-generic (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages virtualenv depends on:
ii python3-virtualenv 20.0.16-1
virtualenv recommends no packages.
virtualenv suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python-virtualenv
Source-Version: 20.0.16-2
Done: Scott Kitterman <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Scott Kitterman <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 11 Apr 2020 21:01:48 -0400
Source: python-virtualenv
Architecture: source
Version: 20.0.16-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Scott Kitterman <[email protected]>
Closes: 956144 956148
Changes:
python-virtualenv (20.0.16-2) unstable; urgency=medium
.
* Document steps for running a python2 virtualenv in virtualenv (1)
(Closes: #956148)
* Use Debian specific app data cache so upstream virtualenv installed
via pip doesn't see our cached wheels and flake out (Closes: #956144)
- Thanks to Anthony Sottile for both the report and the suggested fix
Checksums-Sha1:
90ee9e6191efe08c93e650a7758581f14bd65df5 2449 python-virtualenv_20.0.16-2.dsc
a8a8fb7ada1e34b4ab0dc48ff3a3a1e32cd83e08 7991462
python-virtualenv_20.0.16.orig.tar.gz
00c6e74c398be744bdd73f9f514f85fb0fa4480e 44060
python-virtualenv_20.0.16-2.debian.tar.xz
2e4299429b1f71ee04ec66775fea61b7b6fe01b5 6355
python-virtualenv_20.0.16-2_source.buildinfo
Checksums-Sha256:
7ff213c4bad9c90544cf45e4c57a6df656267e4aba36b08ef28b370262bc63cf 2449
python-virtualenv_20.0.16-2.dsc
6ea131d41c477f6c4b7863948a9a54f7fa196854dbef73efbdff32b509f4d8bf 7991462
python-virtualenv_20.0.16.orig.tar.gz
fb833c5a34426ba80ac40bfb535ee9265b67f7e5ff58fa376810d6a9bf0e93b1 44060
python-virtualenv_20.0.16-2.debian.tar.xz
1b6d7cac43449b3411d6534b1bf7ec306ae084ca8a3c99ef372818ea5670b7aa 6355
python-virtualenv_20.0.16-2_source.buildinfo
Files:
5d28cd06dd7474866920abe466ec27f8 2449 python optional
python-virtualenv_20.0.16-2.dsc
85aa37e3790a885a2144275918248e0e 7991462 python optional
python-virtualenv_20.0.16.orig.tar.gz
62b95f1949a2f6ad56dfe98274fa8d86 44060 python optional
python-virtualenv_20.0.16-2.debian.tar.xz
96428f535fd78eec06054c6bbf21ec30 6355 python optional
python-virtualenv_20.0.16-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE53Kb/76FQA/u7iOxeNfe+5rVmvEFAl6SaJIACgkQeNfe+5rV
mvH/tg//Qs5vdIHvSraXiNLbjTbYhFmzDl98BJBnFWJ6I8FkQ47IUjPotzJBaISm
dj2IuVGVkYdOdLgjiu18Gad9csGJ5a48WoAdqXKtCcs1dazolKJSAjDupbnOIDc8
5P5K0Nb0bHiXfbHTbRU8JIAwlpUeqSqAAjKbyoNc3e4oG2JjDX1Xf/oCh282QZ5S
U5QB1oZ6kYBG8l8Z4lVuE3oTaKjYWnxs5q5jFgicjrD/x/f29D2EA5WAqn178RUN
p0deDfb+c2jgEbo2ekRTym6u4+2GVMnYgRMk1dJJfWlctzjmnz7uaQ83IQmXEoNe
Bdz35t7fdbOSzQ+DXOJOfcLzQf0QqDiKPEKKe7pTh5F3T7KBrd3QuoChcqeuOXyM
gvkipVT91LQQKjSLYPG8e0bepnbx0K/8YeFJSARA2yPvm2/1SfBsARCs97PoRDtT
d8odU71oXh+RpDMCJeGd6Wu538lsyGaGTHsH8aekh4dJMDyqGdXXSZEoOkbWZA0r
qiMPFfLLLBDihdZkB2+/mysFcQ9rzEZWwQHhHlVfTnbceux62ElUZ5dZlXX4FeW3
8HE+Vdgw3TZQ39ipKFIlj03AGjUnehAPWY8yioEpqyjK8V1ZUDnArxEXs7HBBPhQ
ai9GxtCODbgFWhnCBIaX/zpefjB5FgZpLcSBlHd/GgjMIjsYa7A=
=4b0k
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team