Skip to content

Commit 8aa4130

Browse files
author
Aaron Gabriel Neyer
authored
feat: remove python 3.6 support (#689)
* remove python 3.6 support * few more things * try deleting kokoro python3.6 samples
1 parent fe1855a commit 8aa4130

File tree

11 files changed

+10
-90
lines changed

11 files changed

+10
-90
lines changed

.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.

README.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Installation
4343
`venv`_ is a tool to create isolated Python environments. The basic problem it
4444
addresses is one of dependencies and versions, and indirectly permissions.
4545

46-
Make sure you're using Python 3.3 or later, which includes `venv`_ by default.
46+
Make sure you're using Python 3.7 or later, which includes `venv`_ by default.
4747
With `venv`, it's possible to install this library without needing system
4848
install permissions, and without clashing with the installed system
4949
dependencies.
@@ -54,14 +54,17 @@ dependencies.
5454

5555
Supported Python Versions
5656
^^^^^^^^^^^^^^^^^^^^^^^^^
57-
Python >= 3.6
57+
Python >= 3.7
5858

5959
Deprecated Python Versions
6060
^^^^^^^^^^^^^^^^^^^^^^^^^^
61-
Python == 2.7: Python 2.7 support will be removed sometime after January 1, 2020.
6261

6362
Unsupported Python Versions
6463
^^^^^^^^^^^^^^^^^^^^^^^^^^^
64+
65+
Python == 3.6: the last released version which supported Python 3.6 was
66+
``google-cloud-storage 2.0.0``, released 2022-01-12.
67+
6568
Python == 3.5: the last released version which supported Python 3.5 was
6669
``google-cloud-storage 1.32.0``, released 2020-10-16.
6770

noxfile.py

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

3030
DEFAULT_PYTHON_VERSION = "3.8"
3131
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"]
32-
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10"]
32+
UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"]
3333
CONFORMANCE_TEST_PYTHON_VERSIONS = ["3.8"]
3434

3535
_DEFAULT_STORAGE_HOST = "https://storage.googleapis.com"

owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
templated_files = common.py_library(
2727
cov_level=100,
2828
split_system_tests=True,
29-
unit_test_python_versions=["3.6", "3.7", "3.8", "3.9", "3.10"],
29+
unit_test_python_versions=["3.7", "3.8", "3.9", "3.10"],
3030
system_test_external_dependencies=[
3131
"google-cloud-iam",
3232
"google-cloud-pubsub < 2.0.0",

samples/snippets/noxfile_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get_cloud_kms_key():
7272

7373
TEST_CONFIG_OVERRIDE = {
7474
# You can opt out from the test for specific Python versions.
75-
'ignored_versions': ["2.7"],
75+
'ignored_versions': ["2.7", "3.6"],
7676

7777
# An envvar key for determining the project id to use. Change it
7878
# to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
"License :: OSI Approved :: Apache Software License",
7979
"Programming Language :: Python",
8080
"Programming Language :: Python :: 3",
81-
"Programming Language :: Python :: 3.6",
8281
"Programming Language :: Python :: 3.7",
8382
"Programming Language :: Python :: 3.8",
8483
"Programming Language :: Python :: 3.9",
@@ -91,7 +90,7 @@
9190
namespace_packages=namespaces,
9291
install_requires=dependencies,
9392
extras_require=extras,
94-
python_requires=">=3.6",
93+
python_requires=">=3.7",
9594
include_package_data=True,
9695
zip_safe=False,
9796
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy