Skip to content

Commit de04ce0

Browse files
committed
Merge tag '3.29.0' of https://github.com/datastax/python-driver into sync_with_upstream_3.29.1
version 3.29.0 * tag '3.29.0' of https://github.com/datastax/python-driver: Documentation (and other) updates for 3.29.0 (datastax#1194) PYTHON-1331 ssl.match_hostname() is deprecated in 3.7 (datastax#1191) PYTHON-1371 Add explicit exception type for serialization failures (datastax#1193) Remove outdated Python pre-3.7 references (datastax#1186) PYTHON-1368 Avoid installing DSE deps + executing DSE tests for Python 3.12 (datastax#1188) PYTHON-1366 Handle removal of asyncore in Python 3.12 (datastax#1187) Removed backup(.bak) files (datastax#1185) docs: Fix typo in add_callbacks (datastax#1177) Remove some remnants of Python2 (datastax#1172) PYTHON-1313 Fix asyncio removals in Python 3.10 (datastax#1179) PYTHON-1364 Fix ssl.wrap_socket errors (from eventlet) for Python 3.12 (datastax#1181) Add Jenkins support for Python 3.12.0 (datastax#1180) Update redirects in docs.yaml (datastax#1178) Jenkins using new python versions in the matrix (datastax#1174) Update docs.yaml to point to most recent 3.28.0 docs changes CONN-38 Notes for 3.28.0 on PYTHON-1350 (datastax#1167) Include docs for 3.28.0 Fixed non-valid rst in README
2 parents 8953796 + 1a947f8 commit de04ce0

File tree

122 files changed

+824
-2308
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+824
-2308
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,6 @@ tests/unit/cython/bytesio_testhelper.c
4444
#iPython
4545
*.ipynb
4646

47+
venv
48+
docs/venv
49+
.eggs

CHANGELOG.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
3.29.0
2+
======
3+
December 19, 2023
4+
5+
Features
6+
--------
7+
* Add support for Python 3.9 through 3.12, drop support for 3.7 (PYTHON-1283)
8+
* Removal of dependency on six module (PR 1172)
9+
* Raise explicit exception when deserializing a vector with a subtype that isn’t a constant size (PYTHON-1371)
10+
11+
Others
12+
------
13+
* Remove outdated Python pre-3.7 references (PR 1186)
14+
* Remove backup(.bak) files (PR 1185)
15+
* Fix doc typo in add_callbacks (PR 1177)
16+
117
3.28.0
218
======
319
June 5, 2023

CONTRIBUTING.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ To protect the community, all contributors are required to `sign the DataStax Co
2626

2727
Design and Implementation Guidelines
2828
------------------------------------
29-
- We support Python 2.7+, so any changes must work in any of these runtimes (we use ``six``, ``futures``, and some internal backports for compatability)
3029
- We have integrations (notably Cassandra cqlsh) that require pure Python and minimal external dependencies. We try to avoid new external dependencies. Where compiled extensions are concerned, there should always be a pure Python fallback implementation.
3130
- This project follows `semantic versioning <http://semver.org/>`_, so breaking API changes will only be introduced in major versions.
3231
- Legacy ``cqlengine`` has varying degrees of overreaching client-side validation. Going forward, we will avoid client validation where server feedback is adequate and not overly expensive.

Jenkinsfile

Lines changed: 52 additions & 53 deletions
Large diffs are not rendered by default.

Jenkinsfile.bak

Lines changed: 0 additions & 873 deletions
This file was deleted.

README-dev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Use tee to capture logs and see them on your terminal::
114114

115115
Testing Multiple Python Versions
116116
--------------------------------
117-
If you want to test all of python 2.7, 3.5, 3.6, 3.7, and pypy, use tox (this is what
117+
Use tox to test all of Python 3.8 through 3.12 and pypy (this is what
118118
TravisCI runs)::
119119

120120
tox

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Scylla Enterprise (2018.1.x+) using exclusively Cassandra's binary protocol and
1010
.. image:: https://github.com/scylladb/python-driver/workflows/CI%20Docs/badge.svg?tag=*-scylla
1111
:target: https://github.com/scylladb/python-driver/actions?query=workflow%3A%22CI+Docs%22+event%3Apush+branch%3A*-scylla
1212

13-
The driver supports Python versions 3.6-3.12.
13+
The driver supports Python 3.8 through 3.12.
1414

1515
.. **Note:** This driver does not support big-endian systems.
1616
@@ -67,7 +67,7 @@ Contributing
6767
See `CONTRIBUTING <https://github.com/scylladb/python-driver/blob/master/CONTRIBUTING.rst>`_.
6868

6969
Error Handling
70-
------------
70+
--------------
7171
While originally written for the Java driver, users may reference the `Cassandra error handling done right blog <https://www.datastax.com/blog/cassandra-error-handling-done-right>`_ for resolving error handling scenarios with Apache Cassandra.
7272

7373
Reporting Problems

appveyor.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
environment:
22
matrix:
3-
- PYTHON: "C:\\Python27-x64"
4-
cassandra_version: 3.11.2
5-
ci_type: standard
6-
- PYTHON: "C:\\Python35-x64"
3+
- PYTHON: "C:\\Python37-x64"
74
cassandra_version: 3.11.2
85
ci_type: standard
96
os: Visual Studio 2015

benchmarks/callback_full_pipeline.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from threading import Event
1919

2020
from base import benchmark, BenchmarkThread
21-
from six.moves import range
2221

2322
log = logging.getLogger(__name__)
2423

benchmarks/future_batches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import logging
1616
from base import benchmark, BenchmarkThread
17-
from six.moves import queue
17+
import queue
1818

1919
log = logging.getLogger(__name__)
2020

0 commit comments

Comments
 (0)