Closed tyree731 closed 2 months ago
Hi! This is a duplicate of #505 where I note a workaround to use uv's dependency override feature https://github.com/astral-sh/rye/issues/505#issuecomment-2183079323
Closing as duplicate here, and will add my use case into the other issue. Thanks!
When running
rye sync -f -v
on a project I'm converting to userye
, I run into this issue:The issue seems to be with building pyyaml at a version that can reliably be built from source. This is something of a known issue, as rye itself had to work around the very same issue. To attempt the same workaround, I added
pyyaml==6.0.1
to my pyproject.toml underdependencies
, and I can confirm the lock file is seeing that dependency, but regardless the above issue occurs. I believe this is due to some package we use that is, even at the latest version, pulling in this bad version of pyyaml.So this request is asking for some means of overriding the version pulled from a sub-dependency to be one which matches our version specifier, or both.