* Stefano Rivera [Sat Jul 15, 2023 at 10:22:37PM +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.
ACK. I can confirm, that virtualenv's --no-setuptools works around this behavior. Thanks for your fast reply and looking into this, Stefano, appreciated. regards -mika-
signature.asc
Description: PGP signature