Skip to content

Commit 866e95e

Browse files
Add explicit Python 3.13 support (#204)
* Bumps matrices to include 3.13 * Drop matrix from release workflow; use latest to release * Add individual trove classifiers for each supported version
1 parent f38903b commit 866e95e

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
20+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
2121
steps:
2222
- name: Checkout code
2323
uses: actions/checkout@v4

.github/workflows/conformance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: ["3.8", "3.9", "3.10", "3.11"]
20+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
2121
steps:
2222
- name: Checkout code
2323
uses: actions/checkout@v4

.github/workflows/release.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
1-
name: Upload PyPi Release
1+
name: Upload PyPI Release
22

33
on:
44
release:
55
types: [published]
66

7-
env:
8-
PYTHON_VERSION: '3.7.17'
9-
107
jobs:
118
build:
129
name: Build package
1310
runs-on: ubuntu-latest
1411
environment:
1512
name: release
16-
strategy:
17-
matrix:
18-
python-version: [ "3.11" ]
1913
steps:
2014
- name: Checkout source
2115
uses: actions/checkout@v4
@@ -25,10 +19,10 @@ jobs:
2519
run: |
2620
VERSION=${{github.head_ref}}
2721
echo "VERSION=${VERSION##*/}" >> $GITHUB_ENV
28-
- name: Set up Python ${{ matrix.python-version }}
22+
- name: Set up Python
2923
uses: actions/setup-python@v5
3024
with:
31-
python-version: ${{ matrix.python-version }}
25+
python-version: "3.13"
3226
- name: Install pypa/build
3327
run: |
3428
python -m pip install build
@@ -39,7 +33,7 @@ jobs:
3933
path: dist/
4034

4135
publish:
42-
name: Publish on PyPi
36+
name: Publish on PyPI
4337
runs-on: ubuntu-latest
4438
environment:
4539
name: release
@@ -56,7 +50,7 @@ jobs:
5650
name: package
5751
path: dist
5852

59-
- name: Publish on PyPi
53+
- name: Publish on PyPI
6054
uses: pypa/gh-action-pypi-publish@release/v1
6155
with:
6256
password: ${{ secrets.PYPI_API_TOKEN }}

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ license = { file = "LICENSE" }
1010
keywords = ["validate", "protobuf", "protocol buffer"]
1111
requires-python = ">=3.8"
1212
classifiers = [
13-
"Programming Language :: Python :: 3",
13+
"Programming Language :: Python :: 3.8",
14+
"Programming Language :: Python :: 3.9",
15+
"Programming Language :: Python :: 3.10",
16+
"Programming Language :: Python :: 3.11",
17+
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
1419
"License :: OSI Approved :: Apache Software License",
1520
"Operating System :: OS Independent",
1621
]

0 commit comments

Comments
 (0)