Skip to content

fix(ci): pin virtualenv<21 to fix hatch environment creation failure#931

Merged
mergify[bot] merged 1 commit intopython-wheel-build:mainfrom
LalatenduMohanty:fix-ci-pin-virtualenv-below-21
Feb 26, 2026
Merged

fix(ci): pin virtualenv<21 to fix hatch environment creation failure#931
mergify[bot] merged 1 commit intopython-wheel-build:mainfrom
LalatenduMohanty:fix-ci-pin-virtualenv-below-21

Conversation

@LalatenduMohanty
Copy link
Member

@LalatenduMohanty LalatenduMohanty commented Feb 26, 2026

virtualenv 21.0.0 (released 2026-02-25) removed the propose_interpreters attribute from virtualenv.discovery.builtin, which hatch 1.16.4 depends on. This breaks all hatch-managed CI jobs.

Pin virtualenv<21 until hatch releases a compatible version.

Upstream: pypa/hatch#2193
Issue tracking removal of the pin once it is fixed : #932

Closes: #930

virtualenv 21.0.0 (released 2026-02-25) removed the
`propose_interpreters` attribute from `virtualenv.discovery.builtin`,
which hatch 1.16.4 depends on. This breaks all hatch-managed CI jobs.

Pin virtualenv<21 until hatch releases a compatible version.

Upstream: pypa/hatch#2193

Closes: python-wheel-build#930
Co-Authored-By: Claude <claude@anthropic.com>
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
@LalatenduMohanty LalatenduMohanty requested a review from a team as a code owner February 26, 2026 13:09
@mergify mergify bot added the ci label Feb 26, 2026
Copy link
Contributor

@rd4398 rd4398 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! Thank you

@mergify mergify bot merged commit 58830a0 into python-wheel-build:main Feb 26, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove virtualenv<21 pin once hatch supports virtualenv>=21 fix(ci): pin virtualenv<21 to fix hatch environment creation failure

2 participants