GeezerVison is showing github.com — fix(dns): Drop support for Python 3.9 (#16954) · googleapis/google-cloud-python@5975c48
File treeExpand file treeCollapse file tree Open diff view settings packages/google-cloud-dns
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-dns/CONTRIBUTING.rst +1-14Lines changed: 1 addition & 14 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/ | @@ -217,17 +215,6 @@ Supported versions can be found in our ``noxfile.py`` `config`_. | 217 | 215 | .. _config: https://github.com/googleapis/google-cloud-python/blob/main/noxfile.py | 218 | 216 |
| 219 | 217 |
| 220 | | -We also explicitly decided to support Python 3 beginning with version 3.9. | 221 | | -Reasons for this include: | 222 | | - | 223 | | -- Encouraging use of newest versions of Python 3 | 224 | | -- Taking the lead of `prominent`_ open-source `projects`_ | 225 | | -- `Unicode literal support`_ which allows for a cleaner codebase that | 226 | | - works in both Python 2 and Python 3 | 227 | | - | 228 | | -.. _prominent: https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django | 229 | | -.. _projects: http://flask.pocoo.org/docs/0.10/python3/ | 230 | | -.. _Unicode literal support: https://www.python.org/dev/peps/pep-0414/ | 231 | 218 |
| 232 | 219 | ********** | 233 | 220 | Versioning | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-dns/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 |
|---|
@@ -60,14 +60,14 @@ Supported Python Versions | 60 | 60 | Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of | 61 | 61 | Python. | 62 | 62 |
| 63 | | -Python >= 3.9 | | 63 | +Python >= 3.10 | 64 | 64 |
| 65 | 65 | .. _active: https://devguide.python.org/devcycle/#in-development-main-branch | 66 | 66 | .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches | 67 | 67 |
| 68 | 68 | Unsupported Python Versions | 69 | 69 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 70 | | -Python <= 3.8 | | 70 | +Python <= 3.9 | 71 | 71 |
| 72 | 72 | If you are using an `end-of-life`_ | 73 | 73 | 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-dns/docs/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 |
|---|
@@ -60,14 +60,14 @@ Supported Python Versions | 60 | 60 | Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of | 61 | 61 | Python. | 62 | 62 |
| 63 | | -Python >= 3.9 | | 63 | +Python >= 3.10 | 64 | 64 |
| 65 | 65 | .. _active: https://devguide.python.org/devcycle/#in-development-main-branch | 66 | 66 | .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches | 67 | 67 |
| 68 | 68 | Unsupported Python Versions | 69 | 69 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 70 | | -Python <= 3.8 | | 70 | +Python <= 3.9 | 71 | 71 |
| 72 | 72 | If you are using an `end-of-life`_ | 73 | 73 | 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-dns/noxfile.py -2Lines changed: 0 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 36 | 36 | DEFAULT_PYTHON_VERSION = "3.14" | 37 | 37 |
| 38 | 38 | ALL_PYTHON: List[str] = [ | 39 | | - "3.9", | 40 | 39 | "3.10", | 41 | 40 | "3.11", | 42 | 41 | "3.12", | | 70 | 69 | CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute() | 71 | 70 |
| 72 | 71 | nox.options.sessions = [ | 73 | | - "unit-3.9", | 74 | 72 | "unit-3.10", | 75 | 73 | "unit-3.11", | 76 | 74 | "unit-3.12", | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-dns/pytest.ini -2Lines changed: 0 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -9,8 +9,6 @@ filterwarnings = | 9 | 9 | # Remove once https://github.com/googleapis/python-api-common-protos/pull/187/files is merged | 10 | 10 | ignore:.*pkg_resources.declare_namespace:DeprecationWarning | 11 | 11 | ignore:.*pkg_resources is deprecated as an API:DeprecationWarning | 12 | | - # Remove after support for Python 3.7 is dropped | 13 | | - ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning | 14 | 12 | # Remove after support for Python 3.8, 3.9 and/or 3.10+ is dropped | 15 | 13 | ignore:\s*You are using a (non-supported )?Python version \(?3\.(8|9|1[0-9]+):DeprecationWarning | 16 | 14 | ignore:\s*You are using a (non-supported )?Python version \(?3\.(8|9|1[0-9]+):FutureWarning |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-dns/setup.py +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 76 | 76 | "License :: OSI Approved :: Apache Software License", | 77 | 77 | "Programming Language :: Python", | 78 | 78 | "Programming Language :: Python :: 3", | 79 | | - "Programming Language :: Python :: 3.9", | 80 | 79 | "Programming Language :: Python :: 3.10", | 81 | 80 | "Programming Language :: Python :: 3.11", | 82 | 81 | "Programming Language :: Python :: 3.12", | | 89 | 88 | packages=packages, | 90 | 89 | install_requires=dependencies, | 91 | 90 | extras_require=extras, | 92 | | - python_requires=">=3.9", | | 91 | + python_requires=">=3.10", | 93 | 92 | include_package_data=True, | 94 | 93 | zip_safe=False, | 95 | 94 | ) |
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-dns/testing/constraints-3.9.txt -8Lines changed: 0 additions & 8 deletions
|