Skip to content

Commit 91eaa49

Browse files
committed
Prepare for release of v1.1.0.0
1 parent fc20aad commit 91eaa49

File tree

6 files changed

+23
-36
lines changed

6 files changed

+23
-36
lines changed

.github/workflows/ci.yml

+8-22
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, macos-latest, windows-latest]
25+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
2526
steps:
2627
- name: Set git to use LF on Windows
2728
if: runner.os == 'Windows'
@@ -31,26 +32,11 @@ jobs:
3132
- uses: actions/checkout@v2
3233
with:
3334
submodules: recursive
34-
- uses: actions/setup-python@v1
35-
if: runner.os != 'Windows' # see issue #174
36-
with:
37-
python-version: 2.7
38-
- uses: actions/setup-python@v1
35+
- uses: actions/setup-python@v4
3936
with:
40-
python-version: 3.5
41-
- uses: actions/setup-python@v1
42-
with:
43-
python-version: 3.9
44-
# - name: Install Visual C++ for Python 2.7
45-
# if: runner.os == 'Windows'
46-
# run: choco install vcpython27 -f -y
47-
- name: Run tests on Windows # see issue #174
48-
if: runner.os == 'Windows'
49-
run: |
50-
python -m pip install tox
51-
tox -e py35,py39
52-
- name: Run tests on Linux and macOS
53-
if: runner.os != 'Windows'
37+
python-version: ${{ matrix.python-version }}
38+
allow-prereleases: true
39+
- name: Run tests
5440
run: |
5541
python -m pip install tox
5642
tox --skip-missing-interpreters
@@ -63,7 +49,7 @@ jobs:
6349
submodules: recursive
6450
- uses: actions/setup-python@v1
6551
with:
66-
python-version: 3.8
52+
python-version: 3.x
6753
- name: Build source package
6854
run: python setup.py sdist
6955
- name: Upload source package
@@ -105,13 +91,13 @@ jobs:
10591
if: runner.os == 'Windows'
10692
run: python -m cibuildwheel --output-dir wheelhouse
10793
env:
108-
CIBW_BUILD: cp35-${{ matrix.name }}* pp*-${{ matrix.name }}*
94+
CIBW_BUILD: cp37-${{ matrix.name }}* pp*-${{ matrix.name }}*
10995

11096
- name: Build wheels for Linux and macOS
11197
if: runner.os != 'Windows'
11298
run: python -m cibuildwheel --output-dir wheelhouse
11399
env:
114-
CIBW_BUILD: cp27-${{ matrix.name }}* cp35-${{ matrix.name }}* pp*-${{ matrix.name }}*
100+
CIBW_BUILD: cp37-${{ matrix.name }}* pp*-${{ matrix.name }}*
115101
CIBW_ARCHS_LINUX: auto aarch64
116102
CIBW_BEFORE_BUILD_LINUX: yum install -y libffi-devel
117103
- uses: actions/upload-artifact@v2

HISTORY.rst

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Changelog
22
=========
33

4+
1.1.0.0 (2023-09-13)
5+
--------------------
6+
7+
- Upgraded libbrotli to v1.1.0
8+
- Added explicit support for Python 3.10, 3.11, and 3.12
9+
- Removed support for Python 2.7, 3.5, and 3.6
10+
11+
412
1.0.9.2 (2021-04-06)
513
--------------------
614

Makefile

-5
This file was deleted.

setup.cfg

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ markers =
44
slow: marks tests as slow (deselect with '-m "not slow"')
55

66
[metadata]
7-
license_file = LICENSE
7+
license_files =
8+
LICENSE

setup.py

+4-7
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def finalize_options(self):
9797
],
9898
install_requires=[
9999
"cffi>=1.0.0",
100-
"enum34;python_version<'3.4'",
101100
],
101+
python_requires=">=3.7",
102102
cffi_modules=["src/brotlicffi/_build.py:ffi"],
103103
packages=find_packages('src'),
104104
package_dir={'': 'src'},
@@ -112,15 +112,12 @@ def finalize_options(self):
112112
classifiers=[
113113
"Programming Language :: Python :: Implementation :: CPython",
114114
"Programming Language :: Python :: Implementation :: PyPy",
115-
"Programming Language :: Python :: 2",
116-
"Programming Language :: Python :: 2.7",
117115
"Programming Language :: Python :: 3",
118-
"Programming Language :: Python :: 3.3",
119-
"Programming Language :: Python :: 3.4",
120-
"Programming Language :: Python :: 3.5",
121-
"Programming Language :: Python :: 3.6",
122116
"Programming Language :: Python :: 3.7",
123117
"Programming Language :: Python :: 3.8",
124118
"Programming Language :: Python :: 3.9",
119+
"Programming Language :: Python :: 3.10",
120+
"Programming Language :: Python :: 3.11",
121+
"Programming Language :: Python :: 3.12",
125122
]
126123
)

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27, py34, py35, py36, py37, py38, py39, pypy, lint
2+
envlist = py37, py38, py39, py310, py311, py312, pypy, lint
33

44
[testenv]
55
deps= -r{toxinidir}/test_requirements.txt

0 commit comments

Comments
 (0)