Skip to content

ci: harden uv sync in test-suite workflow - #196

Merged
TeaDrinkingProgrammer merged 3 commits into
mainfrom
feat/misc-uv-improvements
Aug 27, 2026
Merged

ci: harden uv sync in test-suite workflow#196
TeaDrinkingProgrammer merged 3 commits into
mainfrom
feat/misc-uv-improvements

Conversation

@TeaDrinkingProgrammer

@TeaDrinkingProgrammer TeaDrinkingProgrammer commented Aug 25, 2026

Copy link
Copy Markdown
Contributor
  • add --locked to uv sync so lockfile drift fails CI
  • add .python-version
  • drop redundant uv venv step
  • enable astral-sh/setup-uv cache for faster runs
  • update documentation

This change changes one of the issues that caused the lockfile drift (not using --locked). I also took the opportunity to borrow some best practices from our Python project https://github.com/ElaadNL/openadr3-client/

This was referenced Aug 25, 2026
@TeaDrinkingProgrammer TeaDrinkingProgrammer linked an issue Aug 25, 2026 that may be closed by this pull request

@Binbasri-in Binbasri-in left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for cleaning up the code. Also Choosing Hatchling over Setuptools, that is a new thing for me, good to know, thanks.

@TeaDrinkingProgrammer

Copy link
Copy Markdown
Contributor Author

Thanks for cleaning up the code. Also Choosing Hatchling over Setuptools, that is a new thing for me, good to know, thanks.

Ah, good to hear. Setuptools was the standard for a long time, but most UV flows are now done using Hatchling. It integrates a lot better with the UV/Pyproject.toml way of working.

Base automatically changed from fix/fix-uv-lockfile to main August 27, 2026 12:13
Signed-off-by: Stijn van Houwelingen <teadrinkingprogrammer@proton.me>
- add --locked to uv sync so lockfile drift fails CI
- add .python-version
- drop redundant `uv venv` step
- enable astral-sh/setup-uv cache for faster runs
- update documentation

Signed-off-by: Stijn van Houwelingen <teadrinkingprogrammer@proton.me>
Signed-off-by: Stijn van Houwelingen <teadrinkingprogrammer@proton.me>
@TeaDrinkingProgrammer

Copy link
Copy Markdown
Contributor Author

Force push is for signing commits, merging

@TeaDrinkingProgrammer
TeaDrinkingProgrammer merged commit e269528 into main Aug 27, 2026
14 checks passed
@TeaDrinkingProgrammer
TeaDrinkingProgrammer deleted the feat/misc-uv-improvements branch August 27, 2026 12:16
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.

Lockfile out of sync

2 participants