Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 3.13 support, remove 3.8 #202

Merged
merged 3 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/run-cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- name: Windows AMD64 & x86
os: windows-2019
- name: macOS x86_64 & universal2
os: macos-11
os: macos-13
- name: macOS M1
os: macos-15
- name: manylinux and musllinux x86_64 & i686
os: ubuntu-20.04
cibw_build: cp3*-{manylinux,musllinux}_*
Expand Down Expand Up @@ -55,7 +57,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
Copy link
Contributor Author

@ChrisLovering ChrisLovering Oct 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As of writing this version is both the latest, and the one that adds 3.13 support
https://github.com/pypa/cibuildwheel/releases

with:
output-dir: ./wheelhouse
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-20.04, windows-2019, macos-13, macos-15]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something of note is that we should be testing against Windows 2022 and Ubuntu 24.04 if we are upgrading macos versions as well

python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion PYPIREADME.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
Loading