mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
ci: update to GraalPy 24.2 and mention in README (#5586)
* ci: update to GraalPy 24.2 and mention in README Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * tests: update for GRAALPY 24.2 and better printout Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * tests: use __graalpython__ for version number Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * Update README.rst --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
@@ -13,6 +13,10 @@ WIN = sys.platform.startswith("win32") or sys.platform.startswith("cygwin")
|
||||
CPYTHON = platform.python_implementation() == "CPython"
|
||||
PYPY = platform.python_implementation() == "PyPy"
|
||||
GRAALPY = sys.implementation.name == "graalpy"
|
||||
_graalpy_version = (
|
||||
sys.modules["__graalpython__"].get_graalvm_version() if GRAALPY else "0.0.0"
|
||||
)
|
||||
GRAALPY_VERSION = tuple(int(t) for t in _graalpy_version.split(".")[:3])
|
||||
PY_GIL_DISABLED = bool(sysconfig.get_config_var("Py_GIL_DISABLED"))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user