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
Hi,
I think that pyproject.toml could benefit from the addition of a hatch matrix definition, such as:
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.10", "3.11", "3.12"]
features = ["test"]
At least for me, running tests locally with hatch test fails without this addition, because hatch considers my active Python version to be compatible and doesn't launch into a testing environment but just uses my local environment. In fact, I am not sure these two lines have any effect while testing. In the docs they use the matrix definition, although for granular dependency management they do seem to use tool.hatch.envs.hatch-test (i.e. not matrix) (see here).
The text was updated successfully, but these errors were encountered:
Hi,
I think that
pyproject.toml
could benefit from the addition of a hatch matrix definition, such as:At least for me, running tests locally with
hatch test
fails without this addition, because hatch considers my active Python version to be compatible and doesn't launch into a testing environment but just uses my local environment. In fact, I am not sure these two lines have any effect while testing. In the docs they use the matrix definition, although for granular dependency management they do seem to usetool.hatch.envs.hatch-test
(i.e. not matrix) (see here).The text was updated successfully, but these errors were encountered: