Skip to content

Commit

Permalink
build: Add presubmits for Python 3.14 pre-release (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea authored Jan 28, 2025
1 parent ae5d253 commit 205bc92
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ branchProtectionRules:
- 'unit (3.12, upb)'
- 'unit (3.13, python)'
- 'unit (3.13, upb)'
- 'prerelease (3.13, python)'
- 'prerelease (3.13, upb)'
- 'unit (3.14, python)'
- 'unit (3.14, upb)'
- 'prerelease (3.14, python)'
- 'prerelease (3.14, upb)'
- cover
- OwlBot Post Processor
- 'cla/google'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# See https://github.com/actions/setup-python?tab=readme-ov-file#basic-usage
# for the format of the entries in 'python'.
# See https://downloads.python.org/pypy/ for the current supported versions of PyPy.
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.10']
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', 'pypy3.10']
variant: ['cpp', 'python', 'upb']
# TODO(https://github.com/googleapis/proto-plus-python/issues/389):
# Remove the 'cpp' implementation once support for Protobuf 3.x is dropped.
Expand All @@ -59,6 +59,8 @@ jobs:
python: 3.12
- variant: "cpp"
python: 3.13
- variant: "cpp"
python: 3.14
# In PyPy 3.10, we see the following warning
# UserWarning: Selected implementation upb is not available. Falling back to the python implementation.
- variant: "upb"
Expand Down Expand Up @@ -92,7 +94,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python: ['3.13']
python: ['3.14']
variant: ['python', 'upb']
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"3.11",
"3.12",
"3.13",
"3.14",
]

# Error if a python version is missing
Expand Down
Empty file added testing/constraints-3.14.txt
Empty file.

0 comments on commit 205bc92

Please sign in to comment.