Skip to content

Commit 54cfac6

Browse files
authored
chore: Removed Python 3.6 support (googleapis#1232)
Removed Python 3.6 support Fixes googleapis#1231
1 parent 7a8e3be commit 54cfac6

File tree

15 files changed

+20
-83
lines changed

15 files changed

+20
-83
lines changed

.kokoro/continuous/unit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Format: //devtools/kokoro/config/proto/build.proto
22

3-
# Run all unit test sessions, in Python 3.6 to 3.9
3+
# Run all unit test sessions, in Python 3.7 to 3.9
44
env_vars: {
55
key: "NOX_SESSION"
66
value: "unit"

.kokoro/samples/python3.6/common.cfg

Lines changed: 0 additions & 40 deletions
This file was deleted.

.kokoro/samples/python3.6/continuous.cfg

Lines changed: 0 additions & 7 deletions
This file was deleted.

.kokoro/samples/python3.6/periodic-head.cfg

Lines changed: 0 additions & 11 deletions
This file was deleted.

.kokoro/samples/python3.6/periodic.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

.kokoro/samples/python3.6/presubmit.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

CONTRIBUTING.rst

Lines changed: 2 additions & 4 deletions
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.6, 3.7, 3.8 and 3.9 on both UNIX and Windows.
25+
3.7, 3.8 and 3.9 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
@@ -221,12 +221,10 @@ Supported Python Versions
221221

222222
We support:
223223

224-
- `Python 3.6`_
225224
- `Python 3.7`_
226225
- `Python 3.8`_
227226
- `Python 3.9`_
228227

229-
.. _Python 3.6: https://docs.python.org/3.6/
230228
.. _Python 3.7: https://docs.python.org/3.7/
231229
.. _Python 3.8: https://docs.python.org/3.8/
232230
.. _Python 3.9: https://docs.python.org/3.9/
@@ -237,7 +235,7 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
237235
.. _config: https://github.com/googleapis/python-aiplatform/blob/main/noxfile.py
238236

239237

240-
We also explicitly decided to support Python 3 beginning with version 3.6.
238+
We also explicitly decided to support Python 3 beginning with version 3.7.
241239
Reasons for this include:
242240

243241
- Encouraging use of newest versions of Python 3

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@ Windows
7676
<your-env>\Scripts\pip.exe install google-cloud-aiplatform
7777
7878
79+
Supported Python Versions
80+
^^^^^^^^^^^^^^^^^^^^^^^^^
81+
Python >= 3.7
82+
83+
Deprecated Python Versions
84+
^^^^^^^^^^^^^^^^^^^^^^^^^^
85+
Python == 3.6.
86+
87+
The last version of this library compatible with Python 3.6 is google-cloud-aiplatform==1.12.1.
88+
7989
Overview
8090
~~~~~~~~
8191
This section provides a brief overview of the Vertex AI SDK for Python. You can also reference the notebooks in `vertex-ai-samples`_ for examples.

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[mypy]
2-
python_version = 3.6
2+
python_version = 3.7
33
namespace_packages = True

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
DEFAULT_PYTHON_VERSION = "3.8"
3232

33-
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9"]
33+
UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9"]
3434
UNIT_TEST_STANDARD_DEPENDENCIES = [
3535
"mock",
3636
"asyncmock",

0 commit comments

Comments
 (0)