You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the rev is below 0.5, the uv-lock hook passes within a branch.
After pre-commit autoupdate to uv==0.5.1, the uv-lock hook fails within a branch on a commit-by-commit basis:
[[package]]
name = "foo"
-version = "0.14.3.dev3+ge144e1b"
+version = "0.14.3.dev5+g1ca1866"
If you enforce pre-commit passing in CI, you seemingly can't win because every commit changes the uv.lock file, which leads to failing CI.
The text was updated successfully, but these errors were encountered:
jamesbraza
changed the title
uv==0.5 seems to mess with uv-lockpre-commit hooksetuptools-scm with uv-lockpre-commit hook workflow broken by uv==0.5Nov 13, 2024
I have this in my
pre-commit-config.yaml
:Notably, I also use
setuptools-scm
for SCM versioning of my package:When the
rev
is below0.5
, theuv-lock
hook passes within a branch.After
pre-commit autoupdate
touv==0.5.1
, theuv-lock
hook fails within a branch on a commit-by-commit basis:If you enforce
pre-commit
passing in CI, you seemingly can't win because every commit changes theuv.lock
file, which leads to failing CI.The text was updated successfully, but these errors were encountered: