Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fab4e71

Browse filesBrowse files
authored
fix(bigquery-magics): Drop support for Python 3.9 (googleapis#16949)
This PR updates \`bigquery-magics\` to drop support for Python 3.9 and establish Python 3.10 as the minimum supported version. (Note: \`setup.py\` was already at Python 3.10, so this cleans up the remaining test configs!). ### Changes * Configuration: Updated \`noxfile.py\` to remove 3.9 mappings from unit and system test extras, and updated supported versions. * Documentation: Updated \`README.rst\` and \`CONTRIBUTING.rst\` to reflect supported Python versions. Verified successfully with 126 passing tests under Python 3.10! Fixes internal issue: http://b/482126936 🦕
1 parent ce71af0 commit fab4e71
Copy full SHA for fab4e71

3 files changed

+5-18Lines changed: 5 additions & 18 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/bigquery-magics/CONTRIBUTING.rst‎

Copy file name to clipboardExpand all lines: packages/bigquery-magics/CONTRIBUTING.rst
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In order to add a feature:
2222
documentation.
2323

2424
- The feature must work fully on the following CPython versions:
25-
3.9, 3.11, 3.12 and 3.13 on both UNIX and Windows.
25+
3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows.
2626

2727
- The feature must not add unnecessary dependencies (where
2828
"unnecessary" is of course subjective, but new dependencies should
@@ -198,12 +198,12 @@ Supported Python Versions
198198

199199
We support:
200200

201-
- `Python 3.9`_
201+
- `Python 3.10`_
202202
- `Python 3.11`_
203203
- `Python 3.12`_
204204
- `Python 3.13`_
205205

206-
.. _Python 3.9: https://docs.python.org/3.9/
206+
.. _Python 3.10: https://docs.python.org/3.10/
207207
.. _Python 3.11: https://docs.python.org/3.11/
208208
.. _Python 3.12: https://docs.python.org/3.12/
209209
.. _Python 3.13: https://docs.python.org/3.13/
Collapse file

‎packages/bigquery-magics/README.rst‎

Copy file name to clipboardExpand all lines: packages/bigquery-magics/README.rst
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ dependencies.
5252

5353
Supported Python Versions
5454
^^^^^^^^^^^^^^^^^^^^^^^^^
55-
Python >= 3.9
55+
Python >= 3.10
5656

5757
Unsupported Python Versions
5858
^^^^^^^^^^^^^^^^^^^^^^^^^^^
59-
Python <= 3.8.
59+
Python <= 3.9.
6060

6161

6262
Mac/Linux
Collapse file

‎packages/bigquery-magics/noxfile.py‎

Copy file name to clipboardExpand all lines: packages/bigquery-magics/noxfile.py
-13Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@
4141
"3.12",
4242
"3.13",
4343
"3.14",
44-
# Not supported, but included so that we can explicitly skip the session
45-
# from here. Keep unsupported versions last so that they don't conflict with
46-
# the prerelease_deps session.
47-
"3.9",
4844
]
4945

5046
UNIT_TEST_STANDARD_DEPENDENCIES = [
@@ -61,9 +57,6 @@
6157
UNIT_TEST_DEPENDENCIES: List[str] = []
6258
UNIT_TEST_EXTRAS: List[str] = []
6359
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {
64-
"3.9": [
65-
"bqstorage",
66-
],
6760
"3.10": [
6861
"bqstorage",
6962
],
@@ -96,9 +89,6 @@
9689
SYSTEM_TEST_DEPENDENCIES: List[str] = []
9790
SYSTEM_TEST_EXTRAS: List[str] = []
9891
SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {
99-
"3.9": [
100-
"bqstorage",
101-
],
10292
"3.10": [
10393
"bqstorage",
10494
"bigframes",
@@ -235,9 +225,6 @@ def install_unittest_dependencies(session, *constraints):
235225

236226
@nox.session(python=UNIT_TEST_PYTHON_VERSIONS)
237227
def unit(session):
238-
if session.python == "3.9":
239-
session.skip("Python 3.9 is not supported.")
240-
241228
# Install all test dependencies, then install this package in-place.
242229

243230
constraints_path = str(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.