From 5a7666c15002aee0fab44a9aa6d3279aab3f1f69 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 11 Jun 2024 12:33:57 -0400 Subject: [PATCH] fix: drop python 3.6 (#456) * fix: drop python 3.6 * remove testing/constraints-3.6.txt * update version in .readthedocs.yml --- .github/sync-repo-settings.yaml | 3 --- .github/workflows/tests.yml | 2 +- .readthedocs.yml | 2 +- noxfile.py | 1 - setup.py | 3 +-- testing/constraints-3.6.txt | 9 --------- 6 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 testing/constraints-3.6.txt diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 1bb27933..d85818a5 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -7,9 +7,6 @@ branchProtectionRules: requiredStatusCheckContexts: - 'style-check' - 'docs' - - 'unit (3.6, cpp)' - - 'unit (3.6, python)' - - 'unit (3.6, upb)' - 'unit (3.7, cpp)' - 'unit (3.7, python)' - 'unit (3.7, upb)' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 03f19896..59518acc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] variant: ['cpp', 'python', 'upb'] # TODO(https://github.com/googleapis/proto-plus-python/issues/389): # Remove the 'cpp' implementation once support for Protobuf 3.x is dropped. diff --git a/.readthedocs.yml b/.readthedocs.yml index ebea21ff..309b5e76 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,4 +3,4 @@ build: image: latest python: pip_install: true - version: 3.6 + version: 3.9 diff --git a/noxfile.py b/noxfile.py index 4ba0161a..19c80c95 100644 --- a/noxfile.py +++ b/noxfile.py @@ -22,7 +22,6 @@ PYTHON_VERSIONS = [ - "3.6", "3.7", "3.8", "3.9", diff --git a/setup.py b/setup.py index 255d9fa5..cb09371f 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,7 @@ "google-api-core >= 1.31.5", ], }, - python_requires=">=3.6", + python_requires=">=3.7", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", @@ -56,7 +56,6 @@ "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt deleted file mode 100644 index 849c8e7c..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 -google-api-core==1.31.5 -protobuf==3.19.0