Skip to content

build(python)!: migrate to uv#71

Merged
2bndy5 merged 7 commits intomainfrom
switch-to-uv
Aug 1, 2025
Merged

build(python)!: migrate to uv#71
2bndy5 merged 7 commits intomainfrom
switch-to-uv

Conversation

@2bndy5
Copy link
Member

@2bndy5 2bndy5 commented Jul 31, 2025

  • Uses uv to manage python dependencies and tools.
  • Added mypy to pre-commit hooks (and updated/ran them).
  • Created CONTRIBUTING.md doc.
  • Revised nurfile.
  • Updated RTD and dependabot configs.

- Uses [uv] to manage python dependencies and tools.
- Added mypy to pre-commit hooks (and updated/ran them)
- Created CONTRIBUTING.md doc
- Reviewed nurfile

[uv]: https://docs.astral.sh/uv/
@2bndy5 2bndy5 added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 31, 2025
@2bndy5 2bndy5 force-pushed the switch-to-uv branch 4 times, most recently from a8071ca to 1129bbe Compare July 31, 2025 22:09
@codecov
Copy link

codecov bot commented Jul 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.63%. Comparing base (0ff3ffa) to head (7a8769b).
⚠️ Report is 36 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #71   +/-   ##
=======================================
  Coverage   99.63%   99.63%           
=======================================
  Files          22       22           
  Lines        2734     2734           
=======================================
  Hits         2724     2724           
  Misses         10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@2bndy5 2bndy5 force-pushed the switch-to-uv branch 2 times, most recently from ce1d415 to b544faf Compare July 31, 2025 22:43
name = "rf24-py"
description = "A python package binding the nRF24/rf24-rs rust project."
requires-python = ">=3.8"
requires-python = ">=3.9"
Copy link
Member Author

@2bndy5 2bndy5 Jul 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to bump the minimum required python version because uv found a docs dependency that cannot support python v3.8.

Subsequently, I also updated the license metadata to adopt PEP639 which satisfies install-time warnings (see nRF24/pyRF24#105 for similar detail).

@2bndy5 2bndy5 changed the title build(dev): migrate to uv build(python)!: migrate to uv Aug 1, 2025
2bndy5 added 5 commits July 31, 2025 20:52
use `uvx pre-commit` without `uv sync`
in favor of inline `--with` arg
replaces some incoherent bash script
and uses nurfile exports where applicable
@2bndy5 2bndy5 merged commit 37a601e into main Aug 1, 2025
27 checks passed
@2bndy5 2bndy5 deleted the switch-to-uv branch August 1, 2025 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant