Skip to content

Commit 86a081b

Browse files
committed
drop support for only Python 3.7
1 parent 59c7ef1 commit 86a081b

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, macos-latest, windows-latest]
25-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
25+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2626
steps:
2727
- name: Set git to use LF on Windows
2828
if: runner.os == 'Windows'
@@ -51,7 +51,9 @@ jobs:
5151
with:
5252
python-version: 3.x
5353
- name: Build source package
54-
run: python setup.py sdist
54+
run: |
55+
pip install build
56+
python -m build --sdist
5557
- name: Upload source package
5658
uses: actions/upload-artifact@v4
5759
with:
@@ -65,7 +67,7 @@ jobs:
6567
include:
6668
- name: manylinux
6769
os: ubuntu-latest
68-
- name: macos
70+
- name: macosx
6971
os: macos-latest
7072
- name: win
7173
os: windows-latest
@@ -92,13 +94,15 @@ jobs:
9294
if: runner.os == 'Windows'
9395
run: python -m cibuildwheel --output-dir wheelhouse
9496
env:
95-
CIBW_BUILD: cp310-${{ matrix.name }}* pp*-${{ matrix.name }}*
97+
CIBW_BUILD: cp38-${{ matrix.name }}* pp*-${{ matrix.name }}*
98+
CIBW_ENABLE: pypy
9699

97100
- name: Build wheels for Linux and macOS
98101
if: runner.os != 'Windows'
99102
run: python -m cibuildwheel --output-dir wheelhouse
100103
env:
101-
CIBW_BUILD: cp310-${{ matrix.name }}* pp*-${{ matrix.name }}*
104+
CIBW_BUILD: cp38-${{ matrix.name }}* pp*-${{ matrix.name }}*
105+
CIBW_ENABLE: pypy
102106
CIBW_ARCHS_LINUX: auto aarch64
103107
CIBW_BEFORE_BUILD_LINUX: yum install -y libffi-devel
104108
- uses: actions/upload-artifact@v4

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def finalize_options(self):
9898
install_requires=[
9999
"cffi>=1.0.0",
100100
],
101-
python_requires=">=3.7",
101+
python_requires=">=3.8",
102102
cffi_modules=["src/brotlicffi/_build.py:ffi"],
103103
packages=find_packages('src'),
104104
package_dir={'': 'src'},
@@ -113,7 +113,6 @@ def finalize_options(self):
113113
"Programming Language :: Python :: Implementation :: CPython",
114114
"Programming Language :: Python :: Implementation :: PyPy",
115115
"Programming Language :: Python :: 3",
116-
"Programming Language :: Python :: 3.7",
117116
"Programming Language :: Python :: 3.8",
118117
"Programming Language :: Python :: 3.9",
119118
"Programming Language :: Python :: 3.10",

0 commit comments

Comments
 (0)