From e98b46fb620c256eb11513b35e137646ac4824fa Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Tue, 8 Oct 2024 11:20:34 +0100 Subject: [PATCH] Add 3.13 support, remove 3.8 --- .github/workflows/run-cibuildwheel.yml | 2 +- .github/workflows/test.yml | 2 +- PYPIREADME.rst | 2 +- README.rst | 2 +- setup.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-cibuildwheel.yml b/.github/workflows/run-cibuildwheel.yml index 77040be..27a32c0 100644 --- a/.github/workflows/run-cibuildwheel.yml +++ b/.github/workflows/run-cibuildwheel.yml @@ -55,7 +55,7 @@ jobs: run: echo "CIBW_ARCHS=${{ matrix.cibw_archs }}" >> $GITHUB_ENV shell: bash - name: Build wheels - uses: pypa/cibuildwheel@v2.16.2 + uses: pypa/cibuildwheel@v2.21.2 with: output-dir: ./wheelhouse env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index baab2bc..2d6bdc8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, windows-2019, macos-11] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 with: diff --git a/PYPIREADME.rst b/PYPIREADME.rst index ae4d83c..5a62435 100644 --- a/PYPIREADME.rst +++ b/PYPIREADME.rst @@ -109,7 +109,7 @@ Unless stated otherwise on-file pycares uses the MIT license, check LICENSE file Supported Python versions ------------------------- -Python >= 3.8 are supported. Both CPython and PyPy are supported. +Python >= 3.9 are supported. Both CPython and PyPy are supported. Contributing diff --git a/README.rst b/README.rst index e2e1b97..714d83e 100644 --- a/README.rst +++ b/README.rst @@ -115,7 +115,7 @@ Unless stated otherwise on-file pycares uses the MIT license, check LICENSE file Supported Python versions ------------------------- -Python >= 3.8 are supported. Both CPython and PyPy are supported. +Python >= 3.9 are supported. Both CPython and PyPy are supported. Contributing diff --git a/setup.py b/setup.py index df67ae7..59a89e9 100755 --- a/setup.py +++ b/setup.py @@ -36,18 +36,18 @@ def get_version(): 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ], cmdclass = {'build_ext': cares_build_ext}, install_requires = ['cffi>=1.5.0'], extras_require = {'idna': ['idna >= 2.1']}, - python_requires = '>=3.8', + python_requires = '>=3.9', cffi_modules = ['src/_cffi_src/build_cares.py:ffi'], package_dir = {'': 'src'}, packages = ['pycares'],