Closed impredicative closed 1 month ago
I think this is fixed in latest uv.
@charliermarsh Great. How do I get it to work in rye
?
❯ echo "hext" | cargo run pip compile --universal --python 3.12.4 -
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
Running `target/debug/uv pip compile --universal --python 3.12.4 -`
Resolved 1 package in 1.14s
# This file was autogenerated by uv via the following command:
# uv pip compile --universal --python 3.12.4 -
hext==1.0.9
You have to wait for the next release unfortunately.
Although I think requires-python: ">=3.12.0"
should work?
@charliermarsh I will wait. Btw, it might help for rye --version
to also print the uv
version in-line due to the tight integration iff uv
is enabled. For example, as: uv enabled: true (0.2.27)
.
Unfortunately, requires-python: ">=3.12.0"
is not fixing it for me.
Steps to Reproduce
I am using rye 1.0. I have no issues if I don't specify
universal=true
under[tool.rye]
.With
universal=true
however, a packagehext
fails to install when runningrye sync --update-all
.Under
[project]
, note that it makes no difference whetherrequires-python
is set to ">= 3.8" or to ">= 3.12.4"I understand that there may exist similar issues, e.g. #1259, #1261, etc., but I still want this issue to be on record.
Expected Result
The package
hext
should install irrespective ofuniversal=true
.Actual Result
Version Info
Stacktrace
No response