Skip to content

Commit 0321443

Browse files
authored
Release 1.5.0 (#37)
* Bump version to 1.5.0 and update Python classifiers to include 3.12, 3.13, and 3.14 * Update dependencies and CI (#34) * Update GitHub Actions workflow to support Python 3.8-3.13 and improve formatting * Add Python 3.14 to the testing matrix in GitHub Actions workflow * Update dependency versions in requirements files * Remove concurrency settings from GitHub Actions workflow * Update job name in GitHub Actions workflow to include lib in tests name * Add typed.py (#35) * Update GitHub Actions workflow to support Python 3.8-3.13 and improve formatting * Add Python 3.14 to the testing matrix in GitHub Actions workflow * Update dependency versions in requirements files * Remove concurrency settings from GitHub Actions workflow * Update job name in GitHub Actions workflow to include lib in tests name * Add py.typed file for type hinting support * Remove Python 3.8 from the testing matrix in GitHub Actions workflow
1 parent 5b8cf6b commit 0321443

4 files changed

Lines changed: 32 additions & 30 deletions

File tree

.github/workflows/tests.yml

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,40 @@ name: Tests
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [master]
99
pull_request:
10-
branches: [ master ]
10+
branches: [master]
11+
types: [opened, synchronize, reopened]
1112

1213
jobs:
1314
tests:
14-
name: "Python ${{ matrix.python-version }}"
15+
name: "Python ${{ matrix.python-version }} - ${{ matrix.extras-install }}"
1516

1617
runs-on: ubuntu-latest
1718
strategy:
1819
matrix:
1920
extras-install: [test_brotli, test_brotlipy]
20-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
21+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2122

2223
steps:
23-
- uses: actions/checkout@v2
24-
- name: Set up Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@v2
26-
with:
27-
python-version: ${{ matrix.python-version }}
28-
- name: Install dependencies
29-
run: |
30-
python -m pip install --upgrade pip
31-
pip install -r requirements-dev.txt
32-
pip install '.[${{ matrix.extras-install }}]'
33-
- name: Lint with flake8
34-
run: |
35-
# stop the build if there are Python syntax errors or undefined names
36-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
37-
flake8 . --count --max-complexity=10 --max-line-length=95 --statistics
38-
- name: Test with pytest
39-
run: |
40-
pytest tests.py
41-
- name: Check typings with mypy
42-
run: |
43-
mypy brotli_asgi
24+
- uses: actions/checkout@v2
25+
- name: Set up Python ${{ matrix.python-version }}
26+
uses: actions/setup-python@v2
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install -r requirements-dev.txt
33+
pip install '.[${{ matrix.extras-install }}]'
34+
- name: Lint with flake8
35+
run: |
36+
# stop the build if there are Python syntax errors or undefined names
37+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
38+
flake8 . --count --max-complexity=10 --max-line-length=95 --statistics
39+
- name: Test with pytest
40+
run: |
41+
pytest tests.py
42+
- name: Check typings with mypy
43+
run: |
44+
mypy brotli_asgi

brotli_asgi/py.typed

Whitespace-only changes.

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Brotli==1.0.9
2-
starlette==0.25.0
1+
Brotli==1.1.0
2+
starlette==0.48.0

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
setup(
1515
name="brotli-asgi",
16-
version="1.4.0",
16+
version="1.5.0",
1717
url="https://github.com/fullonic/brotli-asgi",
1818
license="MIT",
1919
author="Diogo B Freitas",
@@ -30,10 +30,11 @@
3030
classifiers=[
3131
"Environment :: Web Environment",
3232
"Operating System :: OS Independent",
33-
"Programming Language :: Python :: 3.7",
34-
"Programming Language :: Python :: 3.8",
3533
"Programming Language :: Python :: 3.9",
3634
"Programming Language :: Python :: 3.10",
3735
"Programming Language :: Python :: 3.11",
36+
"Programming Language :: Python :: 3.12",
37+
"Programming Language :: Python :: 3.13",
38+
"Programming Language :: Python :: 3.14",
3839
],
3940
)

0 commit comments

Comments
 (0)