Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
463 commits
Select commit Hold shift + click to select a range
b60e36f
CI: update cibuildwheel==2.16.2 so we can have python 3.12 wheels
fruch Oct 18, 2023
5dafcb5
unittests: fix unittest to work with python 3.12
fruch Oct 18, 2023
e4b6155
test-requirements.txt: remove pinning from cython
fruch Oct 19, 2023
bf09af1
CI: stop running the eventlet unittests
fruch Oct 19, 2023
b1c6e6d
CI: switch to python build command for sdist
fruch Nov 9, 2023
8dcb657
CI: run integration tests on multiple EVENT_LOOP_MANAGER and python v…
fruch Oct 11, 2023
06a74ee
CI: update checkout and setup-python actions
fruch Oct 11, 2023
b9035ba
CI: switch to pyenv for better python2 support
fruch Oct 12, 2023
ac9c90d
fix(test_shard_aware.py): Use IN to check the thread name
k0machi Nov 13, 2023
dd9dc32
io.asyncioreactor: fix deprecated usages for working with python>=3.10
fruch Oct 12, 2023
725e62a
tests: ignore asyncio related warning in test_deprecation_warnings
fruch Oct 12, 2023
64f3fe9
tests: skip `test_execute_query_timeout` if running with asyncio
fruch Oct 18, 2023
d407423
asyncio: stop using the loop variable when not needed
fruch Nov 9, 2023
bc5cf17
CI: add integration tests for python3.8
fruch Nov 9, 2023
dab392d
Ignore AttributeError on eventlet import
fruch Oct 11, 2023
43fbd91
test_cluster: remove `import asyncore`
fruch Oct 12, 2023
e393ffa
handle the case asyncore isn't available
fruch Oct 12, 2023
c02c8f7
cassandra/cluster.py: make asyncio default if asyncore not available
fruch Oct 17, 2023
1cc6ccc
CI: enable builds of python 3.12 wheels
fruch Nov 19, 2023
679ad24
asyncioreactor: make sure task isn't deleted midway
fruch Nov 27, 2023
facabc5
cqlengine: Remove deepcopy on UserType deserialization
k0machi Dec 1, 2023
6788a7c
connection: fix logging of non-IP sockets
avelanarius Dec 8, 2023
66eb290
Merge pull request #279 from avelanarius/fix-log
Lorak-mmk Dec 18, 2023
e7532b1
Release 3.26.4
Lorak-mmk Dec 21, 2023
e8d7151
Add parsing TABLETS_ROUTING_V1 extension to ProtocolFeatures
sylwiaszunejko Jan 3, 2024
8b2359f
Fix typo
tourvi Jan 10, 2024
a27751b
Merge pull request #286 from tourvi/patch-1
Lorak-mmk Jan 11, 2024
669e516
Add support for unix domain sockets to WhiteListRoundRobinPolicy
sylwiaszunejko Jan 12, 2024
02e7ce9
Use tablets in token and shard awareness
sylwiaszunejko Jul 28, 2023
c3f194b
Add integration and unit tests
sylwiaszunejko Aug 1, 2023
eaa9eb1
Add documentation of tablet awareness
sylwiaszunejko Jan 11, 2024
d6149e3
build(deps): bump gevent from 20.5.0 to 23.9.0
dependabot[bot] Jan 16, 2024
5dfb81b
Add unit test for unix domain sockets support in WhiteListRoundRobinP…
sylwiaszunejko Jan 15, 2024
dfccfff
Merge pull request #249 from sylwiaszunejko/introduce_tablets
avelanarius Jan 16, 2024
89d6051
Merge pull request #283 from scylladb/dependabot/pip/gevent-23.9.0
avelanarius Jan 16, 2024
055e8ec
Merge pull request #287 from sylwiaszunejko/white_list_with_unix_sockets
avelanarius Jan 16, 2024
70860b0
Merge pull request #277 from k0machi/cqlengine-remove-deepcopy-in-use…
avelanarius Jan 16, 2024
810291f
Release 3.26.5
Lorak-mmk Jan 17, 2024
6b01e49
Update CI to use new way of initializing keyspace with tablets
sylwiaszunejko Jan 17, 2024
b29d1a9
Merge pull request #290 from sylwiaszunejko/update_ci_inital_tablets
Lorak-mmk Jan 17, 2024
2a09d97
docs: fix minor syntax issues
tchaikov Jan 18, 2024
7982b71
Add setting connected_event flag in libevreactor
sylwiaszunejko Jan 18, 2024
410289a
Merge pull request #291 from tchaikov/doc-tablet
Lorak-mmk Jan 18, 2024
a1e35bd
Merge pull request #292 from sylwiaszunejko/debug_driver_hanging
Lorak-mmk Jan 18, 2024
4fc60e7
Release 3.26.6
Lorak-mmk Jan 28, 2024
67a108e
Close pending connections during shutdown
sylwiaszunejko Feb 6, 2024
7608a51
Merge pull request #297 from sylwiaszunejko/shutdown_hanging
avelanarius Feb 12, 2024
6a88ac4
tests: fix scylla_version handling
fruch Dec 25, 2023
6b82872
Merge pull request #282 from fruch/fix_scylla_version_handling
Lorak-mmk Feb 20, 2024
3de6a36
asyncioreactor: initial background_tasks set earlier
fruch Feb 15, 2024
6550f80
Merge pull request #300 from fruch/fix_asyncio_background
Lorak-mmk Feb 23, 2024
f4eabdf
introducing `ExponentialBackoffRetryPolicy`
fruch Feb 11, 2024
19a099c
Merge pull request #298 from fruch/exponential_backoff
Lorak-mmk Feb 27, 2024
8138dca
tests: stop using `set_keyspace` in test_can_register_udt_before_conn…
fruch Feb 15, 2024
c7e6ebb
pool: log error when failed to connect to shard
muzarski Nov 29, 2023
f2a80f1
Only add host if endpoint is not already present
sylwiaszunejko Feb 29, 2024
1a21378
Merge pull request #304 from sylwiaszunejko/fix_resolved_hosts
Lorak-mmk Mar 1, 2024
49a136e
Merge pull request #276 from muzarski/warning-log
Lorak-mmk Mar 1, 2024
3815f53
cluster: improve logging of peers row validation
avelanarius Mar 1, 2024
db79cff
Merge pull request #305 from avelanarius/improve-is-valid-peer-logs
Lorak-mmk Mar 1, 2024
f356716
Release 3.26.7
Lorak-mmk Mar 1, 2024
12daf57
Remove endpoint to host_id mapping when removing host by host_id
sylwiaszunejko Mar 7, 2024
9adcd27
Merge pull request #308 from sylwiaszunejko/keyerror
Lorak-mmk Mar 18, 2024
6ec9774
Release 3.26.8
sylwiaszunejko Mar 18, 2024
d7817c2
Update index.rst
nigel5 Apr 3, 2024
7cdc1ca
Merge pull request #314 from nigel5/patch-1
Lorak-mmk Apr 3, 2024
0ab7128
docs: update theme
dgarcia360 May 7, 2024
82b4863
cassandra/cluster.py: use raw string when appropriate
tchaikov May 20, 2024
8c562f4
CI: use `--break-system-packages` when using pip globally
fruch May 9, 2024
dc05ae7
tests/integration: set `skip_wait_for_gossip_to_settle=0`
fruch Feb 11, 2024
cdd125a
ci: enable pytest run debug
fruch Feb 28, 2024
dedf571
AsyncioConnection: fix initialize_reactor when called in event loop
Lorak-mmk Jun 4, 2024
2932139
CI: move make aarch64 first class citizen
fruch Jun 3, 2024
32d9a3c
CI: specify specific version of openssl in choco command
fruch Jun 5, 2024
c51d4cc
CI: enable Trusted publishing
fruch Jun 4, 2024
aa8ba2e
Merge pull request #327 from Lorak-mmk/fix-asyncioconnection
avelanarius Jun 12, 2024
f15e502
Release 3.26.9
Lorak-mmk Jun 18, 2024
811199a
cassandra/query: use timezone specific API to avoid deprecated warning
tchaikov Jun 23, 2024
fee957a
Merge pull request #337 from tchaikov/tz-timedelta
Lorak-mmk Jun 23, 2024
e590b7a
CI: add pre builds for python 3.13
fruch Jun 20, 2024
c9b24b7
CI: remove gevent/greenlet from build-pre-release
fruch Jun 20, 2024
2106af3
CI: build with manylinux_2_24
fruch Jul 1, 2024
af1cbb8
CI: disable 32bit builds
fruch Jul 1, 2024
11d3499
test_metadata: Don't assume extensions are empty by default
Lorak-mmk Jul 2, 2024
8a4387a
CI: download libev via conan, for windows builds to have it
fruch Jun 9, 2024
2d1c787
Drop 'six' from dependencies
Lorak-mmk Jul 19, 2023
2467864
Remove mentions / workaround for unsupported Python versions
Lorak-mmk Jul 19, 2023
fab07e1
Fix problems introduced while removing six
Lorak-mmk Oct 16, 2023
43d9697
Fix only formatting in policy and tablets related code
dkropachev Aug 2, 2024
1c3cff8
Merge pull request #349 from scylladb/dk/codeformating-issue-fix
dkropachev Aug 2, 2024
c62665f
Add RackAwareRoundRobinPolicy for host selection
sylwiaszunejko Jun 13, 2024
dbb4552
Merge pull request #332 from sylwiaszunejko/rack_aware_policy
sylwiaszunejko Aug 5, 2024
51d2270
Fix driver name
dkropachev Aug 5, 2024
16719eb
Merge pull request #353 from scylladb/dk/change-driver-name
dkropachev Aug 5, 2024
55371d8
Revert "ci: enable pytest run debug"
Lorak-mmk Aug 5, 2024
2739b29
Merge pull request #354 from Lorak-mmk/disable-ci-debug
dkropachev Aug 5, 2024
96edeb9
Start using 6.0.2 for tablets tests
dkropachev Aug 5, 2024
7e0b02d
Merge pull request #357 from scylladb/dk/fix-integration-scylla-version
dkropachev Aug 5, 2024
156dde7
Make test_compression_disabled expect proper value for scylla
dkropachev Aug 15, 2024
27b892b
Populate issue number to test_client_warnings
dkropachev Aug 15, 2024
67bbd48
Merge pull request #366 from scylladb/dk/fix-test_compression_disabled
dkropachev Aug 15, 2024
b1c9995
Merge pull request #367 from scylladb/dk/populate-issue-number-for_te…
dkropachev Aug 15, 2024
6e2a736
Make MAPPED_SCYLLA_VERSION a soft requirement
dkropachev Aug 16, 2024
d768d74
Merge pull request #372 from dkropachev/dk/make-mapped-scylla-version…
dkropachev Aug 20, 2024
bd3e9b9
Update building library for windows openssl
dkropachev Sep 27, 2024
6f26306
Merge pull request #377 from scylladb/dk/update-openssl-for-windows
dkropachev Sep 27, 2024
ea2b70f
Remove experimental options from tablets implementation
sylwiaszunejko Sep 27, 2024
f2cc29d
Fix whitespaces and indentations
sylwiaszunejko Sep 27, 2024
f112165
docs: update theme 1.8
dgarcia360 Sep 29, 2024
3c04eff
docs: update command
dgarcia360 Sep 29, 2024
7a4221f
Merge pull request #376 from sylwiaszunejko/clean_tablets
dkropachev Sep 30, 2024
c0c016a
Merge pull request #379 from dgarcia360/fix-update-command
Lorak-mmk Oct 1, 2024
e4a000f
Introduce metadata_request_timeout configuration option
dkropachev Sep 27, 2024
4beebd5
Use metadata_request_timeout for all driver queries
dkropachev Sep 27, 2024
7a4ae44
Test metadata_request_timeout configuration option
dkropachev Sep 27, 2024
9e9ded4
Merge pull request #361 from scylladb/dk/320-python-implementation-of…
dkropachev Oct 7, 2024
b95e1a0
docs: update theme 1.8.3
dgarcia360 Oct 29, 2024
9e237e8
Merge pull request #385 from dgarcia360/docs-release-1.8.3
Lorak-mmk Oct 29, 2024
f934f22
Add support for macos-15 wheels builds
fruch Oct 29, 2024
059e10e
Merge pull request #386 from fruch/add_macos_13_wheels
dkropachev Oct 29, 2024
23b342f
Move run_integration_test.sh to scripts folder
Lorak-mmk Aug 15, 2024
98525b1
Remove unnecessary files
Lorak-mmk Aug 16, 2024
b201599
Remove DSE docs
Lorak-mmk Aug 16, 2024
741ed1d
Move examples to examples directory
Lorak-mmk Aug 15, 2024
1888a3b
README: Direct questions to the forum
Lorak-mmk Aug 15, 2024
48f0854
CONTRIBUTING.rst: Update link for issue reporting
Lorak-mmk Aug 15, 2024
7ccce12
CONTRIBUTING.rst: update link for dev readme
Lorak-mmk Aug 15, 2024
d7169b4
CONTRIBUTING.rst: Remove section about CLA
Lorak-mmk Aug 15, 2024
b5dae8a
README-dev: Update the document
Lorak-mmk Nov 3, 2024
14e3b25
Add PR template
Lorak-mmk Aug 15, 2024
a2a3761
Remove ez_setup
Lorak-mmk Aug 16, 2024
b5cf6b3
test_twistedreactor: Fix failing test_connection_initialization
Lorak-mmk Aug 16, 2024
cd0c656
Removed DSE cloud unit tests
Lorak-mmk Aug 16, 2024
a24260a
Remove unnecessary test filters
Lorak-mmk Aug 16, 2024
9550cf7
Remove import-mode
Lorak-mmk Aug 16, 2024
c55f04c
Docs: Update index.rst "Getting Help" section
Lorak-mmk Aug 16, 2024
ddda304
README: Update badges
Lorak-mmk Aug 16, 2024
18f5f01
Merge pull request #371 from Lorak-mmk/various-improvements
Lorak-mmk Nov 6, 2024
71cb95b
Fix typo
absurdfarce Apr 8, 2023
b0b9527
PYTHON-1341 Impl of client-side column-level encryption/decryption (#…
absurdfarce May 1, 2023
12f0922
Release 3.27: changelog & version
absurdfarce May 1, 2023
dd00b5d
update RH nav order (#1154)
jgillenwater May 1, 2023
5273707
remove future plans (#1155)
jgillenwater May 1, 2023
0d3b5fa
Missed dependency on cryptography in setup.py
absurdfarce May 2, 2023
070d72a
DOC-2813 (#1145)
emeliawilkinson24 May 9, 2023
b9b976e
DOC-3278 Update comment for retry policy (#1158)
absurdfarce May 12, 2023
3c996d4
Fix for rendering of code blocks in CLE documentation (#1159)
absurdfarce May 19, 2023
b4f4354
remove unnecessary import __future__ (#1156)
bschoening May 23, 2023
0b054ee
docs: convert print statement to function in docs (#1157)
lukaselmer May 23, 2023
b400697
Revert "remove unnecessary import __future__ (#1156)"
absurdfarce May 24, 2023
7e47772
PYTHON-1351 Convert cryptography to an optional dependency (#1164)
absurdfarce Jun 1, 2023
a1c6bf7
PYTHON-1350 Store IV along with encrypted text when using column-leve…
absurdfarce Jun 2, 2023
9124492
PYTHON-1356 Create session-specific protocol handlers to contain sess…
absurdfarce Jun 2, 2023
3a9ac29
CONN-38 Notes for 3.27.0 on PYTHON-1350 (#1166)
absurdfarce Jun 5, 2023
6b46906
PYTHON-1352 Add vector type, codec + support for parsing CQL type (#1…
absurdfarce Jun 5, 2023
b2af730
Release 3.28.0: changelog & version
absurdfarce Jun 5, 2023
1c5edd7
Add .eggs to .gitignore
dkropachev Aug 9, 2024
569271f
Temporary disable AES256ColumnEncryptionPolicy
dkropachev Aug 13, 2024
416d9ae
Merge pull request #364 from dkropachev/dk/sync-with-upstream-3.28.0
dkropachev Nov 18, 2024
93d2c14
Release 3.28.0
Lorak-mmk Nov 19, 2024
2af442b
Fix title underline in README
Lorak-mmk Nov 20, 2024
e2bc60b
Do not throw a warning for zero-token node
sylwiaszunejko Dec 6, 2024
db4bee6
Merge pull request #389 from sylwiaszunejko/zero-token
dkropachev Dec 10, 2024
a8a941f
Switch from ubuntu-latest to ubuntu-20.04
dkropachev Dec 19, 2024
1e82fe3
Merge pull request #393 from scylladb/dk/switch-to-ubuntu-20.04
dkropachev Dec 20, 2024
08e5980
Stop pytest from picking up non-test classes
dkropachev Dec 20, 2024
58b9e88
Make pipeline install java
dkropachev Dec 20, 2024
555c838
Merge pull request #396 from scylladb/dk/add-java-instalation-step
dkropachev Dec 20, 2024
dea4904
Merge pull request #395 from scylladb/dk/make-pytest-ignore-non-test-…
dkropachev Dec 20, 2024
e24acab
Stop result indexing in test
dkropachev Dec 20, 2024
347f332
Merge pull request #394 from scylladb/dk/stop-result-indexing-in-tests
dkropachev Dec 20, 2024
ec2f58d
CI: add integration tests with python 3.13
fruch Jun 20, 2024
cae1b82
rename assertNotEquals to assertNotEqual
dkropachev Dec 22, 2024
0de2cd8
Fix AsyncoreConnectionTests to check if asyncore present
dkropachev Dec 22, 2024
ba4e804
Fix test_ipv6 to test if asyncore is present
dkropachev Dec 22, 2024
58847ec
Replace assertDictContainsSubset
dkropachev Dec 22, 2024
a0ab1d3
Merge pull request #363 from dkropachev/int_tests_on_3.13
dkropachev Dec 23, 2024
9051d46
Fix test_compaction_not_altered_without_changes_sizetiered
dkropachev Dec 21, 2024
05cbf94
Start running tests on 6.2
dkropachev Dec 21, 2024
6c83b8f
Fix test_order_by_success_case to accomodate scylla
dkropachev Dec 23, 2024
1316cd1
Merge pull request #397 from scylladb/dk/switch-to-scylla-6.2
dkropachev Dec 23, 2024
2fcce70
pool: Handle non-shard-aware endpoints in logging
tchaikov Jan 3, 2025
d62eb38
Merge pull request #398 from tchaikov/shard-unware-conn
dkropachev Jan 3, 2025
69191ac
test_tablets: stop using unittest
dkropachev Jan 4, 2025
be0bcf2
Invalidate tablets when table or keyspace is deleted
dkropachev Jan 4, 2025
a246925
Remove is <int>
dkropachev Jan 4, 2025
fdfc7df
Merge pull request #399 from scylladb/dk/invalidate-tablets
dkropachev Jan 5, 2025
17c7ce0
Merge pull request #403 from scylladb/dk/remove-is-int
dkropachev Jan 5, 2025
693e93d
Fix wrong escape sequences
dkropachev Jan 5, 2025
d3e7231
Merge pull request #405 from scylladb/dk/fix-wrong-escape-sequences
dkropachev Jan 8, 2025
6b24241
Release offical wheels for python 3.13
fruch Jan 19, 2025
63dcd36
switch newer ubuntu version
fruch Jan 19, 2025
822a925
github actions: user newer cython versions
fruch Jan 20, 2025
e464955
Merge pull request #410 from fruch/use_newer_cython_in_builds
dkropachev Jan 21, 2025
dccfe90
Release 3.28.1
dkropachev Jan 23, 2025
be3c037
Stop calling PyEval_InitThreads
dkropachev Jan 23, 2025
d90ffc2
Set cython language level to 3
dkropachev Jan 23, 2025
0c8e2a6
setup.py: make it fail if extensions aren't built
fruch Jan 23, 2025
6b495fa
Migrate from distutils to setuptools
dkropachev Jan 23, 2025
0237110
setup.py: introduce pyproject.toml
fruch Jan 23, 2025
41ce587
cicd: use stable binmt
dkropachev Jan 24, 2025
1dbafa4
cicd: move to ubuntu 24.04
dkropachev Jan 26, 2025
7d1a2d5
cicd: fix macos builds
dkropachev Jan 26, 2025
c1ce2c0
cicd: fix windows builds
dkropachev Jan 26, 2025
3a4601a
cicd: start building python 3.13 wheel for aarch64
dkropachev Jan 26, 2025
d02c619
Merge pull request #411 from scylladb/dk/fix-3.13-building
dkropachev Jan 28, 2025
f05e37f
Release 3.28.2
dkropachev Jan 30, 2025
3db6c2c
Make any query to system.local use WHERE clause (#419)
dkropachev Feb 14, 2025
7263cea
docs: update theme 1.8.5 (#421)
dgarcia360 Feb 16, 2025
a77ea62
cicd: update choco openssl package version to 3.4.1 (#423)
dkropachev Feb 18, 2025
41e86cb
Small fixes for CICD (#414)
dkropachev Feb 18, 2025
297622f
Reimplement get_cluster_info using driver instead of cqlsh (#402)
dkropachev Feb 21, 2025
a226518
Sync with 3.29.0 (#406)
dkropachev Feb 23, 2025
4447a0b
Make building pipeline less confusing (#425)
dkropachev Feb 23, 2025
7304ae0
cqlengine: fix map remove feature for non-nullable values (#432)
dkropachev Feb 24, 2025
584af66
cicd: make build-push workflow push changes on manual dispatch (#435)
dkropachev Feb 25, 2025
dd128b5
cicd: switch to arm runners for linux-aarch64 (#437)
dkropachev Feb 27, 2025
6c5afa0
cicd: Make it possible to publish prior tags (#436)
dkropachev Feb 27, 2025
701f89d
cicd: make skip tests option work (#438)
dkropachev Feb 28, 2025
2cb73ff
cicd: fix publishing step (#439)
dkropachev Mar 1, 2025
d0dd9ee
Fix publishing issue (#442)
dkropachev Mar 5, 2025
fab0d30
PYTHON-1364 Fix ssl.wrap_socket errors (from eventlet) for Python 3.1…
absurdfarce Oct 12, 2023
4ffa37c
clean up last "import six" (#1197)
a-detiste Feb 27, 2024
d026cec
PYTHON-1378 Expand search directories for includes (#1198)
absurdfarce Mar 19, 2024
158c74c
Release 3.29.1: changelog & version (#1199)
absurdfarce Mar 19, 2024
dc5509e
PYTHON-1359 Fix for numpy>=1.24.0 (#1169)
weisslj Mar 26, 2024
d019ac0
Update installation.rst with Python3 print() syntax (#1204)
bschoening May 1, 2024
b1c67f9
PYTHON-1384 Remove usages of unittest.assertDictContainsSubset (#1206)
absurdfarce May 3, 2024
3647144
RST format fix for changelog
absurdfarce May 28, 2024
c18847c
Update README.rst with badges for version and license (#1210)
bschoening May 29, 2024
3e34b9e
remove dependency on old mock external module (#1201)
a-detiste May 30, 2024
2477029
removed future print_function, division, and with and some pre 3.7 ha…
bschoening May 31, 2024
908c6e1
Update geomet to latest in requirements.txt (#1207)
bschoening May 31, 2024
8d4eee7
Change format of badges in README from .md to .rst (#1212)
bschoening May 31, 2024
85aea8a
use timezone-aware API to avoid deprecated warning (#1213)
tchaikov Jul 8, 2024
f3c019a
PYTHON-1389 Removing deprecated test aliases (#1216)
absurdfarce Jul 12, 2024
2d93898
PYTHON-1297 Convert to pytest for running unit and integration tests …
absurdfarce Jul 16, 2024
0f73700
PYTHON-1393 Add support for Cassandra 4.1.x and 5.0 releases to CI (#…
absurdfarce Jul 30, 2024
c02cb03
PYTHON-1386 Make libev extension consistent with other extensions and…
absurdfarce Aug 22, 2024
fb5c239
PYTHON-1369 Extend driver vector support to arbitrary subtypes and fi…
absurdfarce Sep 4, 2024
fed644a
Release 3.29.2: changelog, version and documentation (#1226)
absurdfarce Sep 5, 2024
a10872c
cicd: update ubuntu runners to ubuntu-24.04
dkropachev Mar 11, 2025
e0668d0
tests: make tests fail if event loop fails
dkropachev Mar 10, 2025
e5e0467
cluster: fix _is_gevent_monkey_patched
dkropachev Mar 10, 2025
f910fc2
cicd: separate pip upgrade to a separate step
dkropachev Mar 10, 2025
485ce23
management.py: fix to fail on adding partition key
dkropachev Feb 23, 2025
a401409
Release 3.29.2: changelog, version and documentation
dkropachev Mar 11, 2025
8aba164
Add support for SCYLLA_USE_METADATA_ID
andrzej-jackowski-scylladb Mar 12, 2025
c1809c1
Add skip metadata handling in _QueryMessage
andrzej-jackowski-scylladb Mar 14, 2025
d546cac
1
dkropachev Aug 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/docs"
schedule:
interval: "daily"
allow:
- dependency-name: "sphinx-scylladb-theme"
- dependency-name: "sphinx-multiversion-scylla"
17 changes: 17 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Pre-review checklist

<!--
Make sure you took care of the issues on the list.
Put 'x' into those boxes which apply.
You can also create the PR now and click on all relevant checkboxes.
See CONTRIBUTING.rst for more details.
-->

- [ ] I have split my patch into logically separate commits.
- [ ] All commit messages clearly explain what they change and why.
- [ ] I added relevant tests for new features and bug fixes.
- [ ] All commits compile, pass static checks and pass test.
- [ ] PR description sums up the changes and reasons why they should be introduced.
- [ ] I have provided docstrings for the public items that I want to introduce.
- [ ] I have adjusted the documentation in `./docs/source/`.
- [ ] I added appropriate `Fixes:` annotations to PR description.
62 changes: 0 additions & 62 deletions .github/workflows/build-exprimantal.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/build-pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test building on pre-release python version

on:
workflow_dispatch:
inputs:
python-version:
description: 'Python version to run against'
required: true
type: string

target:
type: string
description: "target os to build for: linux,macos-x86,macos-arm,windows,linux-aarch64"
default: "linux,macos-x86,macos-arm,windows,linux-aarch64"

jobs:
build-and-publish:
uses: ./.github/workflows/lib-build-and-push.yml
with:
python-version: ${{ inputs.python-version }}
target: ${{ inputs.target }}
170 changes: 24 additions & 146 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
@@ -1,155 +1,33 @@
name: Build and upload to PyPi

on: [push, pull_request]


env:
CIBW_TEST_COMMAND_LINUX: "pytest --import-mode append {project}/tests/unit -k 'not (test_connection_initialization or test_cloud)' && EVENT_LOOP_MANAGER=gevent pytest --import-mode append {project}/tests/unit/io/test_geventreactor.py && EVENT_LOOP_MANAGER=eventlet pytest --import-mode append {project}/tests/unit/io/test_eventletreactor.py "
CIBW_TEST_COMMAND_MACOS: "pytest --import-mode append {project}/tests/unit -k 'not (test_multi_timer_validation or test_empty_connections or test_connection_initialization or test_timer_cancellation or test_cloud)' "
CIBW_TEST_COMMAND_WINDOWS: "pytest --import-mode append {project}/tests/unit -k \"not (test_deserialize_date_range_year or test_datetype or test_libevreactor or test_connection_initialization or test_cloud)\" "
CIBW_BEFORE_TEST: "pip install -r {project}/test-requirements.txt pytest"
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"
CIBW_SKIP: cp35* cp36* *musllinux*
on:
push:
branches:
- master
- 'branch-**'
workflow_dispatch:

jobs:
build_wheels:
name: Build wheels ${{ matrix.os }} (${{ matrix.platform }})
if: contains(github.event.pull_request.labels.*.name, 'test-build') || github.event_name == 'push' && endsWith(github.event.ref, 'scylla')
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
platform: x86_64

- os: ubuntu-latest
platform: i686

- os: ubuntu-latest
platform: PyPy

- os: windows-latest
platform: win32

- os: windows-latest
platform: win64

- os: windows-latest
platform: PyPy

- os: macos-latest
platform: all

- os: macos-latest
platform: PyPy

steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
name: Install Python

- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.3.0

- name: Install OpenSSL for Windows
if: runner.os == 'Windows'
run: |
choco install openssl -f -y

- name: Install OpenSSL for MacOS
if: runner.os == 'MacOs'
run: |
brew install libev

- name: Overwrite for Linux 64
if: runner.os == 'Linux' && matrix.platform == 'x86_64'
run: |
echo "CIBW_BUILD=cp3*_x86_64" >> $GITHUB_ENV

- name: Overwrite for Linux 32
if: runner.os == 'Linux' && matrix.platform == 'i686'
run: |
echo "CIBW_BUILD=cp*_i686" >> $GITHUB_ENV
echo "CIBW_TEST_COMMAND_LINUX=" >> $GITHUB_ENV

- name: Overwrite for Linux PyPy
if: runner.os == 'Linux' && matrix.platform == 'PyPy'
run: |
echo "CIBW_BUILD=pp*" >> $GITHUB_ENV
echo "CIBW_TEST_COMMAND_LINUX=" >> $GITHUB_ENV

- name: Overwrite for Windows 64
if: runner.os == 'Windows' && matrix.platform == 'win64'
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: |
echo "CIBW_BUILD=pp*" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
echo "CIBW_TEST_COMMAND_WINDOWS=" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append

- name: Overwrite for MacOs
if: runner.os == 'MacOs' && matrix.platform == 'all'
run: |
echo "CIBW_BUILD=cp37* cp38*" >> $GITHUB_ENV
echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV

- name: Overwrite for MacOs PyPy
if: runner.os == 'MacOs' && matrix.platform == 'PyPy'
run: |
echo "CIBW_BUILD=pp*" >> $GITHUB_ENV
echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV
echo "CIBW_TEST_COMMAND_MACOS=" >> $GITHUB_ENV

- name: Build wheels
run: |
python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl

build_sdist:
name: Build source distribution
if: contains(github.event.pull_request.labels.*.name, 'test-build') || github.event_name == 'push' && endsWith(github.event.ref, 'scylla')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
name: Install Python

- name: Build sdist
run: python setup.py sdist

- uses: actions/upload-artifact@v2
with:
path: dist/*.tar.gz

upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
# upload to PyPI on every tag starting with 'v'
if: github.event_name == 'push' && endsWith(github.event.ref, 'scylla')
# alternatively, to publish when a GitHub Release is created, use the following rule:
# if: github.event_name == 'release' && github.event.action == 'published'
build-and-publish:
name: "Build wheels"
uses: ./.github/workflows/lib-build-and-push.yml
with:
upload: false

# TODO: Remove when https://github.com/pypa/gh-action-pypi-publish/issues/166 is fixed and update build-and-publish.with.upload to ${{ endsWith(github.event.ref, 'scylla') }}
publish:
name: "Publish wheels to PyPi"
if: ${{ endsWith(github.event.ref, 'scylla') }}
needs: build-and-publish
runs-on: ubuntu-24.04
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@master
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip-existing: true
23 changes: 23 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test wheels building

on:
pull_request:
branches:
- master
paths-ignore:
- docs/*
- examples/*
- .gitignore
- '*.rst'
- '*.ini'
- LICENSE
- .github/dependabot.yml
- .github/pull_request_template.md

jobs:
test-wheels-build:
name: "Test wheels building"
if: "!contains(github.event.pull_request.labels.*.name, 'disable-test-build')"
uses: ./.github/workflows/lib-build-and-push.yml
with:
upload: false
39 changes: 39 additions & 0 deletions .github/workflows/docs-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Docs / Publish"
# For more information,
# see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows

on:
push:
branches:
- master
- 'branch-**'
paths:
- "docs/**"
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.repository.default_branch }}
persist-credentials: false
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Set up env
run: make -C docs setupenv
- name: Build driver
run: python setup.py develop
- name: Build docs
run: make -C docs multiversion
- name: Build redirects
run: make -C docs redirects
- name: Deploy docs to GitHub Pages
run: ./docs/_utils/deploy.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33 changes: 0 additions & 33 deletions .github/workflows/[email protected]

This file was deleted.

Loading
Loading