Skip to content

Commit 66e8494

Browse files
authored
feat: Add support for Python 3.13 (#493)
* feat: Add support for Python 3.13 * update python version for prerelease_deps
1 parent ccbfd45 commit 66e8494

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

packages/proto-plus/.github/sync-repo-settings.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ branchProtectionRules:
2323
- 'unit (3.11, upb)'
2424
- 'unit (3.12, python)'
2525
- 'unit (3.12, upb)'
26-
- 'prerelease (3.12, python)'
27-
- 'prerelease (3.12, upb)'
26+
- 'unit (3.13, python)'
27+
- 'unit (3.13, upb)'
28+
- 'prerelease (3.13, python)'
29+
- 'prerelease (3.13, upb)'
2830
- cover
2931
- OwlBot Post Processor
3032
- 'cla/google'

packages/proto-plus/.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
runs-on: ubuntu-22.04
8888
strategy:
8989
matrix:
90-
python: ['3.12']
90+
python: ['3.13']
9191
variant: ['python', 'upb']
9292
steps:
9393
- uses: actions/checkout@v4

packages/proto-plus/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def unit(session, implementation):
7777
# Only test upb and python implementation backends.
7878
# As of protobuf 4.x, the "ccp" implementation is not available in the PyPI package as per
7979
# https://github.com/protocolbuffers/protobuf/tree/main/python#implementation-backends
80-
@nox.session(python=PYTHON_VERSIONS[-2])
80+
@nox.session(python=PYTHON_VERSIONS[-1])
8181
@nox.parametrize("implementation", ["python", "upb"])
8282
def prerelease_deps(session, implementation):
8383
"""Run the unit test suite against pre-release versions of dependencies."""

packages/proto-plus/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"Programming Language :: Python :: 3.10",
6363
"Programming Language :: Python :: 3.11",
6464
"Programming Language :: Python :: 3.12",
65+
"Programming Language :: Python :: 3.13",
6566
"Topic :: Software Development :: Code Generators",
6667
"Topic :: Software Development :: Libraries :: Python Modules",
6768
],

0 commit comments

Comments
 (0)