- Notifications
You must be signed in to change notification settings - Fork261
Closed
Description
Feature Request
Description
- The current
uvintegration steps describe a way to sync theuv.lockfile just before the PSR Action runs. - This means that the
uv.lockwill remain out of sync most of the time, just that tiny moment when the build command is executed by the PSR Action, it will be in sync for the project version. - Ref:https://python-semantic-release.readthedocs.io/en/latest/configuration/configuration-guides/uv_integration.html
Use cases
For those usinguv and committing theuv.lock file to source. They would want theuv.lock file to be consistently in sync.
Possible implementation
- Add a option to sync the
uv.lockfile and that should update it right after semantic release and add or amend it to the same commit. - Just like the
build_command, have a post step to run any commands after the semantic release.
Alternative solutions
- Right now my solution for my project is to run a step in the main workflow that executes
uv lock --upgrade-package <my_package_name>and then git add and commits theuv.lockfile.- This steps runs right after the Semantic Version Release step.
- My project links: