mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 05:20:09 -05: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user