GeezerVison is showing github.com — fix(runtimeconfig): Drop support for Python 3.9 (#16947) · googleapis/google-cloud-python@e7efd90
File treeExpand file treeCollapse file tree Open diff view settings packages/google-cloud-runtimeconfig
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-runtimeconfig/CONTRIBUTING.rst +1-3Lines changed: 1 addition & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -22,7 +22,7 @@ In order to add a feature: | 22 | 22 | documentation. | 23 | 23 |
| 24 | 24 | - The feature must work fully on the following CPython versions: | 25 | | - 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows. | | 25 | + 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows. | 26 | 26 |
| 27 | 27 | - The feature must not add unnecessary dependencies (where | 28 | 28 | "unnecessary" is of course subjective, but new dependencies should | @@ -197,14 +197,12 @@ Supported Python Versions | 197 | 197 |
| 198 | 198 | We support: | 199 | 199 |
| 200 | | -- `Python 3.9`_ | 201 | 200 | - `Python 3.10`_ | 202 | 201 | - `Python 3.11`_ | 203 | 202 | - `Python 3.12`_ | 204 | 203 | - `Python 3.13`_ | 205 | 204 | - `Python 3.14`_ | 206 | 205 |
| 207 | | -.. _Python 3.9: https://docs.python.org/3.9/ | 208 | 206 | .. _Python 3.10: https://docs.python.org/3.10/ | 209 | 207 | .. _Python 3.11: https://docs.python.org/3.11/ | 210 | 208 | .. _Python 3.12: https://docs.python.org/3.12/ | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-runtimeconfig/README.rst +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -53,14 +53,14 @@ Supported Python Versions | 53 | 53 | Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of | 54 | 54 | Python. | 55 | 55 |
| 56 | | -Python >= 3.9 | | 56 | +Python >= 3.10 | 57 | 57 |
| 58 | 58 | .. _active: https://devguide.python.org/devcycle/#in-development-main-branch | 59 | 59 | .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches | 60 | 60 |
| 61 | 61 | Unsupported Python Versions | 62 | 62 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 63 | | -Python <= 3.8 | | 63 | +Python <= 3.9 | 64 | 64 |
| 65 | 65 | If you are using an `end-of-life`_ | 66 | 66 | version of Python, we recommend that you update as soon as possible to an actively supported version. | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-runtimeconfig/noxfile.py -1Lines changed: 0 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 36 | 36 | DEFAULT_PYTHON_VERSION = "3.14" | 37 | 37 |
| 38 | 38 | UNIT_TEST_PYTHON_VERSIONS: List[str] = [ | 39 | | - "3.9", | 40 | 39 | "3.10", | 41 | 40 | "3.11", | 42 | 41 | "3.12", | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-runtimeconfig/pytest.ini +1-5Lines changed: 1 addition & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -6,8 +6,4 @@ filterwarnings = | 6 | 6 | ignore:.*pkg_resources.declare_namespace:DeprecationWarning | 7 | 7 | ignore:.*pkg_resources is deprecated as an API:DeprecationWarning | 8 | 8 | # Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed | 9 | | - ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning | 10 | | - # Remove after support for Python 3.7 is dropped | 11 | | - ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning | 12 | | - ignore:.*Please upgrade to the latest Python version.*:FutureWarning | 13 | | - ignore:(?s).*using a Python version.*past its end of life.*:FutureWarning | | 9 | + ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-runtimeconfig/setup.py +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 73 | 73 | "License :: OSI Approved :: Apache Software License", | 74 | 74 | "Programming Language :: Python", | 75 | 75 | "Programming Language :: Python :: 3", | 76 | | - "Programming Language :: Python :: 3.9", | 77 | 76 | "Programming Language :: Python :: 3.10", | 78 | 77 | "Programming Language :: Python :: 3.11", | 79 | 78 | "Programming Language :: Python :: 3.12", | | 86 | 85 | packages=packages, | 87 | 86 | install_requires=dependencies, | 88 | 87 | extras_require=extras, | 89 | | - python_requires=">=3.9", | | 88 | + python_requires=">=3.10", | 90 | 89 | include_package_data=True, | 91 | 90 | zip_safe=False, | 92 | 91 | ) |
Collapse file Copy file name to clipboard +8Lines changed: 8 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# This constraints file is used to check that lower bounds | | 2 | +# are correct in setup.py | | 3 | +# List *all* library dependencies and extras in this file. | | 4 | +# Pin the version to the lower bound. | | 5 | +# | | 6 | +# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", | | 7 | +# Then this file should have foo==1.14.0 | | 8 | +google-cloud-core==1.4.4 |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-runtimeconfig/testing/constraints-3.9.txt -8Lines changed: 0 additions & 8 deletions
|