Skip to content

Commit b105647

Browse files
authored
Support python 3.14 (#28)
1 parent 25aa7c4 commit b105647

File tree

10 files changed

+17
-26
lines changed

10 files changed

+17
-26
lines changed

.github/workflows/python-code-style.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v5
20-
- name: Set up Python 3.13
20+
- name: Set up Python 3.14
2121
uses: actions/setup-python@v6
2222
with:
23-
python-version: "3.13"
23+
python-version: "3.14"
2424
- name: Install uv
2525
uses: astral-sh/setup-uv@v7
2626
- name: Install dependencies

.github/workflows/python-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v5
20-
- name: Set up Python 3.13
20+
- name: Set up Python 3.14
2121
uses: actions/setup-python@v6
2222
with:
23-
python-version: "3.13"
23+
python-version: "3.14"
2424
- name: Install uv
2525
uses: astral-sh/setup-uv@v7
2626
- name: Install dependencies

.github/workflows/python-quality.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v5
20-
- name: Set up Python 3.13
20+
- name: Set up Python 3.14
2121
uses: actions/setup-python@v6
2222
with:
23-
python-version: "3.13"
23+
python-version: "3.14"
2424
- name: Install uv
2525
uses: astral-sh/setup-uv@v7
2626
- name: Install dependencies
@@ -30,7 +30,3 @@ jobs:
3030
run: make dev-dependencies
3131
- name: Run coverage
3232
run: make ci-coverage
33-
- uses: qltysh/qlty-action/coverage@v2
34-
with:
35-
token: ${{secrets.QLTY_COVERAGE_TOKEN}}
36-
files: ${{github.workspace}}/coverage.lcov

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
22+
version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2323
os: [ubuntu-latest]
2424
runs-on: ${{ matrix.os }}
2525
steps:

.github/workflows/python-typing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v5
20-
- name: Set up Python 3.13
20+
- name: Set up Python 3.14
2121
uses: actions/setup-python@v6
2222
with:
23-
python-version: "3.13"
23+
python-version: "3.14"
2424
- name: Install uv
2525
uses: astral-sh/setup-uv@v7
2626
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@v5
1919

20-
- name: Set up Python 3.13
20+
- name: Set up Python 3.14
2121
uses: actions/setup-python@v6
2222
with:
23-
python-version: "3.13"
23+
python-version: "3.14"
2424

2525
- name: Install uv
2626
uses: astral-sh/setup-uv@v7

.github/workflows/reusable-github-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ jobs:
3939
- name: Checkout
4040
uses: actions/checkout@v5
4141

42-
- name: Set up Python 3.13
42+
- name: Set up Python 3.14
4343
uses: actions/setup-python@v6
4444
with:
45-
python-version: "3.13"
45+
python-version: "3.14"
4646

4747
# Here we want to install the current package in editable mode,
4848
# in case mkdocs needs the package (i.e. we are building a mkdocs plugin).

.qlty/qlty.toml

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

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "cloudevents-pydantic"
33
dynamic = ["version"]
44
description = "An implementation of the CloudEvents spec using Pydantic V2"
55
authors = [{ name = "Federico Busetti", email = "[email protected]" }]
6-
requires-python = ">=3.9,<3.14"
6+
requires-python = ">=3.9,<3.15"
77
readme = "README.md"
88
license = "MIT"
99
classifiers = [
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.11",
2323
"Programming Language :: Python :: 3.12",
2424
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
2526
"Typing :: Typed",
2627
]
2728
dependencies = [

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[tox]
22
min_version = 4.0
33
env_list =
4+
py314
45
py313
56
py312
67
py311
@@ -16,7 +17,7 @@ dependency_groups = dev
1617
commands =
1718
pytest
1819

19-
[testenv:py313]
20+
[testenv:py314]
2021
; Run with coverage in one python version to check coverage percentage
2122
commands =
2223
pytest --cov

0 commit comments

Comments
 (0)