diff --git a/.github/workflows/build-neo4j-rust-ext.yml b/.github/workflows/build-neo4j-rust-ext.yml index abf78c05abeb..d0ff4c413f1f 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 @@ -91,10 +95,12 @@ 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 + 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 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