mirror of https://github.com/astral-sh/uv
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
|
|
@ -1341,6 +1341,11 @@ jobs:
|
|||
run: |
|
||||
./uv pip install anyio
|
||||
|
||||
- name: "Check a GraalPy dev version (different version parsing)"
|
||||
run: |
|
||||
curl -sLf https://github.com/graalvm/graal-languages-ea-builds/releases/download/graalpy-25.0.0-ea.31/graalpy-25.0.0-ea.31-linux-amd64.tar.gz | tar xz
|
||||
./uv run -p ./graalpy-25.0.0-dev-linux-amd64/bin/python python --version
|
||||
|
||||
integration-test-graalpy-windows-x86_64:
|
||||
timeout-minutes: 10
|
||||
needs: build-binary-windows-x86_64
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue