@@ -46,9 +46,9 @@ all = [ # users can install duckdb with 'duckdb[all]', which will install this l
46
46
" ipython" , # used in duckdb.query_graph
47
47
" fsspec" , # used in duckdb.filesystem
48
48
" numpy" , # used in duckdb.experimental.spark and in duckdb.fetchnumpy()
49
- " pandas" , # used for pandas dataframes all over the place
50
- " pyarrow" , # used for pyarrow support
51
- " adbc_driver_manager" , # for the adbc driver (TODO: this should live under the duckdb package)
49
+ " pandas; python_version < '3.14' " , # used for pandas dataframes all over the place
50
+ " pyarrow; python_version < '3.14' " , # used for pyarrow support
51
+ " adbc_driver_manager; python_version < '3.14' " , # for the adbc driver (TODO: this should live under the duckdb package)
52
52
]
53
53
54
54
# #####################################################################################################
@@ -123,7 +123,6 @@ if.env.COVERAGE = false
123
123
inherit.cmake.define = " append"
124
124
cmake.define.DISABLE_UNITY = " 1"
125
125
126
-
127
126
[tool .scikit-build .sdist ]
128
127
include = [
129
128
" README.md" ,
@@ -204,6 +203,7 @@ required-environments = [ # ... but do always resolve for all of them
204
203
" python_version >= '3.9' and sys_platform == 'linux' and platform_machine == 'x86_64'" ,
205
204
" python_version >= '3.9' and sys_platform == 'linux' and platform_machine == 'aarch64'" ,
206
205
]
206
+ prerelease = " if-necessary-or-explicit" # for 3.14
207
207
208
208
# We just need pytorch for tests, wihtout GPU acceleration. PyPI doesn't host a cpu-only version for Linux, so we have
209
209
# to configure the index url for cpu-only pytorch manually
@@ -219,31 +219,31 @@ torchvision = [ { index = "pytorch-cpu" } ]
219
219
[dependency-groups ] # used for development only, requires pip >=25.1.0
220
220
stubdeps = [ # dependencies used for typehints in the stubs
221
221
" fsspec" ,
222
- " pandas" ,
223
- " polars" ,
224
- " pyarrow" ,
222
+ " pandas; python_version < '3.14' " ,
223
+ " polars; python_version < '3.14' " ,
224
+ " pyarrow; python_version < '3.14' " ,
225
225
]
226
226
test = [ # dependencies used for running tests
227
227
" pytest" ,
228
228
" pytest-reraise" ,
229
229
" pytest-timeout" ,
230
230
" mypy" ,
231
231
" coverage" ,
232
- " gcovr" ,
232
+ " gcovr; python_version < '3.14' " ,
233
233
" gcsfs" ,
234
234
" packaging" ,
235
- " polars" ,
235
+ " polars; python_version < '3.14' " ,
236
236
" psutil" ,
237
237
" py4j" ,
238
238
" pyotp" ,
239
- " pyspark" ,
239
+ " pyspark; python_version < '3.14' " ,
240
240
" pytz" ,
241
241
" requests" ,
242
242
" urllib3" ,
243
243
" fsspec>=2022.11.0" ,
244
- " pandas>=2.0.0" ,
245
- " pyarrow>=18.0.0" ,
246
- " torch>=2.2.2; sys_platform != 'darwin' or platform_machine != 'x86_64' or python_version < '3.13'" ,
244
+ " pandas>=2.0.0; python_version < '3.14' " ,
245
+ " pyarrow>=18.0.0; python_version < '3.14' " ,
246
+ " torch>=2.2.2; python_version < '3.14' and ( sys_platform != 'darwin' or platform_machine != 'x86_64' or python_version < '3.13') " ,
247
247
" tensorflow==2.14.0; sys_platform == 'darwin' and python_version < '3.12'" ,
248
248
" tensorflow-cpu>=2.14.0; sys_platform == 'linux' and platform_machine != 'aarch64' and python_version < '3.12'" ,
249
249
" tensorflow-cpu>=2.14.0; sys_platform == 'win32' and python_version < '3.12'" ,
@@ -256,10 +256,10 @@ scripts = [ # dependencies used for running scripts
256
256
" ipython" ,
257
257
" ipywidgets" ,
258
258
" numpy" ,
259
- " pandas" ,
259
+ " pandas; python_version < '3.14' " ,
260
260
" pcpp" ,
261
- " polars" ,
262
- " pyarrow" ,
261
+ " polars; python_version < '3.14' " ,
262
+ " pyarrow; python_version < '3.14' " ,
263
263
" pytz"
264
264
]
265
265
pypi = [ # dependencies used by the pypi cleanup script
@@ -379,6 +379,7 @@ manylinux-x86_64-image = "manylinux_2_28"
379
379
manylinux-pypy_x86_64-image = " manylinux_2_28"
380
380
manylinux-aarch64-image = " manylinux_2_28"
381
381
manylinux-pypy_aarch64-image = " manylinux_2_28"
382
+ enable = [" cpython-freethreading" , " cpython-prerelease" ]
382
383
383
384
[tool .cibuildwheel .linux ]
384
385
before-build = [" yum install -y ccache" ]
0 commit comments