Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/build-neo4j-rust-ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<neo4j version>.<release counter>`, e.g. 6.2.0.0 -> neo4j==6.2.0.
- name: Derive the matching neo4j driver version
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions docs/packages/neo4j-rust-ext.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading