I recently changed requires-python to >=3.12 and forgot to change CI.
In CI I then saw
Environment hatch-test.py3.11 is incompatible: cannot locate Python: 3.11
which is misleading: it shouldn’t say it “cannot locate” it when it doesn’t consider it since it’s incompatible.
I think if the specified Python version for an environment isn’t possible, Hatch should say that more clearly.
I recently changed
requires-pythonto>=3.12and forgot to change CI.In CI I then saw
which is misleading: it shouldn’t say it “cannot locate” it when it doesn’t consider it since it’s incompatible.
I think if the specified Python version for an environment isn’t possible, Hatch should say that more clearly.