GeezerVison is showing github.com — fix(ndb): Drop support for Python 3.9 (#16950) · googleapis/google-cloud-python@d37a953
File treeExpand file treeCollapse file tree Open diff view settings packages/google-cloud-ndb
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-ndb/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 |
|---|
@@ -24,7 +24,7 @@ In order to add a feature to ``python-ndb``: | 24 | 24 | documentation (in ``docs/``). | 25 | 25 |
| 26 | 26 | - The feature must work fully on the following CPython versions: | 27 | | - 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows. | | 27 | + 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows. | 28 | 28 |
| 29 | 29 | - The feature must not add unnecessary dependencies (where | 30 | 30 | "unnecessary" is of course subjective, but new dependencies should | @@ -259,14 +259,12 @@ Supported Python Versions | 259 | 259 |
| 260 | 260 | We support: | 261 | 261 |
| 262 | | -- `Python 3.9`_ | 263 | 262 | - `Python 3.10`_ | 264 | 263 | - `Python 3.11`_ | 265 | 264 | - `Python 3.12`_ | 266 | 265 | - `Python 3.13`_ | 267 | 266 | - `Python 3.14`_ | 268 | 267 |
| 269 | | -.. _Python 3.9: https://docs.python.org/3.9/ | 270 | 268 | .. _Python 3.10: https://docs.python.org/3.10/ | 271 | 269 | .. _Python 3.11: https://docs.python.org/3.11/ | 272 | 270 | .. _Python 3.12: https://docs.python.org/3.12/ | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-ndb/README.md +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 |
|---|
| 30 | 30 |
| 31 | 31 | Our client libraries are compatible with all current [active][3] and [maintenance][4] versions of Python. | 32 | 32 |
| 33 | | -Python >= 3.9 | | 33 | +Python >= 3.10 | 34 | 34 |
| 35 | 35 | [3]: https://devguide.python.org/devcycle/#in-development-main-branch | 36 | 36 | [4]: https://devguide.python.org/devcycle/#maintenance-branches | 37 | 37 |
| 38 | 38 | ### Unsupported Python Versions | 39 | 39 |
| 40 | | -Python <= 3.8 | | 40 | +Python <= 3.9 | 41 | 41 |
| 42 | 42 | If you are using an [end-of-life][5] | 43 | 43 | 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-ndb/noxfile.py +2-3Lines changed: 2 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 29 | 29 | LOCAL_DEPS = ("google-api-core", "google-cloud-core") | 30 | 30 | NOX_DIR = os.path.abspath(os.path.dirname(__file__)) | 31 | 31 | DEFAULT_INTERPRETER = "3.14" | 32 | | -ALL_INTERPRETERS = ("3.9", "3.10", "3.11", "3.12", "3.13", "3.14") | | 32 | +ALL_INTERPRETERS = ("3.10", "3.11", "3.12", "3.13", "3.14") | 33 | 33 | CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute() | 34 | 34 |
| 35 | 35 | BLACK_VERSION = "black[jupyter]==23.7.0" | | 47 | 47 |
| 48 | 48 | nox.options.sessions = [ | 49 | 49 | "prerelease_deps", | 50 | | - "unit-3.9", | 51 | 50 | "unit-3.10", | 52 | 51 | "unit-3.11", | 53 | 52 | "unit-3.12", | @@ -359,7 +358,7 @@ def docfx(session): | 359 | 358 | ) | 360 | 359 |
| 361 | 360 |
| 362 | | -@nox.session(py="3.9") | | 361 | +@nox.session(py="3.10") | 363 | 362 | def doctest(session): | 364 | 363 | # Install all dependencies. | 365 | 364 | session.install( | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-ndb/setup.py +2-3Lines changed: 2 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -44,7 +44,7 @@ def main(): | 44 | 44 | "google-cloud-datastore >= 2.16.0, != 2.20.2, < 3.0.0", | 45 | 45 | "protobuf >= 4.25.8, < 8.0.0", | 46 | 46 | "pymemcache >= 2.1.0, < 5.0.0", | 47 | | - "pytz >= 2018.3", | | 47 | + "pytz >= 2022.1", | 48 | 48 | "redis >= 3.0.0, < 8.0.0", | 49 | 49 | ] | 50 | 50 |
| @@ -68,7 +68,6 @@ def main(): | 68 | 68 | "License :: OSI Approved :: Apache Software License", | 69 | 69 | "Programming Language :: Python", | 70 | 70 | "Programming Language :: Python :: 3", | 71 | | - "Programming Language :: Python :: 3.9", | 72 | 71 | "Programming Language :: Python :: 3.10", | 73 | 72 | "Programming Language :: Python :: 3.11", | 74 | 73 | "Programming Language :: Python :: 3.12", | @@ -81,7 +80,7 @@ def main(): | 81 | 80 | packages=packages, | 82 | 81 | install_requires=dependencies, | 83 | 82 | extras_require={}, | 84 | | - python_requires=">=3.9", | | 83 | + python_requires=">=3.10", | 85 | 84 | include_package_data=False, | 86 | 85 | zip_safe=False, | 87 | 86 | ) | |
Collapse file Copy file name to clipboard +15Lines changed: 15 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-datastore==2.16.0 | | 9 | +google-api-core==2.11.0 | | 10 | +protobuf==4.25.8 | | 11 | +pymemcache==2.1.0 | | 12 | +redis==3.0.0 | | 13 | +pytz==2022.1 | | 14 | +# TODO(https://github.com/googleapis/python-ndb/issues/913) remove this dependency once six is no longer used in the codebase | | 15 | +six==1.12.0 |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-ndb/testing/constraints-3.9.txt -15Lines changed: 0 additions & 15 deletions
|