Skip to content

Commit 71a49c4

Browse files
committed
chore: drop support for Python 3.9
1 parent 64bb6cb commit 71a49c4

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ on:
1313
env:
1414
PYTHON_VER: "3.11" # Python to run test/cibuildwheel
1515
CIBW_BUILD: >
16-
cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*
17-
pp39-* pp310-* pp311-*
16+
cp310-* cp311-* cp312-* cp313-* cp314-*
17+
pp310-* pp311-*
1818
CIBW_ENABLE: pypy pypy-eol
1919
CIBW_TEST_COMMAND: python -m unittest discover {project}/tests
2020

@@ -91,7 +91,6 @@ jobs:
9191
strategy:
9292
matrix:
9393
py:
94-
- "pypy-3.9"
9594
- "pypy-3.10"
9695
- "pypy-3.11"
9796

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## Unreleased
6+
7+
- Drop support for Python 3.9 and below
8+
59
## 0.18.0 (October 5, 2025)
610

711
- Support for Python 3.14

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[build-system]
22
# setuptools 64+ support --build-option
3-
# setuptools 74+ drops distutils.msvc9compiler required for Python 3.9 under Windows
4-
requires = ["setuptools>=64,<74"]
3+
requires = ["setuptools>=64"]
54
backend-path = ["build_script"]
65
build-backend = "pyzstd_pep517"

setup.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def do_setup():
217217
maintainer_email="[email protected]",
218218
url='https://github.com/Rogdham/pyzstd',
219219
license='BSD-3-Clause',
220-
python_requires='>=3.5',
220+
python_requires='>=3.10',
221221
install_requires=["typing-extensions>=4.13.2 ; python_version<'3.13'"],
222222

223223
classifiers=[
@@ -227,7 +227,6 @@ def do_setup():
227227
"License :: OSI Approved :: BSD License",
228228
"Programming Language :: Python :: Implementation :: CPython",
229229
"Programming Language :: Python :: Implementation :: PyPy",
230-
"Programming Language :: Python :: 3.9",
231230
"Programming Language :: Python :: 3.10",
232231
"Programming Language :: Python :: 3.11",
233232
"Programming Language :: Python :: 3.12",
@@ -245,12 +244,5 @@ def do_setup():
245244
test_suite='tests'
246245
)
247246

248-
if sys.version_info < (3, 9):
249-
print()
250-
print("WARNING")
251-
print(" Python {} has reached end of life.".format(platform.python_version()))
252-
print(" This version of Python will not be supported in future versions of pyzstd.")
253-
print()
254-
255247
if __name__ == '__main__':
256248
do_setup()

0 commit comments

Comments
 (0)