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
Hatch fails to create environments for Python 3.10 when the requires-python version in pyproject.toml includes a patch number (e.g., >=3.10.16). This issue occurs specifically with Python 3.10 in CI pipelines, even though Hatch successfully installs the Python version.
Description
Hatch fails to create environments for Python 3.10 when the
requires-python
version inpyproject.toml
includes a patch number (e.g.,>=3.10.16
). This issue occurs specifically with Python 3.10 in CI pipelines, even though Hatch successfully installs the Python version.Environment
24.04.2
3.10
3.13
when we have the following in
pyproject.toml
When we have a github action workflow like this:
Behaviour
Hatch successfully installs Python versions:
But environment creation fails with error:
Notes
HATCH_PYTHON_SOURCE_PYPY3_10
environment variable does not resolve the issuerequires-python
(use>=3.10
instead of>=3.10.16
)The text was updated successfully, but these errors were encountered: