File tree Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change
1
+ Add "graalpy" prefix as a supported base python
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ implementations of Python and provide default values for ``base_python``:
116
116
- ``cpythonNM ``: configures ``basepython = cpythonN.M ``
117
117
- ``ironpythonNM ``: configures ``basepython = ironpythonN.M ``
118
118
- ``rustpythonNM ``: configures ``basepython = rustpythonN.M ``
119
+ - ``graalpyNM ``: configures ``basepython = graalpyN.M ``
119
120
120
121
You can also specify these factors with a period between the major and minor versions (e.g. ``pyN.M ``), without a minor
121
122
version (e.g. ``pyN ``), or without any version information whatsoever (e.g. ``py ``)
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def version_dot(self) -> str:
51
51
PY_FACTORS_RE = re .compile (
52
52
r"""
53
53
^(?!py$) # don't match 'py' as it doesn't provide any info
54
- (?P<impl>py|pypy|cpython|jython|rustpython|ironpython) # the interpreter; most users will simply use 'py'
54
+ (?P<impl>py|pypy|cpython|jython|graalpy| rustpython|ironpython) # the interpreter; most users will simply use 'py'
55
55
(?P<version>[2-9]\.?[0-9]?[0-9]?)?$ # the version; one of: MAJORMINOR, MAJOR.MINOR
56
56
""" ,
57
57
re .VERBOSE ,
Original file line number Diff line number Diff line change @@ -84,6 +84,8 @@ def test_diff_msg_no_diff() -> None:
84
84
("py3.12" , "py3.12" ),
85
85
("pypy2" , "pypy2" ),
86
86
("rustpython3" , "rustpython3" ),
87
+ ("graalpy" , "graalpy" ),
88
+ ("jython" , "jython" ),
87
89
("cpython3.8" , "cpython3.8" ),
88
90
("ironpython2.7" , "ironpython2.7" ),
89
91
("functional-py310" , "py310" ),
You can’t perform that action at this time.
0 commit comments