Skip to content

cassandra-driver: Add version 3.30.1 - #2116

Merged
luhenry merged 1 commit into
mainfrom
port/cassandra-driver
Sep 19, 2026
Merged

luhenry merged 1 commit into
mainfrom
port/cassandra-driver

Conversation

@luhenry

@luhenry luhenry commented Sep 19, 2026

Copy link
Copy Markdown
Member

Compiles the murmur3 and libev C extensions plus eighteen Cython-generated protocol, parser and metadata modules. Upstream publishes no riscv64 wheel.

Mirrors upstream's build_wheels_linux.yml, the workflow that produces the PyPI wheels from the driver as a submodule.

Differs from upstream

  • Runs a real test suite - upstream's wheel job tests nothing but echo "wheel is installed".
  • Asserts the twenty extensions import - setup.py swallows every Cython failure.

Testing

  • Upstream's tox.ini [testenv] command and deps, minus kerberos - it needs krb5 headers and only gates integration tests.
  • gevent dropped on cp314t only - it ships no free-threaded build; its reactor tests skip themselves.
  • setuptools added - pyximport needs a distutils to build the Cython test helpers on 3.12+.
  • VERIFY_CYTHON=True, as the Jenkinsfile sets on its Cython legs, so the Cython and numpy tests fail instead of skipping.
  • test_cloud.py::CloudTests::test_use_default_tempdir deselected - it asserts a PermissionError from a mode-0544 directory, which root in the build container never gets. Fails the same way on x86_64.

License: Wheel bundles the image's libev (BSD-2-Clause OR GPL-2.0-or-later) and upstream ships no notice for it, so the build adds one.

Patches

  • 0001-Ship-the-licence-of-the-bundled-libev-in-the-wheel.patch - Upstream-Status: To upstream. Without it the wheel redistributes libev with no copyright notice. Reproduces on every architecture.

Built on cp312; 619 passed, 24 skipped.

Build-from-checkout cibuildwheel workflow mirroring
datastax/python-driver-wheels' build_wheels_linux.yml, narrowed to
manylinux_riscv64: the murmur3 and libev C extensions plus the eighteen
Cython-generated protocol, parser and metadata modules. Upstream publishes no
riscv64 wheel.

libev comes from the image (libev is in Rocky 10's baseos and libev-devel in
crb, so upstream's own `yum install` line works unchanged) and auditwheel
bundles it into the wheel, so one patch adds its notice to the PEP 639
license-files list.

Tests run upstream's tox [testenv] command against the installed wheel, with
VERIFY_CYTHON=True so the Cython and numpy paths fail rather than skip, and
the extension verification from the wheels repo's config.sh, since setup.py
swallows every Cython failure.
@github-actions

github-actions Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-19 17:41 UTC

@luhenry
luhenry merged commit c619178 into main Sep 19, 2026
12 checks passed
@luhenry
luhenry deleted the port/cassandra-driver branch September 19, 2026 17:13
luhenry added a commit that referenced this pull request Sep 19, 2026
Also caught: the merged PR's body still carried a leftover AI-attribution
footer from an earlier turn - stripped it via the GitHub API.
luhenry added a commit that referenced this pull request Sep 19, 2026
… from PR #2110

json-tools-rs (#2107), fastecdsa (#2109), cvxopt (#2110), opencv-contrib-python-headless
(#2111), nvtx (#2113) and bitsandbytes (#2094) were all merged by the maintainer while
in-flight; .queue.yml still read in-review. Also found and stripped a leftover
'Generated by Claude Code' footer from #2110's description via the GitHub API -
same issue already fixed on #2094/#2104/#2116.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant