From c1126494653767c6e82f0f39e8aeb0f15597d90b Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2026 07:26:41 +0000 Subject: [PATCH 1/2] cocotb: Add version 2.1.0 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/cocotb.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/cocotb.yaml b/docs/packages/cocotb.yaml index 8801da9377b..556fa8b8436 100644 --- a/docs/packages/cocotb.yaml +++ b/docs/packages/cocotb.yaml @@ -11,3 +11,4 @@ versions: - filename: cocotb-2.0.1-cp313-cp313-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl sha256: 3e6488ecbee278619d798a80c7c1f1abe3349a36816b2797f6298afcf2ab33dd requires-python: '>=3.6.2' +- version: 2.1.0 From 3755c2c6d5c70643b739d973679d878ae61943af Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Thu, 24 Sep 2026 07:09:35 +0000 Subject: [PATCH 2/2] cocotb: install pexpect for the 2.1.0 test suite test_ipython_support.py (new in 2.1.0) imports pexpect at module level during pytest collection, even though the test itself is simulator_required and gets deselected by our -k filter. --- .github/workflows/build-cocotb.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-cocotb.yml b/.github/workflows/build-cocotb.yml index 308416a28d9..c195e9937bb 100644 --- a/.github/workflows/build-cocotb.yml +++ b/.github/workflows/build-cocotb.yml @@ -80,7 +80,9 @@ jobs: # Run the same simulator-agnostic subset upstream's own release process # runs before publishing (noxfile.py release_test_nosim): stage the # pytest suite (gotcha 25/36) and deselect every simulator_required test. - CIBW_TEST_REQUIRES: pytest>=6 + # 2.1.0's test_ipython_support.py imports pexpect at collection time even + # though it's simulator_required and gets deselected below. + CIBW_TEST_REQUIRES: pytest>=6 pexpect CIBW_TEST_SOURCES: tests/pytest pyproject.toml CIBW_TEST_COMMAND: python -m pytest -v -k "not simulator_required" tests/pytest