Renovate on python project with uv
pinning pyscss
is adding incorrect transitive dependencies
#32614
Replies: 1 comment 1 reply
-
The lock file isn't updated by renovate directly - only by uv commands. Hence most likely causes are either:
You can see the commands renovate runs in your logs, including python 3.13 being installed. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
A Mend.io-hosted app
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
No response
Please tell us more about your question or problem
Please see example of incorrect transitive dependency locking: https://github.com/samuelhwilliams/test-renovate-uv/pull/1/files
I've just started using Renovate to manage dependencies for some of my projects, and noticed what seems to be a bug in one of the PRs. I am unsure if this is a
uv
bug or arenovate
bug, butuv
does the correct thing for me locally so I am raising here first.On a python 3.11+ project that pulls in
pyscss
, renovate is addingenum34
andpathlib2
as transitive dependencies.pyscss
declares these as dependencies only on versions lower than python 3.4. Pulling these in, specifically enum34, can break the python stdlib in unusual ways (becauseenum34
imports asenum
, which overrides the stdlibenum
, which is used by other stdlibs but has a different interface).If I pull the renovate branch and run
uv remove pyscss
anduv add pyscss==1.4.0
, enum34 and pathlib2 are removed from the lockfile again.Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions