pyosys: Check for required cxxheaderparser version, fixes #5974

This commit is contained in:
Miodrag Milanovic
2026-08-25 13:37:56 +02:00
parent dd83bbad28
commit ab2610b816
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ foreach (strategy virtualenv host uv fail)
elseif (strategy STREQUAL "host")
set(PyosysEnv_PYTHON ${Python3_EXECUTABLE})
elseif (strategy STREQUAL "uv")
set(PyosysEnv_PYTHON uv run --no-project --with pybind11>3,<4 --with cxxheaderparser python)
set(PyosysEnv_PYTHON uv run --no-project --with pybind11>3,<4 --with cxxheaderparser>=1.4 python)
else()
set(PyosysEnv_PYTHON)
break()
+1 -1
View File
@@ -3,7 +3,7 @@ requires = [
"wheel",
"packaging",
"pybind11>=3,<4",
"cxxheaderparser",
"cxxheaderparser>=1.4",
]
backend-path = ["pyosys/build"]
build-backend = "local_backend"