mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-25 21:14:15 +00:00
Ignore GraalPy devtag (#15013)
Allows [development builds of GraalPy](https://github.com/graalvm/graal-languages-ea-builds) to work with uv. CC @timfel
This commit is contained in:
parent
d73edb019d
commit
e5eec05783
2 changed files with 8 additions and 1 deletions
|
@ -41,7 +41,9 @@ if hasattr(sys, "implementation"):
|
|||
import re
|
||||
|
||||
implementation_version = re.sub(
|
||||
r"graalpy(\d)(\d+)-\d+", r"\1.\2", sys.implementation.cache_tag
|
||||
r"graalpy(\d)(\d+)(?:dev[\da-f]+)?-\d+",
|
||||
r"\1.\2",
|
||||
sys.implementation.cache_tag,
|
||||
)
|
||||
else:
|
||||
implementation_version = format_full_version(sys.implementation.version)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue