Skip to content
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

Sync with upstream up to 3.29.1 #329

Draft
wants to merge 66 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
54ef7d3
Doc changes following on from 3.26.0 release
absurdfarce Mar 28, 2023
17adb81
Fix typo
absurdfarce Apr 8, 2023
32a2613
Add 3.26 for docs (#1147)
jgillenwater Apr 21, 2023
f1e9126
Update driver version supported (#1148)
jgillenwater Apr 21, 2023
9fa742a
Update ref to include latest version supported (#1149)
jgillenwater Apr 21, 2023
058be1e
PYTHON-1341 Impl of client-side column-level encryption/decryption (#…
absurdfarce May 1, 2023
ad40056
Release 3.27: changelog & version
absurdfarce May 1, 2023
5646fb0
Include docs for 3.27.0 (#1153)
absurdfarce May 1, 2023
1767fdb
update RH nav order (#1154)
jgillenwater May 1, 2023
7556a2d
Update docs.yaml to point to latest 3.27.0 docs
absurdfarce May 1, 2023
78b1e2b
remove future plans (#1155)
jgillenwater May 1, 2023
e98c26e
Update docs.yaml to point to latest 3.27.0 docs, take two
absurdfarce May 1, 2023
d911621
Missed dependency on cryptography in setup.py
absurdfarce May 2, 2023
078e2f6
Remove different build matrix selection for develop branches (#1138)
absurdfarce May 9, 2023
9ed9894
DOC-2813 (#1145)
emeliawilkinson24 May 9, 2023
1092fbd
DOC-3278 Update comment for retry policy (#1158)
absurdfarce May 12, 2023
0002e91
Fix for rendering of code blocks in CLE documentation (#1159)
absurdfarce May 19, 2023
7ba8761
Update docs.yaml to include recent fixes to CLE docs
absurdfarce May 18, 2023
6894b02
remove unnecessary import __future__ (#1156)
bschoening May 23, 2023
64aa5ba
docs: convert print statement to function in docs (#1157)
lukaselmer May 23, 2023
f46581e
Revert "remove unnecessary import __future__ (#1156)"
absurdfarce May 24, 2023
d8431d4
Don't fail when inserting UDTs with prepared queries with some missin…
Mokto May 24, 2023
a1e2d3d
PYTHON-1343 Use Cython for smoke builds (#1162)
absurdfarce May 24, 2023
863e690
Jenkinsfile cleanup (#1163)
absurdfarce May 31, 2023
5ea3f4b
PYTHON-1351 Convert cryptography to an optional dependency (#1164)
absurdfarce Jun 1, 2023
531a6c7
PYTHON-1350 Store IV along with encrypted text when using column-leve…
absurdfarce Jun 2, 2023
356d150
PYTHON-1356 Create session-specific protocol handlers to contain sess…
absurdfarce Jun 2, 2023
910f028
CONN-38 Notes for 3.27.0 on PYTHON-1350 (#1166)
absurdfarce Jun 5, 2023
643d3a6
Update docs.yaml to point to most recent 3.27.0 docs changes
absurdfarce Jun 5, 2023
2db3728
PYTHON-1352 Add vector type, codec + support for parsing CQL type (#1…
absurdfarce Jun 5, 2023
e3400a1
Release 3.28.0: changelog & version
absurdfarce Jun 5, 2023
7ccf502
Fixed non-valid rst in README
absurdfarce Jun 6, 2023
50c93e9
Include docs for 3.28.0
absurdfarce Jun 6, 2023
4325afb
CONN-38 Notes for 3.28.0 on PYTHON-1350 (#1167)
absurdfarce Jun 6, 2023
8c41066
Update docs.yaml to point to most recent 3.28.0 docs changes
absurdfarce Jun 6, 2023
8ba0a5c
Jenkins using new python versions in the matrix (#1174)
weideng1 Aug 28, 2023
e24ffe4
Update redirects in docs.yaml (#1178)
emeliawilkinson24 Sep 22, 2023
375da00
Add Jenkins support for Python 3.12.0 (#1180)
absurdfarce Oct 11, 2023
a7ab8cc
PYTHON-1364 Fix ssl.wrap_socket errors (from eventlet) for Python 3.1…
absurdfarce Oct 12, 2023
e9136f4
PYTHON-1313 Fix asyncio removals in Python 3.10 (#1179)
absurdfarce Oct 13, 2023
d0e639b
Remove some remnants of Python2 (#1172)
Lorak-mmk Oct 27, 2023
7845379
docs: Fix typo in add_callbacks (#1177)
Mhs-220 Oct 30, 2023
0e25845
Removed backup(.bak) files (#1185)
bschoening Nov 6, 2023
3ca41e2
PYTHON-1366 Handle removal of asyncore in Python 3.12 (#1187)
absurdfarce Nov 10, 2023
cea6e00
PYTHON-1368 Avoid installing DSE deps + executing DSE tests for Pytho…
absurdfarce Nov 13, 2023
120277d
Remove outdated Python pre-3.7 references (#1186)
bschoening Nov 13, 2023
e90c0f5
PYTHON-1371 Add explicit exception type for serialization failures (#…
absurdfarce Dec 18, 2023
8ff0ba0
PYTHON-1331 ssl.match_hostname() is deprecated in 3.7 (#1191)
absurdfarce Dec 19, 2023
1a947f8
Documentation (and other) updates for 3.29.0 (#1194)
absurdfarce Dec 20, 2023
9941ddb
Added 3.29.0 to docs.yaml
absurdfarce Dec 21, 2023
2c61ab2
fix build from source on macos using homebrew (#1196)
yriveiro Feb 27, 2024
7e0923a
clean up last "import six" (#1197)
a-detiste Feb 27, 2024
dbd4ea5
PYTHON-1378 Expand search directories for includes (#1198)
absurdfarce Mar 19, 2024
9629c2a
Release 3.29.1: changelog & version (#1199)
absurdfarce Mar 19, 2024
c69935e
Merge tag '3.27.0' of https://github.com/datastax/python-driver into …
fruch Jun 6, 2024
8953796
Merge tag '3.28.0' of https://github.com/datastax/python-driver into …
fruch Jun 6, 2024
de04ce0
Merge tag '3.29.0' of https://github.com/datastax/python-driver into …
fruch Jun 6, 2024
d93f25c
Merge tag '3.29.1' of https://github.com/datastax/python-driver into …
fruch Jun 6, 2024
76779b4
move `ColDesc` to `cassandra.util` to avoid circular dependecies
fruch Jun 6, 2024
7322b29
Docs: fix issues create by sync
fruch Jun 9, 2024
758f9c5
test_shard_aware: import ShardInfo from the correctly place
fruch Jun 9, 2024
ccf6347
tests: handle `DependencyException`
fruch Jun 9, 2024
90b17c6
docs: remove client column encryption from docs
fruch Jun 9, 2024
8b1f1eb
CI: download libev via conan, for windows builds to have it
fruch Jun 9, 2024
93f12d3
CI: drop the support for building win32 wheels
fruch Jun 10, 2024
7686480
Merge branch 'master' into sync_with_upstream_3.29.1
fruch Jun 20, 2024
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
20 changes: 11 additions & 9 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
CIBW_BEFORE_TEST: "pip install -r {project}/test-requirements.txt"
CIBW_BEFORE_BUILD_LINUX: "rm -rf ~/.pyxbld && yum install -y libffi-devel libev libev-devel openssl openssl-devel"
CIBW_ENVIRONMENT: "CASS_DRIVER_BUILD_CONCURRENCY=2 CFLAGS='-g0 -O3'"
CIBW_SKIP: cp35* cp36* *musllinux*
CIBW_SKIP: cp35* cp36* cp37* *musllinux*

jobs:
build_wheels:
Expand All @@ -30,9 +30,6 @@ jobs:
- os: ubuntu-latest
platform: PyPy

- os: windows-latest
platform: win32

- os: windows-latest
platform: win64

Expand Down Expand Up @@ -65,6 +62,16 @@ jobs:
run: |
choco install openssl --version=3.3.1 -f -y

- name: Install Conan
if: runner.os == 'Windows'
uses: turtlebrowser/get-conan@main

- name: configure libev for Windows
if: runner.os == 'Windows'
run: |
conan profile detect
conan install conanfile.py

- name: Install OpenSSL for MacOS
if: runner.os == 'MacOs'
run: |
Expand Down Expand Up @@ -92,11 +99,6 @@ jobs:
run: |
echo "CIBW_BUILD=cp*win_amd64" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append

- name: Overwrite for Windows 32
if: runner.os == 'Windows' && matrix.platform == 'win32'
run: |
echo "CIBW_BUILD=cp*win32" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append

- name: Overwrite for Windows PyPY
if: runner.os == 'Windows' && matrix.platform == 'PyPy'
run: |
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ tests/unit/cython/bytesio_testhelper.c
#iPython
*.ipynb

venv
docs/venv
.eggs
57 changes: 56 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
3.29.1
======
March 19, 2024

Bug Fixes
---------
* cassandra-driver for Python 3.12 Linux is compiled without libev support (PYTHON-1378)
* Consider moving to native wheel builds for OS X and removing universal2 wheels (PYTHON-1379)

3.29.0
======
December 19, 2023

Features
--------
* Add support for Python 3.9 through 3.12, drop support for 3.7 (PYTHON-1283)
* Removal of dependency on six module (PR 1172)
* Raise explicit exception when deserializing a vector with a subtype that isn’t a constant size (PYTHON-1371)

Others
------
* Remove outdated Python pre-3.7 references (PR 1186)
* Remove backup(.bak) files (PR 1185)
* Fix doc typo in add_callbacks (PR 1177)

3.28.0
======
June 5, 2023

Features
--------
* Add support for vector type (PYTHON-1352)
* Cryptography module is now an optional dependency (PYTHON-1351)

Bug Fixes
---------
* Store IV along with encrypted text when using column-level encryption (PYTHON-1350)
* Create session-specific protocol handlers to contain session-specific CLE policies (PYTHON-1356)

Others
------
* Use Cython for smoke builds (PYTHON-1343)
* Don't fail when inserting UDTs with prepared queries with some missing fields (PR 1151)
* Convert print statement to function in docs (PR 1157)
* Update comment for retry policy (DOC-3278)
* Added error handling blog reference (DOC-2813)

3.27.0
======
May 1, 2023

Features
--------
* Add support for client-side encryption (PYTHON-1341)

3.26.0
======
March 13, 2023
Expand All @@ -17,7 +72,7 @@ Others
* Fix deprecation warning in query tracing (PR 1103)
* Remove mutable default values from some tests (PR 1116)
* Remove dependency on unittest2 (PYTHON-1289)
* Fix deprecation warnings for asyncio.coroutine annotation in asyncioreactor (PYTTHON-1290)
* Fix deprecation warnings for asyncio.coroutine annotation in asyncioreactor (PYTHON-1290)
* Fix typos in source files (PR 1126)
* HostFilterPolicyInitTest fix for Python 3.11 (PR 1131)
* Fix for DontPrepareOnIgnoredHostsTest (PYTHON-1287)
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ To protect the community, all contributors are required to `sign the DataStax Co

Design and Implementation Guidelines
------------------------------------
- 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)
- 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.
- This project follows `semantic versioning <http://semver.org/>`_, so breaking API changes will only be introduced in major versions.
- 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.
Expand Down
188 changes: 79 additions & 109 deletions Jenkinsfile

Large diffs are not rendered by default.

Loading
Loading