-
Notifications
You must be signed in to change notification settings - Fork 57
feat: Add support for python 3.14 #1065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 33 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
119d155
chore: add support for python 3.14
ohmayr face4f7
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 4955cb9
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 727ae5d
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] e15caae
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 9ee84f1
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 5ff43ff
Edited client library files for 3.14 support
gkevinzheng f230636
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] e157972
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] c23eeee
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 89d3996
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 848d7a1
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 5f346a6
Noxfile changes
gkevinzheng dff44bb
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] f6c6fae
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 2c44a75
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 02016f1
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] fcd47fa
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] d5cf0e5
Updated owlbot version
gkevinzheng 0438b64
Updated default python version in noxfile
gkevinzheng 958da36
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] bf38343
Fixed system test version in owlbot.py
gkevinzheng e96df9f
Fixed noxfile version + samples test sink cleanup
gkevinzheng 903c532
Disabled protobuf cpp testing for 3.14
gkevinzheng a3b49f4
Fixed linting errors
gkevinzheng cc41714
Use bucket.delete_blobs instead of deleting blobs individually
gkevinzheng 4f618b2
Force delete buckets
gkevinzheng 1520cd1
Merge remote-tracking branch 'origin/main' into add-314-support
parthea 5c996f8
set python 3.14 as the default version
parthea 3af9757
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] e6e5d63
set python 3.14 as the default version for system tests
parthea 3e16ec9
Merge branch 'main' into sanche-add-314-support
daniel-sanche 443d324
fixed multiprocessing in tests
daniel-sanche 6cec435
Update setup.py
daniel-sanche 5f73874
re-applied librarian changes
daniel-sanche 9fa784c
update version for skip
daniel-sanche eefccba
revert new dependencies
daniel-sanche 5468c4e
changed librarian system test version
daniel-sanche c8f2bf1
fixed lint
daniel-sanche File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Copyright 2025 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| docker: | ||
| image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest | ||
| digest: sha256:543e209e7c1c1ffe720eb4db1a3f045a75099304fb19aa11a47dc717b8aae2a9 | ||
| # created: 2025-04-10T16:21:41.67162455Z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # https://github.com/googleapis/repo-automation-bots/tree/main/packages/sync-repo-settings | ||
| # Rules for main branch protection | ||
| branchProtectionRules: | ||
| # Identifies the protection rule pattern. Name of the branch to be protected. | ||
| # Defaults to `main` | ||
| - pattern: main | ||
| requiresCodeOwnerReviews: true | ||
| requiresStrictStatusChecks: true | ||
| requiredStatusCheckContexts: | ||
| - 'Kokoro' | ||
| - 'cla/google' | ||
| - 'Samples - Lint' | ||
| - 'Samples - Python 3.7' | ||
| - 'Samples - Python 3.8' | ||
| - 'Samples - Python 3.9' | ||
| - 'Samples - Python 3.10' | ||
| - 'Samples - Python 3.11' | ||
| - 'Samples - Python 3.12' | ||
| - 'Samples - Python 3.13' | ||
| - 'Samples - Python 3.14' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| # Format: //devtools/kokoro/config/proto/build.proto | ||
|
|
||
| # Build logs will be here | ||
| action { | ||
| define_artifacts { | ||
| regex: "**/*sponge_log.xml" | ||
| } | ||
| } | ||
|
|
||
| # Specify which tests to run | ||
| env_vars: { | ||
| key: "RUN_TESTS_SESSION" | ||
| value: "py-3.14" | ||
| } | ||
|
|
||
| # Declare build specific Cloud project. | ||
| env_vars: { | ||
| key: "BUILD_SPECIFIC_GCLOUD_PROJECT" | ||
| value: "python-docs-samples-tests-314" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "TRAMPOLINE_BUILD_FILE" | ||
| value: "github/python-logging/.kokoro/test-samples.sh" | ||
| } | ||
|
|
||
| # Configure the docker image for kokoro-trampoline. | ||
| env_vars: { | ||
| key: "TRAMPOLINE_IMAGE" | ||
| value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker" | ||
| } | ||
|
|
||
| # Download secrets for samples | ||
| gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples" | ||
|
|
||
| # Download trampoline resources. | ||
| gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" | ||
|
|
||
| # Use the trampoline script to run in docker. | ||
| build_file: "python-logging/.kokoro/trampoline_v2.sh" | ||
|
|
||
|
|
||
| ############################################# | ||
| # this section merged from .kokoro/common_env_vars.cfg using owlbot.py | ||
|
|
||
| env_vars: { | ||
| key: "PRODUCT_AREA_LABEL" | ||
| value: "observability" | ||
| } | ||
| env_vars: { | ||
| key: "PRODUCT_LABEL" | ||
| value: "logging" | ||
| } | ||
| env_vars: { | ||
| key: "LANGUAGE_LABEL" | ||
| value: "python" | ||
| } | ||
|
|
||
| ################################################### | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Format: //devtools/kokoro/config/proto/build.proto | ||
|
|
||
| env_vars: { | ||
| key: "INSTALL_LIBRARY_FROM_SOURCE" | ||
| value: "True" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Format: //devtools/kokoro/config/proto/build.proto | ||
|
|
||
| env_vars: { | ||
| key: "INSTALL_LIBRARY_FROM_SOURCE" | ||
| value: "True" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "TRAMPOLINE_BUILD_FILE" | ||
| value: "github/python-logging/.kokoro/test-samples-against-head.sh" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Format: //devtools/kokoro/config/proto/build.proto | ||
|
|
||
| env_vars: { | ||
| key: "INSTALL_LIBRARY_FROM_SOURCE" | ||
| value: "False" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Format: //devtools/kokoro/config/proto/build.proto | ||
|
|
||
| env_vars: { | ||
| key: "INSTALL_LIBRARY_FROM_SOURCE" | ||
| value: "True" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # -*- coding: utf-8 -*- | ||
| # This constraints file is required for unit tests. | ||
| # List all library dependencies and extras in this file. | ||
| google-api-core | ||
| google-auth | ||
| proto-plus | ||
| protobuf | ||
| google-cloud-core | ||
| google-cloud-appengine-logging | ||
| google-cloud-audit-log | ||
| grpc-google-iam-v1 | ||
| opentelemetry-api | ||
|
|
||
| # optional dependencies | ||
| django | ||
| flask |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.