In #20222 the venv distutils monkeypatch (_virtualenv.pth) is now skipped if on Python 3.10+, but only when the preview feature no-distutils-patch is enabled.
This preview feature was first released in 0.11.29, though missed being stabilised in 0.12 presumably because it landed 2 days after the provisional stabilisation list was drafted in #20185.
Filing this to track its stabilisation in a future major release :-)
In #20222 the venv distutils monkeypatch (
_virtualenv.pth) is now skipped if on Python 3.10+, but only when the preview featureno-distutils-patchis enabled.This preview feature was first released in 0.11.29, though missed being stabilised in 0.12 presumably because it landed 2 days after the provisional stabilisation list was drafted in #20185.
Filing this to track its stabilisation in a future major release :-)