You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stabilise the venv no-distutils-patch preview feature #20791
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 :-)
changed the title [-]Stabilise the venv `no-distutils-patch` prevew feature[/-][+]Stabilise the venv `no-distutils-patch` preview feature[/+]on Jul 29, 2026
If we can make a case that this patch is some sort of problem, we can stabilize outside of a breaking release, virtualenv also already shipped this successfully.
Activity
[-]Stabilise the venv `no-distutils-patch` prevew feature[/-][+]Stabilise the venv `no-distutils-patch` preview feature[/+]zanieb commentedon Jul 29, 2026
Yeah I prefer changes go through a longer stabilization period. We can do this in the next breaking release though.
edmorley commentedon Jul 29, 2026
Yeah makes sense! 0.13 sounds great, thank you 💜
konstin commentedon Aug 6, 2026
If we can make a case that this patch is some sort of problem, we can stabilize outside of a breaking release, virtualenv also already shipped this successfully.
Stabilize `no-distutils-patch` (#22096)
Stabilize `no-distutils-patch` (#22096)
Stabilize `no-distutils-patch` (#22096)
Stabilize `no-distutils-patch` (astral-sh#22096)
Stabilize `no-distutils-patch` (astral-sh#22096)