diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 06179103..633bb620 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -23,7 +23,7 @@ In order to add a feature to ``python-ndb``: - The feature must be documented in both the API and narrative documentation (in ``docs/``). -- The feature must work fully on the following CPython versions: 3.6 +- The feature must work fully on the following CPython versions: 3.7, 3.8, 3.9 and 3.10 on both UNIX and Windows. - The feature must not add unnecessary dependencies (where @@ -73,7 +73,7 @@ We use `nox `__ to instrument our tests. - To test your changes, run unit tests with ``nox``:: $ nox -s unit-3.10 - $ nox -s unit-3.6 + $ nox -s unit-3.7 $ ... .. nox: https://pypi.org/project/nox-automation/ @@ -247,13 +247,11 @@ Supported Python Versions We support: -- `Python 3.6`_ - `Python 3.7`_ - `Python 3.8`_ - `Python 3.9`_ - `Python 3.10`_ -.. _Python 3.6: https://docs.python.org/3.6/ .. _Python 3.7: https://docs.python.org/3.7/ .. _Python 3.8: https://docs.python.org/3.8/ .. _Python 3.9: https://docs.python.org/3.9/ diff --git a/README.md b/README.md index 2284d87c..95404da1 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,11 @@ run on other Python platforms as well. GA ### Officially Supported Python Versions -Python 3.6, 3.7, 3.8, 3.9, 3.10 +Python 3.7, 3.8, 3.9, 3.10 ### Unsupported Python Versions -Python <= 3.5 +Python <= 3.6 If you are using an `end-of-life`_ version of Python, we recommend that you update as soon as possible to an actively supported version. diff --git a/noxfile.py b/noxfile.py index d43eb511..cd4e87b8 100644 --- a/noxfile.py +++ b/noxfile.py @@ -26,8 +26,8 @@ LOCAL_DEPS = ("google-api-core", "google-cloud-core") NOX_DIR = os.path.abspath(os.path.dirname(__file__)) DEFAULT_INTERPRETER = "3.8" -ALL_INTERPRETERS = ("3.6", "3.7", "3.8", "3.9", "3.10") -PY3_INTERPRETERS = ("3.6", "3.7", "3.8", "3.9", "3.10") +ALL_INTERPRETERS = ("3.7", "3.8", "3.9", "3.10") +PY3_INTERPRETERS = ("3.7", "3.8", "3.9", "3.10") MAJOR_INTERPRETERS = "3.8" CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute() diff --git a/setup.py b/setup.py index 4151eee3..d9bec133 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,6 @@ def main(): "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", @@ -70,7 +69,7 @@ def main(): namespace_packages=["google", "google.cloud"], install_requires=dependencies, extras_require={}, - python_requires=">=3.6", + python_requires=">=3.7", include_package_data=False, zip_safe=False, ) diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt deleted file mode 100644 index c5bab9c4..00000000 --- a/testing/constraints-3.6.txt +++ /dev/null @@ -1,9 +0,0 @@ -# This constraints file is used to check that lower bounds -# are correct in setup.py -# List *all* library dependencies and extras in this file. -# Pin the version to the lower bound. -# -# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", -# Then this file should have foo==1.14.0 -googleapis-common-protos==1.6.0 -google-cloud-datastore==1.7.0