-
Notifications
You must be signed in to change notification settings - Fork 571
Release 3.30.0: changelog and documentation #1282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,7 +3,7 @@ Installation | |||||
|
|
||||||
| Supported Platforms | ||||||
| ------------------- | ||||||
| Python 3.9 through 3.13 are supported. Both CPython (the standard Python | ||||||
| Python 3.10 through 3.14 are supported. Both CPython (the standard Python | ||||||
| implementation) and `PyPy <http://pypy.org>`_ are supported and tested. | ||||||
|
|
||||||
| Linux, OSX, and Windows are supported. | ||||||
|
|
@@ -24,9 +24,9 @@ Verifying your Installation | |||||
| --------------------------- | ||||||
| To check if the installation was successful, you can run:: | ||||||
|
|
||||||
| python -c 'import cassandra; print(cassandra.__version__)' | ||||||
| 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)". | ||||||
|
|
||||||
| .. _installation-datastax-graph: | ||||||
|
|
||||||
|
|
@@ -99,15 +99,9 @@ process can take a long time -- as long as 10 minutes in some environments. | |||||
|
|
||||||
| In environments where performance is less important, it may be worth it to | ||||||
| :ref:`disable Cython as documented below <cython-extensions>`. | ||||||
| You can also use ``CASS_DRIVER_BUILD_CONCURRENCY`` to increase the number of | ||||||
| threads used to build the driver and any C extensions: | ||||||
| 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. | ||||||
|
Comment on lines
+102
to
+103
|
||||||
|
|
||||||
| .. code-block:: bash | ||||||
|
|
||||||
| $ # installing from source | ||||||
| $ CASS_DRIVER_BUILD_CONCURRENCY=8 python setup.py install | ||||||
| $ # installing from pip | ||||||
| $ CASS_DRIVER_BUILD_CONCURRENCY=8 pip install cassandra-driver | ||||||
|
|
||||||
| OSX Installation Error | ||||||
| ^^^^^^^^^^^^^^^^^^^^^^ | ||||||
|
|
@@ -161,9 +155,10 @@ for token-aware routing with the ``Murmur3Partitioner``, | |||||
| `libev <http://software.schmorp.de/pkg/libev.html>`_ event loop integration, | ||||||
| and Cython optimized extensions. | ||||||
|
|
||||||
| When installing manually through setup.py, you can disable both with | ||||||
| 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 | ||||||
|
||||||
| 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
AI
Mar 20, 2026
There was a problem hiding this comment.
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.
| 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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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. Sincecassandra.__version__still exists (it’s set fromimportlib.metadataincassandra/__init__.py), consider keeping the originalprint(cassandra.__version__)(or documentingimportlib.metadata.version('cassandra-driver')) so users can confirm the installed package version.