Skip to content

Commit 5a633a8

Browse files
committed
Drop EOL Python versions
1 parent 7071236 commit 5a633a8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
]
1010
description = "A Sonyflake implementation optimized for extreme usages."
1111
readme = "README.rst"
12-
requires-python = ">=3.8"
12+
requires-python = ">=3.10"
1313
keywords = ["sonyflake"]
1414
license = {text = "BSD-2-Clause"}
1515
classifiers = [
@@ -58,7 +58,7 @@ max-line-length = 88
5858

5959
[tool.black]
6060
line-length = 88
61-
target-version = ["py38", "py39", "py310", "py311", "py312", "py313"]
61+
target-version = ["py310", "py311", "py312", "py313", "py314"]
6262

6363
[tool.mypy]
6464
strict = true

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
cflags.append("-std=c17")
1919

2020
if py_limited_api:
21-
options["bdist_wheel"] = {"py_limited_api": "cp38"}
22-
define_macros.append(("Py_LIMITED_API", "0x030800f0"))
21+
options["bdist_wheel"] = {"py_limited_api": "cp310"}
22+
define_macros.append(("Py_LIMITED_API", "0x030a00f0"))
2323

2424
setup(
2525
options=options,

0 commit comments

Comments
 (0)