Skip to content

Commit

Permalink
Prepare for release of v1.1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Sep 14, 2023
1 parent 6ddd28e commit b75176f
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 36 deletions.
30 changes: 8 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Set git to use LF on Windows
if: runner.os == 'Windows'
Expand All @@ -31,26 +32,11 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v1
if: runner.os != 'Windows' # see issue #174
with:
python-version: 2.7
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: 3.5
- uses: actions/setup-python@v1
with:
python-version: 3.9
# - name: Install Visual C++ for Python 2.7
# if: runner.os == 'Windows'
# run: choco install vcpython27 -f -y
- name: Run tests on Windows # see issue #174
if: runner.os == 'Windows'
run: |
python -m pip install tox
tox -e py35,py39
- name: Run tests on Linux and macOS
if: runner.os != 'Windows'
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Run tests
run: |
python -m pip install tox
tox --skip-missing-interpreters
Expand All @@ -63,7 +49,7 @@ jobs:
submodules: recursive
- uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.x
- name: Build source package
run: python setup.py sdist
- name: Upload source package
Expand Down Expand Up @@ -105,13 +91,13 @@ jobs:
if: runner.os == 'Windows'
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: cp35-${{ matrix.name }}* pp*-${{ matrix.name }}*
CIBW_BUILD: cp37-${{ matrix.name }}* pp*-${{ matrix.name }}*

- name: Build wheels for Linux and macOS
if: runner.os != 'Windows'
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: cp27-${{ matrix.name }}* cp35-${{ matrix.name }}* pp*-${{ matrix.name }}*
CIBW_BUILD: cp37-${{ matrix.name }}* pp*-${{ matrix.name }}*
CIBW_ARCHS_LINUX: auto aarch64
CIBW_BEFORE_BUILD_LINUX: yum install -y libffi-devel
- uses: actions/upload-artifact@v2
Expand Down
8 changes: 8 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

1.1.0.0 (2023-09-13)
--------------------

- Upgraded libbrotli to v1.1.0
- Added explicit support for Python 3.10, 3.11, and 3.12
- Removed support for Python 2.7, 3.5, and 3.6


1.0.9.2 (2021-04-06)
--------------------

Expand Down
5 changes: 0 additions & 5 deletions Makefile

This file was deleted.

3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ markers =
slow: marks tests as slow (deselect with '-m "not slow"')

[metadata]
license_file = LICENSE
license_files =
LICENSE
11 changes: 4 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def finalize_options(self):
],
install_requires=[
"cffi>=1.0.0",
"enum34;python_version<'3.4'",
],
python_requires=">=3.7",
cffi_modules=["src/brotlicffi/_build.py:ffi"],
packages=find_packages('src'),
package_dir={'': 'src'},
Expand All @@ -112,15 +112,12 @@ def finalize_options(self):
classifiers=[
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"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",
]
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py34, py35, py36, py37, py38, py39, pypy, lint
envlist = py37, py38, py39, py310, py311, py312, pypy, lint

[testenv]
deps= -r{toxinidir}/test_requirements.txt
Expand Down

0 comments on commit b75176f

Please sign in to comment.