Skip to content

Conversation

jo-mueller
Copy link
Contributor

Updated environment names in contribution guide

Hi there, first-timer here :) I went to go through the doc pages for contributing and tried running the test commands outlined there:

...
hatch env run --env test.py3.12-2.1-optional run-coverage
...

which leads to an error (Unknown environment: test.py3.12-2.1-optional) since the test matrix is specified with numpy 2.2:

[[tool.hatch.envs.test.matrix]]
python = ["3.11", "3.12", "3.13"]
numpy = ["1.26", "2.2"]
deps = ["minimal", "optional"]

So I just changed the example commands in the doc pages to work right away with the current pyproject.toml. It's a tiny little change but hopefully makes the entrance for some a little easier if they haven't worked with hatch, etc before.

Thanks for considering!

@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Aug 4, 2025
@d-v-b
Copy link
Contributor

d-v-b commented Aug 4, 2025

thanks for this!

@d-v-b d-v-b merged commit 1858af1 into zarr-developers:main Aug 4, 2025
29 checks passed
@jo-mueller jo-mueller deleted the update-test-case-environments branch August 4, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs release notes Automatically applied to PRs which haven't added release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants