Repository navigation
ci: switch to uv and add monthly latest-deps check - #39
Merged
Merged
Conversation
Replace pip with astral-sh/setup-uv. uv sync --locked installs the exact versions in uv.lock, so CI tests the same environment as local runs, and fails if uv.lock is out of date with pyproject.toml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CI installs from uv.lock, so it no longer sees new upstream releases. This workflow runs on the 1st of each month (and on demand), resolves the newest versions pyproject.toml allows, and runs the tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switches CI from pip to uv, and adds a monthly test against the newest dependency releases.
CI (
ci.yaml)astral-sh/setup-uv@v6replacesactions/setup-python. It installs uv and Python 3.12, and caches packages between runs.uv sync --locked --extra testreplacespip install .[test]. CI now installs the exact versions inuv.lock, so it tests the same environment as local runs.--lockedfails ifuv.lockis out of date withpyproject.toml. This check would have found the missingome-zarr-modelsentry that chore: sync uv.lock and pixi.lock #38 fixed.Monthly check (
latest-deps.yaml)uv sync --upgraderesolves the newest versions thatpyproject.tomlallows, which is what a newpip install zarrifygets. The lock change stays in that run only.Tests (local, same commands as CI)
uv sync --locked --extra test+uv run pytest: 45 passed.uv sync --upgrade --extra test+uv run pytest: 45 passed.