Repository navigation
build(dev): switch to uv - #75
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #75 +/- ##
=======================================
Coverage 86.26% 86.26%
=======================================
Files 16 16
Lines 2512 2512
=======================================
Hits 2167 2167
Misses 345 345 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This basically removes all requirements.txt files since `uv` does not use them. Instead, `uv` keeps a lock file based on dependencies described in the pyproject.toml manifest. Also adds some unpinned dev dependencies (ruff, mypy, pre-commit) to the automatically sync'd `dev` group. Just use `uv sync` for basic dev env setup; add `--group docs` and/or `--group tests` to install deps for the respective groups. Of course, this adjusts the CI (& RTD config) for use of `uv`. And, I enabled dependabot for auto-updating the uv.lock file. Fixed conditional logic in release CI (about deploying to PyPI)
adafruit-adabot
pushed a commit
to adafruit/CircuitPython_Community_Bundle
that referenced
this pull request
Nov 25, 2025
Updating https://github.com/2bndy5/CircuitPython_nRF24L01 to v2.2.0 from v2.1.6: > bump version to v2.2.0 > chore(dev): fix deployments to PyPI > build(dev): switch to `uv` (nRF24/CircuitPython_nRF24L01#75) > Bump actions/download-artifact from 5 to 6 in the actions group (nRF24/CircuitPython_nRF24L01#76) > chore(dev): revise CI (again) (nRF24/CircuitPython_nRF24L01#73) > build: drop support for Python v3.7 and v3.8 (nRF24/CircuitPython_nRF24L01#74) > chore(dev): upgrade pre-commit hooks (nRF24/CircuitPython_nRF24L01#72) > Bump actions/checkout from 5 to 6 in the actions group (nRF24/CircuitPython_nRF24L01#71) > Bump actions/upload-artifact from 4 to 5 in the actions group (nRF24/CircuitPython_nRF24L01#70) > chore: group dependabot updates into 1 PR > Bump actions/checkout from 4 to 5 (nRF24/CircuitPython_nRF24L01#67) > Bump actions/setup-python from 5 to 6 (nRF24/CircuitPython_nRF24L01#69) > Bump pypa/gh-action-pypi-publish in /.github/workflows (nRF24/CircuitPython_nRF24L01#68)
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.
This basically removes all requirements.txt files since
uvdoes not use them. Instead,uvkeeps a lock file based on dependencies described in the pyproject.toml manifest. Also adds some unpinned dev dependencies (ruff, mypy, pre-commit) to the automatically sync'ddevgroup.Just use
uv syncfor basic dev env setup; add--group docsand/or--group teststo install deps for the respective groups.Of course, this adjusts the CI for use of
uv. And, I enabled dependabot for auto-updating the uv.lock file.