Breaking change: virtualenv: error: unrecognized arguments: --wheel=bundle
on >=20.31.0
#2885
Labels
virtualenv: error: unrecognized arguments: --wheel=bundle
on >=20.31.0
#2885
Issue
My CI/CD pipelines broke on release of 20.31.0 due to the removal of an embedded wheel.
When using poetry to manage dependencies, certain old dependencies cause my build process to crash due to removal of an embedded seeder wheel in virtualenv. This seems to occur with a dependency of
python-json-logger<0.2
(which is, admittedly, six years old)Workaround
There are two workaround options
<20.31.0
when installing poetry, or whichever build tool you are using.The first workaround is the more recommended option. I went with a combination of both approaches, being a halfways lazy cretin.
Last comment about the issue: If you want to close this as won't fix, go ahead, I just want to hopefully save some other developer the headache of tracking down why their ancient CI/CD pipeline suddenly broke on May 5, 2025.
Environment
I used the docker image
python:3.11-alpine
to replicate this issue.Output of the virtual environment creation
The text was updated successfully, but these errors were encountered: