-
Notifications
You must be signed in to change notification settings - Fork 42
chore(python): Add support for Python 3.14 #644
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 all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
0116348
chore(python): Add support for Python 3.14
chalmerlowe 4851f4e
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] f1bb114
feat(ci): Add Python 3.14 support to core files
chalmerlowe 9bdac11
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] e675d4b
fix(owlbot): Ensure 3.14 is in noxfile cpp skip
chalmerlowe cc2fb9d
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] e757e58
feat: Add constraints for Python 3.14
chalmerlowe 9a3f316
feat: Update repo settings and samples for Python 3.14
chalmerlowe b0062d7
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] f9c269b
feat(ci): Update system tests to Python 3.12 and prep for Kokoro sess…
chalmerlowe 603391e
chore(ci): Specify NOX_SESSIONs for default Kokoro presubmit
chalmerlowe 2fa2cc9
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] d2f0005
fix(owlbot): Prevent overwriting Python version and Kokoro configs
chalmerlowe 7829b32
fix: Add setuptools to lint_setup_py session
chalmerlowe c7c49a3
Apply suggestion from @chalmerlowe
chalmerlowe 7ed0dd2
Apply suggestion from @chalmerlowe
chalmerlowe 3130603
Apply suggestion from @chalmerlowe
chalmerlowe 83d70a9
Apply suggestion from @chalmerlowe
chalmerlowe 97a8352
Apply suggestion from @chalmerlowe
chalmerlowe 377b1a4
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] ed545e6
chore: Update mypy.yml python version in owlbot.py
chalmerlowe eb03b52
fix(owlbot): Escape brackets in mypy.yml regex
chalmerlowe 4cdc4d9
fix(owlbot): Correct regex for mypy.yml to use double quotes
chalmerlowe a4ea5b5
fix(owlbot): Correct quoting in mypy.yml regex
chalmerlowe 3d2dc6e
trying to get the regex just right. sigh.
chalmerlowe 8b27239
fix(owlbot): Final correction to mypy.yml regex
chalmerlowe a322da1
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] d6b5ec2
fix: Update python_version in mypy.ini to 3.10
chalmerlowe 0d85c26
chore(owlbot): Exclude .kokoro/presubmit/presubmit.cfg from templated…
chalmerlowe f1a655d
chore: Restore and update NOX_SESSION in presubmit.cfg
chalmerlowe bb3c73b
Apply suggestion from @chalmerlowe
chalmerlowe 77b7120
updates system test flag to enable system to be run within kokoro
chalmerlowe d8d051e
updates presubmit to account for system 3.12 being run elsewhere
chalmerlowe 1e9c026
updates mypy.ini to deal with type hint issue that should be correcte…
chalmerlowe 5fa6318
updates cover pragma to account for path that is not expected to be p…
chalmerlowe 7c1824a
Update .github/workflows/lint.yml
chalmerlowe 136a789
Update .github/workflows/mypy.yml
chalmerlowe 3128b9a
Update .github/workflows/unittest.yml
chalmerlowe c84ecdd
Update owlbot.py
chalmerlowe bf1579e
Update setup.py
chalmerlowe 7f8108f
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 5d9ba84
Merge branch 'feat/add-python-3.14' of https://github.com/googleapis/…
gcf-owl-bot[bot] 3ceda6f
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] b0dfe46
Merge branch 'feat/add-python-3.14' of https://github.com/googleapis/…
gcf-owl-bot[bot] c254496
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] bbf389a
Merge branch 'feat/add-python-3.14' of https://github.com/googleapis/…
gcf-owl-bot[bot] 3fd4644
update post processor/python runtime to 3.14
parthea cc62430
Add TODO comment
parthea f2f73d1
update post processor image
parthea 62c9c58
remove configure_previous_major_version_branches which is unused
parthea c2e3592
remove unused replacements
parthea f510cd3
revert changes to generated files
parthea 4997699
restore testing for Python 3.7
parthea 97887fd
Add missing entry for 3.13
parthea 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
Some comments aren't visible on the classic Files Changed page.
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
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 |
|---|---|---|
|
|
@@ -3,5 +3,5 @@ | |
| # Only run this nox session. | ||
| env_vars: { | ||
| key: "NOX_SESSION" | ||
| value: "system-3.8" | ||
| value: "system-3.12" | ||
| } | ||
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,7 @@ | ||
| # Format: //devtools/kokoro/config/proto/build.proto | ||
|
|
||
| # Only run this nox session. | ||
| env_vars: { | ||
| key: "NOX_SESSION" | ||
| value: "system-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,40 @@ | ||
| # 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-datastore/.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-datastore/.kokoro/trampoline_v2.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: "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-datastore/.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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,17 @@ | ||
| [mypy] | ||
| python_version = 3.8 | ||
| python_version = 3.10 | ||
| namespace_packages = True | ||
| ignore_missing_imports = True | ||
|
|
||
| [mypy-google.cloud.datastore._app_engine_key_pb2] | ||
| ignore_errors = True | ||
|
|
||
| # TODO(https://github.com/googleapis/gapic-generator-python/issues/2410): | ||
| # Remove once this generator bug is fixed | ||
| [mypy-google.cloud.datastore_v1.services.datastore.async_client] | ||
| ignore_errors = True | ||
|
|
||
| # TODO(https://github.com/googleapis/gapic-generator-python/issues/2410): | ||
| # Remove once this generator bug is fixed | ||
| [mypy-google.cloud.datastore_v1.services.datastore.client] | ||
| ignore_errors = 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
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.