Skip to content

Commit 06d7fda

Browse files
committed
Drop 3.7 support and add 3.12 support
1 parent e806807 commit 06d7fda

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- uses: actions/[email protected]
2020
with:
2121
submodules: recursive
22-
- name: Set up Python 3.7
22+
- name: Set up Python 3.8
2323
uses: actions/[email protected]
2424
with:
25-
python-version: 3.7
25+
python-version: "3.8"
2626
- name: Install tox
2727
run: pip install tox
2828
- name: Lint
@@ -39,10 +39,10 @@ jobs:
3939
- uses: actions/[email protected]
4040
with:
4141
submodules: recursive
42-
- name: Set up Python 3.7
42+
- name: Set up Python 3.8
4343
uses: actions/[email protected]
4444
with:
45-
python-version: 3.7
45+
python-version: 3.8
4646
- name: Install tox and upgrade setuptools and pip
4747
run: pip install --upgrade tox setuptools pip
4848
- name: Run tox -e ${{ matrix.tox_env }}
@@ -53,20 +53,19 @@ jobs:
5353
strategy:
5454
matrix:
5555
python-version:
56-
- "3.7"
5756
- "3.8"
5857
- "3.9"
5958
- "3.10"
6059
- "3.11"
61-
- "pypy-3.7"
62-
- "pypy-3.8"
60+
- "3.12"
6361
- "pypy-3.9"
62+
- "pypy-3.10"
6463
os: ["ubuntu-latest"]
6564
include:
6665
- os: "macos-latest"
67-
python-version: 3.7
66+
python-version: "3.8"
6867
- os: "windows-latest"
69-
python-version: 3.7
68+
python-version: "3.8"
7069
steps:
7170
- uses: actions/[email protected]
7271
with:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ def build_zlib_ng():
142142
classifiers=[
143143
"Programming Language :: Python :: 3 :: Only",
144144
"Programming Language :: Python :: 3",
145-
"Programming Language :: Python :: 3.7",
146145
"Programming Language :: Python :: 3.8",
147146
"Programming Language :: Python :: 3.9",
148147
"Programming Language :: Python :: 3.10",
149148
"Programming Language :: Python :: 3.11",
149+
"Programming Language :: Python :: 3.12",
150150
"Programming Language :: Python :: Implementation :: CPython",
151151
"Programming Language :: Python :: Implementation :: PyPy",
152152
"Programming Language :: C",
@@ -157,6 +157,6 @@ def build_zlib_ng():
157157
"Operating System :: MacOS",
158158
"Operating System :: Microsoft :: Windows",
159159
],
160-
python_requires=">=3.7", # uses METH_FASTCALL
160+
python_requires=">=3.8", # Earliest version still tested.
161161
ext_modules=EXTENSIONS
162162
)

0 commit comments

Comments
 (0)