Skip to content

Commit 25f412b

Browse files
authored
Explicit Python 3.12 support and build wheels, change min version to 3.8 (#95)
1 parent 1599df9 commit 25f412b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ jobs:
7373
os: [ubuntu-latest, macos-latest, windows-latest]
7474
cibw_arch: ["auto64", "aarch64", "universal2"]
7575
cibw_python:
76-
- "cp37-*"
7776
- "cp38-*"
7877
- "cp39-*"
7978
- "cp310-*"
8079
- "cp311-*"
80+
- "cp312-*"
8181
exclude:
8282
- os: ubuntu-latest
8383
cibw_arch: universal2

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1818
os: [windows-latest, ubuntu-latest, macos-latest]
1919

2020
env:

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import sys
22

33
vi = sys.version_info
4-
if vi < (3, 5):
5-
raise RuntimeError('httptools require Python 3.5 or greater')
4+
if vi < (3, 8):
5+
raise RuntimeError('httptools require Python 3.8 or greater')
66
else:
77
import os.path
88
import pathlib
@@ -185,7 +185,7 @@ def build_extensions(self):
185185
'Development Status :: 5 - Production/Stable',
186186
],
187187
platforms=['macOS', 'POSIX', 'Windows'],
188-
python_requires='>=3.5.0',
188+
python_requires='>=3.8.0',
189189
zip_safe=False,
190190
author='Yury Selivanov',
191191
author_email='yury@magic.io',

0 commit comments

Comments
 (0)