GeezerVison is showing github.com — fix(google-auth-oauthlib): Drop support for Python 3.9 (#16939) · noahdietz/google-cloud-python@25e2a2d
File treeExpand file treeCollapse file tree Open diff view settings packages/google-auth-oauthlib
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/google-auth-oauthlib/CONTRIBUTING.rst +2-4Lines changed: 2 additions & 4 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,7 +215,7 @@ 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. | | 218 | +We also explicitly decided to support Python 3 beginning with version 3.10. | 221 | 219 | Reasons for this include: | 222 | 220 |
| 223 | 221 | - Encouraging use of newest versions of Python 3 | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-auth-oauthlib/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 |
|---|
@@ -29,13 +29,13 @@ The latest documentation is available at `google-auth-oauthlib.googleapis.dev`_. | 29 | 29 |
| 30 | 30 | Supported Python Versions | 31 | 31 | ------------------------- | 32 | | -Python >= 3.9 | | 32 | +Python >= 3.10 | 33 | 33 |
| 34 | 34 |
| 35 | 35 | Unsupported Python Versions | 36 | 36 | --------------------------- | 37 | 37 |
| 38 | | -Python == 2.7, Python <= 3.8. | | 38 | +Python == 2.7, Python <= 3.9. | 39 | 39 |
| 40 | 40 |
| 41 | 41 | License | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-auth-oauthlib/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-auth-oauthlib/setup.py +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 54 | 54 | "google-oauthlib-tool" "=google_auth_oauthlib.tool.__main__:main [tool]" | 55 | 55 | ] | 56 | 56 | }, | 57 | | - python_requires=">=3.9", | | 57 | + python_requires=">=3.10", | 58 | 58 | license="Apache 2.0", | 59 | 59 | keywords="google auth oauth client oauthlib", | 60 | 60 | classifiers=[ | 61 | 61 | "Programming Language :: Python :: 3", | 62 | | - "Programming Language :: Python :: 3.9", | 63 | 62 | "Programming Language :: Python :: 3.10", | 64 | 63 | "Programming Language :: Python :: 3.11", | 65 | 64 | "Programming Language :: Python :: 3.12", | |
Collapse file Copy file name to clipboard +10Lines changed: 10 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-auth==2.15.0 | | 9 | +requests-oauthlib==0.7.0 | | 10 | +click==6.0.0 |
Collapse file Copy file name to clipboardExpand all lines: packages/google-auth-oauthlib/testing/constraints-3.9.txt -10Lines changed: 0 additions & 10 deletions
|