Skip to content

Commit 4fcb24d

Browse files
cocotb: Add version 2.1.0 (#2228)
* cocotb: Add version 2.1.0 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> * 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. --------- Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> Co-authored-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> Co-authored-by: Ludovic Henry <git@ludovic.dev>
1 parent 61308a8 commit 4fcb24d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/build-cocotb.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ jobs:
8080
# Run the same simulator-agnostic subset upstream's own release process
8181
# runs before publishing (noxfile.py release_test_nosim): stage the
8282
# pytest suite (gotcha 25/36) and deselect every simulator_required test.
83-
CIBW_TEST_REQUIRES: pytest>=6
83+
# 2.1.0's test_ipython_support.py imports pexpect at collection time even
84+
# though it's simulator_required and gets deselected below.
85+
CIBW_TEST_REQUIRES: pytest>=6 pexpect
8486
CIBW_TEST_SOURCES: tests/pytest pyproject.toml
8587
CIBW_TEST_COMMAND: python -m pytest -v -k "not simulator_required" tests/pytest
8688

‎docs/packages/cocotb.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ versions:
1111
- filename: cocotb-2.0.1-cp313-cp313-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl
1212
sha256: 3e6488ecbee278619d798a80c7c1f1abe3349a36816b2797f6298afcf2ab33dd
1313
requires-python: '>=3.6.2'
14+
- version: 2.1.0

0 commit comments

Comments
 (0)