diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc02466..7f24971 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 902f564..b1030fc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: diff --git a/setup.py b/setup.py index af36dc8..129cc8b 100644 --- a/setup.py +++ b/setup.py @@ -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 @@ -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',