GeezerVison is showing github.com — feat: add support for Python 3.14 (#14699) · googleapis/google-cloud-python@8b69540
File treeExpand file treeCollapse file tree Open diff view settings google-cloud-access-context-manager
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-access-context-manager/noxfile.py +22-3Lines changed: 22 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 40 | 40 | "3.11", | 41 | 41 | "3.12", | 42 | 42 | "3.13", | | 43 | + "3.14", | 43 | 44 | ] | 44 | 45 |
| 45 | 46 | DEFAULT_PYTHON_VERSION = UNIT_TEST_PYTHON_VERSIONS[-1] | | 57 | 58 | UNIT_TEST_EXTRAS: List[str] = [] | 58 | 59 | UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} | 59 | 60 |
| 60 | | -SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | | 61 | +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = [ | | 62 | + "3.8", | | 63 | + "3.9", | | 64 | + "3.10", | | 65 | + "3.11", | | 66 | + "3.12", | | 67 | + "3.13", | | 68 | + "3.14", | | 69 | +] | 61 | 70 | SYSTEM_TEST_STANDARD_DEPENDENCIES = [ | 62 | 71 | "mock", | 63 | 72 | "pytest", | @@ -176,7 +185,12 @@ def install_unittest_dependencies(session, *constraints): | 176 | 185 | def unit(session, protobuf_implementation): | 177 | 186 | # Install all test dependencies, then install this package in-place. | 178 | 187 |
| 179 | | - if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"): | | 188 | + if protobuf_implementation == "cpp" and session.python in ( | | 189 | + "3.11", | | 190 | + "3.12", | | 191 | + "3.13", | | 192 | + "3.14", | | 193 | + ): | 180 | 194 | session.skip("cpp implementation is not supported in python 3.11+") | 181 | 195 |
| 182 | 196 | constraints_path = str( | @@ -389,7 +403,12 @@ def prerelease_deps(session, protobuf_implementation): | 389 | 403 | `pip install --pre <package>`. | 390 | 404 | """ | 391 | 405 |
| 392 | | - if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"): | | 406 | + if protobuf_implementation == "cpp" and session.python in ( | | 407 | + "3.11", | | 408 | + "3.12", | | 409 | + "3.13", | | 410 | + "3.14", | | 411 | + ): | 393 | 412 | session.skip("cpp implementation is not supported in python 3.11+") | 394 | 413 |
| 395 | 414 | # Install all dependencies | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-access-context-manager/setup.py +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 62 | 62 | "Programming Language :: Python :: 3.11", | 63 | 63 | "Programming Language :: Python :: 3.12", | 64 | 64 | "Programming Language :: Python :: 3.13", | | 65 | + "Programming Language :: Python :: 3.14", | 65 | 66 | "Operating System :: OS Independent", | 66 | 67 | "Topic :: Internet", | 67 | 68 | ], | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-access-context-manager/testing/constraints-3.14.txt Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-audit-log/noxfile.py +22-3Lines changed: 22 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 40 | 40 | "3.11", | 41 | 41 | "3.12", | 42 | 42 | "3.13", | | 43 | + "3.14", | 43 | 44 | ] | 44 | 45 |
| 45 | 46 | DEFAULT_PYTHON_VERSION = UNIT_TEST_PYTHON_VERSIONS[-1] | | 57 | 58 | UNIT_TEST_EXTRAS: List[str] = [] | 58 | 59 | UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} | 59 | 60 |
| 60 | | -SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | | 61 | +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = [ | | 62 | + "3.8", | | 63 | + "3.9", | | 64 | + "3.10", | | 65 | + "3.11", | | 66 | + "3.12", | | 67 | + "3.13", | | 68 | + "3.14", | | 69 | +] | 61 | 70 | SYSTEM_TEST_STANDARD_DEPENDENCIES = [ | 62 | 71 | "mock", | 63 | 72 | "pytest", | @@ -176,7 +185,12 @@ def install_unittest_dependencies(session, *constraints): | 176 | 185 | def unit(session, protobuf_implementation): | 177 | 186 | # Install all test dependencies, then install this package in-place. | 178 | 187 |
| 179 | | - if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"): | | 188 | + if protobuf_implementation == "cpp" and session.python in ( | | 189 | + "3.11", | | 190 | + "3.12", | | 191 | + "3.13", | | 192 | + "3.14", | | 193 | + ): | 180 | 194 | session.skip("cpp implementation is not supported in python 3.11+") | 181 | 195 |
| 182 | 196 | constraints_path = str( | @@ -389,7 +403,12 @@ def prerelease_deps(session, protobuf_implementation): | 389 | 403 | `pip install --pre <package>`. | 390 | 404 | """ | 391 | 405 |
| 392 | | - if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"): | | 406 | + if protobuf_implementation == "cpp" and session.python in ( | | 407 | + "3.11", | | 408 | + "3.12", | | 409 | + "3.13", | | 410 | + "3.14", | | 411 | + ): | 393 | 412 | session.skip("cpp implementation is not supported in python 3.11+") | 394 | 413 |
| 395 | 414 | # Install all dependencies | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-audit-log/setup.py +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 52 | 52 | "Programming Language :: Python :: 3.11", | 53 | 53 | "Programming Language :: Python :: 3.12", | 54 | 54 | "Programming Language :: Python :: 3.13", | | 55 | + "Programming Language :: Python :: 3.14", | 55 | 56 | "Programming Language :: Python :: Implementation :: CPython", | 56 | 57 | ], | 57 | 58 | description=description, | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-audit-log/testing/constraints-3.14.txt Collapse file Copy file name to clipboardExpand all lines: packages/googleapis-common-protos/.OwlBot.yaml -18Lines changed: 0 additions & 18 deletions Collapse file Copy file name to clipboardExpand all lines: packages/googleapis-common-protos/noxfile.py +22-3Lines changed: 22 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 40 | 40 | "3.11", | 41 | 41 | "3.12", | 42 | 42 | "3.13", | | 43 | + "3.14", | 43 | 44 | ] | 44 | 45 |
| 45 | 46 | DEFAULT_PYTHON_VERSION = UNIT_TEST_PYTHON_VERSIONS[-1] | | 57 | 58 | UNIT_TEST_EXTRAS: List[str] = [] | 58 | 59 | UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} | 59 | 60 |
| 60 | | -SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | | 61 | +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = [ | | 62 | + "3.8", | | 63 | + "3.9", | | 64 | + "3.10", | | 65 | + "3.11", | | 66 | + "3.12", | | 67 | + "3.13", | | 68 | + "3.14", | | 69 | +] | 61 | 70 | SYSTEM_TEST_STANDARD_DEPENDENCIES = [ | 62 | 71 | "mock", | 63 | 72 | "pytest", | @@ -176,7 +185,12 @@ def install_unittest_dependencies(session, *constraints): | 176 | 185 | def unit(session, protobuf_implementation): | 177 | 186 | # Install all test dependencies, then install this package in-place. | 178 | 187 |
| 179 | | - if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"): | | 188 | + if protobuf_implementation == "cpp" and session.python in ( | | 189 | + "3.11", | | 190 | + "3.12", | | 191 | + "3.13", | | 192 | + "3.14", | | 193 | + ): | 180 | 194 | session.skip("cpp implementation is not supported in python 3.11+") | 181 | 195 |
| 182 | 196 | constraints_path = str( | @@ -389,7 +403,12 @@ def prerelease_deps(session, protobuf_implementation): | 389 | 403 | `pip install --pre <package>`. | 390 | 404 | """ | 391 | 405 |
| 392 | | - if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"): | | 406 | + if protobuf_implementation == "cpp" and session.python in ( | | 407 | + "3.11", | | 408 | + "3.12", | | 409 | + "3.13", | | 410 | + "3.14", | | 411 | + ): | 393 | 412 | session.skip("cpp implementation is not supported in python 3.11+") | 394 | 413 |
| 395 | 414 | # Install all dependencies | |
Collapse file Copy file name to clipboardExpand all lines: packages/googleapis-common-protos/pyproject.toml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -37,6 +37,7 @@ classifiers = [ | 37 | 37 | "Programming Language :: Python :: 3.11", | 38 | 38 | "Programming Language :: Python :: 3.12", | 39 | 39 | "Programming Language :: Python :: 3.13", | | 40 | + "Programming Language :: Python :: 3.14", | 40 | 41 | "Operating System :: OS Independent", | 41 | 42 | "Topic :: Internet", | 42 | 43 | ] | |
Collapse file Copy file name to clipboardExpand all lines: packages/googleapis-common-protos/testing/constraints-3.14.txt
|