mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-28 17:14:11 +02:00
pyosys: Check for required cxxheaderparser version, fixes #5974
This commit is contained in:
@@ -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
@@ -3,7 +3,7 @@ requires = [
|
||||
"wheel",
|
||||
"packaging",
|
||||
"pybind11>=3,<4",
|
||||
"cxxheaderparser",
|
||||
"cxxheaderparser>=1.4",
|
||||
]
|
||||
backend-path = ["pyosys/build"]
|
||||
build-backend = "local_backend"
|
||||
|
||||
Reference in New Issue
Block a user