Summary
We had to cap virtualenv<21 in pyproject.toml because virtualenv 21.0.0 removed the propose_interpreters attribute from virtualenv.discovery.builtin, which breaks hatch build.
Error:
Environment `hatch-build` is incompatible: module 'virtualenv.discovery.builtin' has no attribute 'propose_interpreters'
Upstream issue
Action needed
Once hatch releases a version that supports virtualenv>=21, remove the <21 cap from the virtualenv dependency in pyproject.toml:
# Change this:
virtualenv = ">=20.36.1,<21"
# To this:
virtualenv = ">=20.36.1"
Summary
We had to cap
virtualenv<21inpyproject.tomlbecausevirtualenv21.0.0 removed thepropose_interpretersattribute fromvirtualenv.discovery.builtin, which breakshatch build.Error:
Upstream issue
Action needed
Once
hatchreleases a version that supportsvirtualenv>=21, remove the<21cap from thevirtualenvdependency inpyproject.toml: