8000 Set minimum cffi version instead of maximum setuptools version · jameshilliard/ada-python@0e12d9d · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e12d9d

Browse files
committed
Set minimum cffi version instead of maximum setuptools version
The latest cffi version fixes the incompatibility with setuptools version 74 and above.
1 parent 3c27c3c commit 0e12d9d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["cffi", "setuptools < 74", "urllib3", "wheel"]
2+
requires = ["cffi>=1.17.1", "setuptools", "urllib3", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -83,3 +83,7 @@ before-build = "make clean && make c_lib"
8383
[tool.cibuildwheel.windows]
8484
archs = ["AMD64"]
8585
before-build = '"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat" && cl "ada_url\\ada.cpp" /c /nologo /Fo"ada_url\\ada.o" /O2 /GL /MD /W3 /EHsc /std:c++17'
86+
87+
[[tool.cibuildwheel.overrides]]
88+
select = "pp39-win_amd64"
89+
environment = { SETUPTOOLS_USE_DISTUTILS="stdlib" }

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# What we want
2-
cffi==1.17.0
2+
cffi==1.17.1
33

44
# What we need
55
pycparser==2.22

requirements/development.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
build
22
coverage
33
ruff
4-
setuptools<74
4+
setuptools
55
Sphinx
66
twine
77
urllib3

0 commit comments

Comments
 (0)
0