From 60b01bf4f0b8f972c026a798abf6ff937aa9ef43 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 08:17:11 +0000 Subject: [PATCH 1/3] neo4j-rust-ext: Add version 6.4.0.0 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/neo4j-rust-ext.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/neo4j-rust-ext.yaml b/docs/packages/neo4j-rust-ext.yaml index 80fcbdce681f..8a2935d8cf67 100644 --- a/docs/packages/neo4j-rust-ext.yaml +++ b/docs/packages/neo4j-rust-ext.yaml @@ -38,3 +38,4 @@ versions: - filename: neo4j_rust_ext-6.3.1.0-cp314-cp314-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl sha256: 3a27d7f1b5b992e71b60146abee74ec7ae3048fea490bb95e89138e9625a51b1 requires-python: '>=3.10' +- version: 6.4.0.0 From 4d8a9dcda6311b5ce63ac418fd408eef43a2df44 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Sat, 10 Oct 2026 20:49:19 +0000 Subject: [PATCH 2/3] neo4j-rust-ext: fetch the driver submodule for 6.4.0.0's benchmark tests Since 6.4.0.0, tests/benchmarks/test_vector_benchmarks.py loads unit.common.vector.test_vector straight out of the `driver` git submodule via tests/_driver.py, instead of the vendored copy under tests/vector/from_driver/ that earlier releases shipped. Our checkout step never fetched that submodule, so collection failed with FileNotFoundError on driver/tests/unit/common/vector/test_vector.py for every interpreter. Check out the submodule and add it to CIBW_TEST_SOURCES alongside tests/ so it lands next to tests/_driver.py in the isolated test dir. --- .github/workflows/build-neo4j-rust-ext.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-neo4j-rust-ext.yml b/.github/workflows/build-neo4j-rust-ext.yml index abf78c05abeb..9917d648d476 100644 --- a/.github/workflows/build-neo4j-rust-ext.yml +++ b/.github/workflows/build-neo4j-rust-ext.yml @@ -66,6 +66,10 @@ jobs: repository: neo4j/neo4j-python-driver-rust-ext ref: ${{ env.NEO4J_RUST_EXT_VERSION }} persist-credentials: false + # Since 6.4.0.0, tests/benchmarks/test_vector_benchmarks.py loads + # driver/tests/unit/common/vector/test_vector.py through the + # `driver` git submodule instead of a vendored copy. + submodules: true # Wheel version is `.`, e.g. 6.2.0.0 -> neo4j==6.2.0. - name: Derive the matching neo4j driver version @@ -94,7 +98,7 @@ jobs: CIBW_TEST_REQUIRES: >- pytest pytest-mock pytest-benchmark numpy pandas pyarrow neo4j==${{ env.NEO4J_VERSION }} - CIBW_TEST_SOURCES: tests + CIBW_TEST_SOURCES: tests driver # CONTRIBUTING.md's documented `pytest tests`, with tox.ini's own # `--benchmark-skip` flag to keep CI fast. The two deselected cases # assert an exact byte-for-byte f32 NaN payload/sign after an From 8817fccc12bf183998abc4cd1cba8b1b59dcc949 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Sat, 10 Oct 2026 22:54:29 +0000 Subject: [PATCH 3/3] neo4j-rust-ext: add the standalone mock package the driver submodule's tests need Collection now gets past the FileNotFoundError from the previous fix, but driver/tests/_optional_deps.py does `import mock` unconditionally (the PyPI backport, not stdlib unittest.mock), which CIBW_TEST_REQUIRES never installed: ModuleNotFoundError: No module named 'mock' --- .github/workflows/build-neo4j-rust-ext.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-neo4j-rust-ext.yml b/.github/workflows/build-neo4j-rust-ext.yml index 9917d648d476..d0ff4c413f1f 100644 --- a/.github/workflows/build-neo4j-rust-ext.yml +++ b/.github/workflows/build-neo4j-rust-ext.yml @@ -95,8 +95,10 @@ jobs: CIBW_TEST_ENVIRONMENT: >- PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/ PIP_ONLY_BINARY=numpy,pandas,pyarrow + # The driver submodule's tests/_optional_deps.py imports the standalone + # `mock` package (not stdlib unittest.mock) unconditionally. CIBW_TEST_REQUIRES: >- - pytest pytest-mock pytest-benchmark numpy pandas pyarrow + pytest pytest-mock pytest-benchmark mock numpy pandas pyarrow neo4j==${{ env.NEO4J_VERSION }} CIBW_TEST_SOURCES: tests driver # CONTRIBUTING.md's documented `pytest tests`, with tox.ini's own