Skip to content

Migrate to uv deps - #56

Merged
WojciechKozak98 merged 2 commits into
mainfrom
migrate-to-uv-deps
Nov 9, 2026
Merged

WojciechKozak98 merged 2 commits into
mainfrom
migrate-to-uv-deps

Conversation

@WojciechKozak98

Copy link
Copy Markdown
Contributor

Have you read the Contributing Guidelines?

Issue #

Description

Swaps old, manually-maintained requirements.txt for uv. pyproject.toml now just lists what this project actually needs directly (ansible, molecule, molecule-plugins[docker]) - everything else gets resolved and pinned automatically into uv.lock, which uv generates and maintains itself (like package-lock.json or poetry.lock - not something meant to be hand-edited or read line by line). ci.yml installs via uv sync and runs tests with uv run --no-sync molecule test ....

While testing this with the latest ansible, ubuntu2004 and rockylinux8 broke - same issue we already hit in ansible-rstudio-connect: their system Python is too old for newest ansible-core. Tested all 6 matrix combinations locally to confirm, then pinned ansible-core<2.14 just for those two distros in CI. Needed --no-sync too, otherwise uv run quietly resyncs back to the latest version and undoes pin - took a while to figure that one out. Maybe we should just drop ubuntu2004/rockylinux8 from test matrix at some point, same question as in the other repo.

Definition of Done

  • The change is thoroughly documented.
  • The CI passes (R CMD check, linter, unit tests, spelling).
  • Any generated files have been updated (e.g. .Rd files with roxygen2::roxygenise())

@WojciechKozak98
WojciechKozak98 merged commit d650fd2 into main Nov 9, 2026
7 checks passed
@WojciechKozak98
WojciechKozak98 deleted the migrate-to-uv-deps branch November 9, 2026 06:37
@WojciechKozak98
WojciechKozak98 restored the migrate-to-uv-deps branch November 16, 2026 15:53
@WojciechKozak98
WojciechKozak98 deleted the migrate-to-uv-deps branch November 16, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants