Skip to content

Commit

Permalink
Explicit Python 3.12 support and build wheels, change min version to …
Browse files Browse the repository at this point in the history
…3.8 (#95)
  • Loading branch information
tiptenbrink committed Oct 16, 2023
1 parent 1599df9 commit 25f412b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
cibw_arch: ["auto64", "aarch64", "universal2"]
cibw_python:
- "cp37-*"
- "cp38-*"
- "cp39-*"
- "cp310-*"
- "cp311-*"
- "cp312-*"
exclude:
- os: ubuntu-latest
cibw_arch: universal2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [windows-latest, ubuntu-latest, macos-latest]

env:
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import sys

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

0 comments on commit 25f412b

Please sign in to comment.