Skip to content

Commit 39d0fbd

Browse files
committed
chore: drop Python 3.8 support
Signed-off-by: Yurii Serhiichuk <[email protected]>
1 parent 2abba49 commit 39d0fbd

File tree

7 files changed

+8
-29
lines changed

7 files changed

+8
-29
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
test:
2323
strategy:
2424
matrix:
25-
python: ['3.8', '3.9', '3.10', '3.11']
25+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
2626
os: [ubuntu-latest, windows-latest, macos-latest]
2727
runs-on: ${{ matrix.os }}
2828
steps:

.github/workflows/pypi-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
build_dist:
1212
name: Build source distribution
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:
@@ -27,15 +27,15 @@ jobs:
2727
- name: Check metadata
2828
run: pipx run twine check dist/*
2929
publish:
30-
runs-on: ubuntu-22.04
30+
runs-on: ubuntu-latest
3131
if: github.event_name == 'push'
3232
needs: [ build_dist ]
3333
steps:
3434
- uses: actions/checkout@v4
3535
with:
3636
fetch-depth: 0
3737
- name: Set up Python
38-
uses: actions/setup-python@v4
38+
uses: actions/setup-python@v5
3939
with:
4040
python-version: "3.11"
4141
cache: 'pip'

cloudevents/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15-
__version__ = "1.11.1"
15+
__version__ = "1.12.0"

requirements/constraints.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

requirements/mypy-constraints.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ def get_version(rel_path):
6565
"Programming Language :: Python",
6666
"Programming Language :: Python :: 3",
6767
"Programming Language :: Python :: 3 :: Only",
68-
"Programming Language :: Python :: 3.8",
6968
"Programming Language :: Python :: 3.9",
7069
"Programming Language :: Python :: 3.10",
7170
"Programming Language :: Python :: 3.11",
71+
"Programming Language :: Python :: 3.12",
72+
"Programming Language :: Python :: 3.13",
7273
"Typing :: Typed",
7374
],
7475
keywords="CloudEvents Eventing Serverless",

tox.ini

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{38,39,310,311,312},lint,mypy,mypy-samples-{image,json}
2+
envlist = py{39,310,311,312,313},lint,mypy,mypy-samples-{image,json}
33
skipsdist = True
44

55
[testenv]
@@ -8,7 +8,6 @@ deps =
88
-r{toxinidir}/requirements/test.txt
99
-r{toxinidir}/requirements/publish.txt
1010
setenv =
11-
PIP_CONSTRAINT={toxinidir}/requirements/constraints.txt
1211
PYTESTARGS = -v -s --tb=long --cov=cloudevents --cov-report term-missing --cov-fail-under=95
1312
commands = pytest {env:PYTESTARGS} {posargs}
1413

@@ -34,8 +33,6 @@ commands =
3433

3534
[testenv:mypy]
3635
basepython = python3.11
37-
setenv =
38-
PIP_CONSTRAINT={toxinidir}/requirements/mypy-constraints.txt
3936
deps =
4037
-r{toxinidir}/requirements/mypy.txt
4138
# mypy needs test dependencies to check test modules

0 commit comments

Comments
 (0)