Skip to content

Commit

Permalink
feat: remove python 3.6 support (#689)
Browse files Browse the repository at this point in the history
* remove python 3.6 support

* few more things

* try deleting kokoro python3.6 samples
  • Loading branch information
WildSunLove committed Jan 18, 2022
1 parent fe1855a commit 8aa4130
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 90 deletions.
40 changes: 0 additions & 40 deletions .kokoro/samples/python3.6/common.cfg

This file was deleted.

7 changes: 0 additions & 7 deletions .kokoro/samples/python3.6/continuous.cfg

This file was deleted.

11 changes: 0 additions & 11 deletions .kokoro/samples/python3.6/periodic-head.cfg

This file was deleted.

6 changes: 0 additions & 6 deletions .kokoro/samples/python3.6/periodic.cfg

This file was deleted.

6 changes: 0 additions & 6 deletions .kokoro/samples/python3.6/presubmit.cfg

This file was deleted.

9 changes: 6 additions & 3 deletions README.rst
Expand Up @@ -43,7 +43,7 @@ Installation
`venv`_ is a tool to create isolated Python environments. The basic problem it
addresses is one of dependencies and versions, and indirectly permissions.

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

Supported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^
Python >= 3.6
Python >= 3.7

Deprecated Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^^
Python == 2.7: Python 2.7 support will be removed sometime after January 1, 2020.

Unsupported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^^^

Python == 3.6: the last released version which supported Python 3.6 was
``google-cloud-storage 2.0.0``, released 2022-01-12.

Python == 3.5: the last released version which supported Python 3.5 was
``google-cloud-storage 1.32.0``, released 2020-10-16.

Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Expand Up @@ -29,7 +29,7 @@

DEFAULT_PYTHON_VERSION = "3.8"
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"]
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10"]
UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"]
CONFORMANCE_TEST_PYTHON_VERSIONS = ["3.8"]

_DEFAULT_STORAGE_HOST = "https://storage.googleapis.com"
Expand Down
2 changes: 1 addition & 1 deletion owlbot.py
Expand Up @@ -26,7 +26,7 @@
templated_files = common.py_library(
cov_level=100,
split_system_tests=True,
unit_test_python_versions=["3.6", "3.7", "3.8", "3.9", "3.10"],
unit_test_python_versions=["3.7", "3.8", "3.9", "3.10"],
system_test_external_dependencies=[
"google-cloud-iam",
"google-cloud-pubsub < 2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion samples/snippets/noxfile_config.py
Expand Up @@ -72,7 +72,7 @@ def get_cloud_kms_key():

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

# An envvar key for determining the project id to use. Change it
# to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Expand Up @@ -78,7 +78,6 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand All @@ -91,7 +90,7 @@
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
python_requires=">=3.6",
python_requires=">=3.7",
include_package_data=True,
zip_safe=False,
)
12 changes: 0 additions & 12 deletions testing/constraints-3.6.txt

This file was deleted.

0 comments on commit 8aa4130

Please sign in to comment.