Control: reassign -1 setuptools Control: found -1 setuptools/51.3.3-1 Control: affects -1 virtualenv Control: tag -1 + patch
Hi Michael (2023.07.14_19:18:51_+0000) This is a subtle bug. I can reproduce it from upstream sources, from https://github.com/pypa/virtualenv/commit/b4564569171628ee839e14853a00f296686cae6a to https://github.com/pypa/virtualenv/commit/94f3cf581bc00eae81eca8bfd545fc3bec6d4bb6 The issue is with re-installing setuptools. It seems that: setuptools-*.dist-info/top_level.txt contains "debian". That started to happen around setuptools 51.3.0, with this commit: https://github.com/pypa/setuptools/commit/0df40810ec54590c888ae0e4073d73f731c91f4a And the solution is to exclude "debian*" from options.packages.find Trivial workaround: build the virtualenv with --no-setuptools. That's the future, anyway. Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
Exclude "debian" from top_level.txt. It gets discovered because it's a top-level directory in the source tree, but it isn't a module we install. Author: Stefano Rivera <stefa...@debian.org> Bug-Debian: https://bugs.debian.org/1041091 Forwarded: not-needed --- a/setup.cfg +++ b/setup.cfg @@ -35,6 +35,7 @@ *.tests *.tests.* tools* + debian* [options.extras_require] testing =