11[project ]
22name = " scylla-driver"
33description = " Scylla Driver for Apache Cassandra"
4- authors = [
5- {name = " ScyllaDB" },
6- ]
4+ authors = [{ name = " ScyllaDB" }]
75keywords = [" cassandra" , " cql" , " orm" , " dse" , " graph" ]
86classifiers = [
97 ' Development Status :: 5 - Production/Stable' ,
@@ -19,12 +17,9 @@ classifiers = [
1917 ' Programming Language :: Python :: 3.13' ,
2018 ' Programming Language :: Python :: Implementation :: CPython' ,
2119 ' Programming Language :: Python :: Implementation :: PyPy' ,
22- ' Topic :: Software Development :: Libraries :: Python Modules'
23- ]
24- dependencies = [
25- ' geomet>=1.1' ,
26- ' pyyaml > 5.0'
20+ ' Topic :: Software Development :: Libraries :: Python Modules' ,
2721]
22+ dependencies = [' geomet>=1.1' , ' pyyaml > 5.0' ]
2823dynamic = [" version" , " readme" ]
2924
3025[project .urls ]
@@ -34,7 +29,7 @@ dynamic = ["version", "readme"]
3429"Issues" = " https://github.com/scylladb/python-driver/issues"
3530
3631[project .optional-dependencies ]
37- graph = [' gremlinpython==3.4.6' ]
32+ graph = [' gremlinpython==3.4.6' ]
3833cle = [' cryptography>=35.0' ]
3934test = [
4035 " pytest" ,
@@ -56,22 +51,26 @@ test = [
5651
5752[tool .setuptools ]
5853include-package-data = true
59- packages =[
60- ' cassandra' , ' cassandra.io' , ' cassandra.cqlengine' , ' cassandra.graph' ,
61- ' cassandra.datastax' , ' cassandra.datastax.insights' , ' cassandra.datastax.graph' ,
62- ' cassandra.datastax.graph.fluent' , ' cassandra.datastax.cloud' , ' cassandra.scylla' ,
63- ' cassandra.column_encryption'
54+ packages = [
55+ ' cassandra' ,
56+ ' cassandra.io' ,
57+ ' cassandra.cqlengine' ,
58+ ' cassandra.graph' ,
59+ ' cassandra.datastax' ,
60+ ' cassandra.datastax.insights' ,
61+ ' cassandra.datastax.graph' ,
62+ ' cassandra.datastax.graph.fluent' ,
63+ ' cassandra.datastax.cloud' ,
64+ ' cassandra.scylla' ,
65+ ' cassandra.column_encryption' ,
6466]
6567
6668[tool .setuptools .dynamic ]
67- version = {attr = " cassandra.__version__" } # any module attribute compatible with ast.literal_eval
68- readme = {file = " README.rst" , content-type = " text/x-rst" }
69+ version = { attr = " cassandra.__version__" } # any module attribute compatible with ast.literal_eval
70+ readme = { file = " README.rst" , content-type = " text/x-rst" }
6971
7072[build-system ]
71- requires = [
72- " setuptools>=42" ,
73- " Cython" ,
74- ]
73+ requires = [" setuptools>=42" , " Cython" ]
7574
7675build-backend = " setuptools.build_meta"
7776
@@ -84,7 +83,17 @@ tag_regex = '(?P<version>\d*?\.\d*?\.\d*?)-scylla'
8483[tool .cibuildwheel ]
8584build-frontend = " build[uv]"
8685environment = { CASS_DRIVER_BUILD_CONCURRENCY = " 2" , CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST = " yes" , CFLAGS = " -g0 -O3" }
87- skip = [" cp2*" , " cp36*" , " pp36*" , " cp37*" , " pp37*" , " cp38*" , " pp38*" , " *i686" , " *musllinux*" ]
86+ skip = [
87+ " cp2*" ,
88+ " cp36*" ,
89+ " pp36*" ,
90+ " cp37*" ,
91+ " pp37*" ,
92+ " cp38*" ,
93+ " pp38*" ,
94+ " *i686" ,
95+ " *musllinux*" ,
96+ ]
8897build = [" cp3*" , " pp3*" ]
8998
9099before-test = " pip install -r {project}/test-requirements.txt"
@@ -98,24 +107,24 @@ manylinux-pypy_aarch64-image = "manylinux_2_28"
98107
99108before-build = " rm -rf ~/.pyxbld && rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux && yum install -y libffi-devel libev libev-devel openssl openssl-devel"
100109test-command = [
101- " pytest {package}/tests/unit" ,
102- " EVENT_LOOP_MANAGER=gevent pytest {package}/tests/unit/io/test_geventreactor.py" ,
110+ " pytest {package}/tests/unit" ,
111+ " EVENT_LOOP_MANAGER=gevent pytest {package}/tests/unit/io/test_geventreactor.py" ,
103112]
104113
105114[tool .cibuildwheel .macos ]
106115build-frontend = " build"
107116test-command = [
108- " pytest {project}/tests/unit -k 'not (test_multi_timer_validation or test_empty_connections or test_timer_cancellation)'"
117+ " pytest {project}/tests/unit -k 'not (test_multi_timer_validation or test_empty_connections or test_timer_cancellation)'" ,
109118]
110119
111120[tool .cibuildwheel .windows ]
112121build-frontend = " build"
113122test-command = [
114- " pytest {project}/tests/unit -k \" not (test_deserialize_date_range_year or test_datetype or test_libevreactor)\" "
123+ " pytest {project}/tests/unit -k \" not (test_deserialize_date_range_year or test_datetype or test_libevreactor)\" " ,
115124]
116125
117126# TODO: set CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST to yes when https://github.com/scylladb/python-driver/issues/429 is fixed
118- environment = { CASS_DRIVER_BUILD_CONCURRENCY = " 2" , CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST = " no" }
127+ environment = { CASS_DRIVER_BUILD_CONCURRENCY = " 2" , CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST = " no" }
119128
120129[[tool .cibuildwheel .overrides ]]
121130select = " pp*"
0 commit comments