Skip to content

Release 3.30.0: changelog and documentation#1282

Open
absurdfarce wants to merge 3 commits intoapache:trunkfrom
absurdfarce:3300_release_updates
Open

Release 3.30.0: changelog and documentation#1282
absurdfarce wants to merge 3 commits intoapache:trunkfrom
absurdfarce:3300_release_updates

Conversation

@absurdfarce
Copy link
Contributor

Changelog entries plus a few changes related to things from this release. We don't have cassandra.version anymore so I tweaked that to use supported protocol versions instead.

Also yanked all the env var stuff we used to support in setup.py... that's all in pyproject.toml now.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates release-facing documentation and changelog for the 3.30.0 release, including Python version support changes and guidance around the new pyproject.toml-based build configuration.

Changes:

  • Add 3.30.0 changelog entry (features/bug fixes/other notes).
  • Update stated supported Python versions to 3.10–3.14.
  • Update installation docs to reference pyproject.toml build configuration instead of setup.py env vars / flags.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
docs/installation.rst Updates supported Python versions; revises installation verification and build-configuration guidance to reference pyproject.toml.
README.rst Updates supported Python versions statement for the release.
CHANGELOG.rst Adds 3.30.0 release notes at the top of the changelog.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


This process does take some time, however, so if you wish to build without generating these extensions using
Cython you can do so by changing the ``build-cython-extensions`` key in the ``tool.cassandra-driver`` table of pyproject.toml.
By default this key is set to "true"; simply changing it to "false" will disable all Cython functionality.
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same TOML typing issue here: the docs say the build-cython-extensions key is set to "true" and should be changed to "false", but in TOML this should be the boolean literals true/false (without quotes), matching the values in [tool.cassandra-driver] in pyproject.toml.

Suggested change
By default this key is set to "true"; simply changing it to "false" will disable all Cython functionality.
By default this key is set to ``true``; simply changing it to ``false`` will disable all Cython functionality.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on mono-space or italics

Comment on lines +27 to +29
python -c 'import cassandra; print(cassandra.ProtocolVersion.SUPPORTED_VERSIONS)'

It should print something like "3.29.3".
This command should print something like "(66, 65, 6, 5, 4, 3, 2, 1)".
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new verification command prints ProtocolVersion.SUPPORTED_VERSIONS, which doesn’t indicate which driver version was installed and the tuple contents can vary as protocol support changes. Since cassandra.__version__ still exists (it’s set from importlib.metadata in cassandra/__init__.py), consider keeping the original print(cassandra.__version__) (or documenting importlib.metadata.version('cassandra-driver')) so users can confirm the installed package version.

Copilot uses AI. Check for mistakes.
Comment on lines +102 to +103
You can also use ``build-concurrency`` key in the ``tool.cassandra-driver`` table of pyproject.toml to
increase the number of threads used to build the driver and any C extensions.
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 102 has trailing whitespace, and the sentence is missing an article (“use the build-concurrency key…”). Also, build-concurrency is an integer in pyproject.toml (default 0); it would help to note that users should set it to a positive integer to override the default behavior.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe: "Use the build-concurrency setting in pyproject.toml under [tool.cassandra-driver] to enable multi-threaded builds for the driver and C extensions."

the ``--no-extensions`` option, or selectively disable them with
with ``--no-murmur3``, ``--no-libev``, or ``--no-cython``.
When installing manually these options can be disabled by changing the corresponding
key in the ``tool.cassandra-driver`` table of pyproject.toml to "false". Please consult
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pyproject.toml boolean values should be true/false (unquoted). The docs currently say to set these keys to "false", which would be a TOML string and won’t match the actual config types in [tool.cassandra-driver].

Suggested change
key in the ``tool.cassandra-driver`` table of pyproject.toml to "false". Please consult
key in the ``tool.cassandra-driver`` table of pyproject.toml to ``false``. Please consult

Copilot uses AI. Check for mistakes.
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.

3 participants