Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 66e8494

Browse filesBrowse 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
Copy full SHA for 66e8494

File tree

Expand file treeCollapse file tree

4 files changed

+7
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

4 files changed

+7
-4
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: packages/proto-plus/.github/sync-repo-settings.yaml
+4-2Lines 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'
Collapse file

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

Copy file name to clipboardExpand all lines: packages/proto-plus/.github/workflows/tests.yml
+1-1Lines 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
Collapse file

‎packages/proto-plus/noxfile.py‎

Copy file name to clipboardExpand all lines: packages/proto-plus/noxfile.py
+1-1Lines 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."""
Collapse file

‎packages/proto-plus/setup.py‎

Copy file name to clipboardExpand all lines: packages/proto-plus/setup.py
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.