Skip to content

Commit

Permalink
Add support for 3.12, drop EOL 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen authored Oct 6, 2023
1 parent 86baf75 commit bc7630f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/run-cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ jobs:
if: ${{ matrix.cibw_archs }}
run: echo "CIBW_ARCHS=${{ matrix.cibw_archs }}" >> $GITHUB_ENV
shell: bash
- name: Set CIBW_SKIP
run: echo "CIBW_SKIP=cp36-*" >> $GITHUB_ENV
- name: Build wheels
uses: pypa/cibuildwheel@v2.11.3
uses: pypa/cibuildwheel@v2.16.2
with:
output-dir: ./wheelhouse
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
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.7 are supported. Both CPython and PyPy are supported.
Python >= 3.8 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.7 are supported. Both CPython and PyPy are supported.
Python >= 3.8 are supported. Both CPython and PyPy are supported.


Contributing
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,18 @@ def get_version():
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'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 :: 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',
cffi_modules = ['src/_cffi_src/build_cares.py:ffi'],
package_dir = {'': 'src'},
packages = ['pycares'],
Expand Down

0 comments on commit bc7630f

Please sign in to comment.