File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11[build-system ]
22requires = [
33 " setuptools" ,
4- " Cython>=0.29 " ,
4+ " Cython>=3.1 " ,
55 " versioneer[toml]==0.28" ,
66 # tomli is used by versioneer
77 " tomli; python_version < '3.11'" ,
@@ -26,12 +26,13 @@ classifiers = [
2626 " Operating System :: OS Independent" ,
2727 " Programming Language :: Python :: 3" ,
2828 " Topic :: Scientific/Engineering :: GIS" ,
29+ " Programming Language :: Python :: Free Threading :: 2 - Beta" ,
2930]
3031requires-python = " >=3.10"
3132dependencies = [" certifi" , " numpy" , " packaging" ]
3233
3334[project .optional-dependencies ]
34- dev = [" cython" ]
35+ dev = [" cython>=3.1 " ]
3536test = [" pytest" , " pytest-cov" ]
3637benchmark = [" pytest-benchmark" ]
3738geopandas = [" geopandas" ]
@@ -46,6 +47,7 @@ archs = ["auto64"]
4647manylinux-x86_64-image = " manylinux-x86_64-vcpkg-gdal:latest"
4748manylinux-aarch64-image = " manylinux-aarch64-vcpkg-gdal:latest"
4849build-verbosity = 3
50+ enable = [" cpython-freethreading" ]
4951
5052[tool .cibuildwheel .linux .environment ]
5153VCPKG_INSTALL = " $VCPKG_INSTALLATION_ROOT/installed/$VCPKG_DEFAULT_TRIPLET"
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ def get_gdal_config():
169169 Extension ("pyogrio._ogr" , ["pyogrio/_ogr.pyx" ], ** ext_options ),
170170 Extension ("pyogrio._vsi" , ["pyogrio/_vsi.pyx" ], ** ext_options ),
171171 ],
172- compiler_directives = {"language_level" : "3" },
172+ compiler_directives = {"language_level" : "3" , "freethreading_compatible" : True },
173173 compile_time_env = compile_time_env ,
174174 )
175175
You can’t perform that action at this time.
0 commit comments