Skip to content

Commit de3931f

Browse files
committed
drop 3.9 which reaches EOL this month
maybe it fixes the windows build issue?
1 parent 9227f4b commit de3931f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ build-backend = "setuptools.build_meta"
1313
[tool.cibuildwheel]
1414
# Also skip wheels for free-threaded CPython 3.14 (e.g. 'cp314t') until we
1515
# actually support them. We currently aren't thread-safe as we define HB_NO_MT=1.
16-
skip = ["cp38-*", "cp3??t-*"]
16+
skip = ["cp38-*", "cp39-*", "cp3??t-*"]
1717
enable = ["pypy"]
1818
test-requires = "pytest"
1919
test-command = "pytest {project}/tests"

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def bool_from_environ(key: str, default: bool = False):
3636
# Set USE_PY_LIMITED_API=0 to turn it off.
3737
# https://docs.python.org/3.14/c-api/stable.html#limited-c-api
3838
use_py_limited_api = bool_from_environ("USE_PY_LIMITED_API", default=True)
39-
# NOTE: this must be kept in sync with python_requires='>=3.9' below
40-
limited_api_min_version = "0x03090000"
39+
# NOTE: this must be kept in sync with python_requires='>=3.10' below
40+
limited_api_min_version = "0x030A0000"
4141

4242

4343
def _configure_extensions_with_system_libs() -> List[Extension]:
@@ -180,11 +180,11 @@ def configure_extensions() -> List[Extension]:
180180
packages=["uharfbuzz"],
181181
zip_safe=False,
182182
setup_requires=["setuptools_scm"],
183-
python_requires=">=3.9",
183+
python_requires=">=3.10",
184184
ext_modules=cythonize(
185185
configure_extensions(),
186186
annotate=use_cython_annotate,
187187
compiler_directives={"linetrace": use_cython_linetrace},
188188
),
189-
options={"bdist_wheel": {"py_limited_api": "cp39"}} if use_py_limited_api else {},
189+
options={"bdist_wheel": {"py_limited_api": "cp310"}} if use_py_limited_api else {},
190190
)

0 commit comments

Comments
 (0)