From 0058f0626ab7f11d123aa8edd2858715891ec7b1 Mon Sep 17 00:00:00 2001 From: Bobby <30593201+luciferreeves@users.noreply.github.com> Date: Thu, 1 Sep 2022 22:13:21 -0400 Subject: Removing backwards compatibility for Python 3.6. Min Python now is 3.7 --- .github/workflows/github-actions.yml | 18 ------------------ pyproject.toml | 2 +- setup.py | 2 +- tests.local.sh | 5 +---- tox.ini | 3 +-- 5 files changed, 4 insertions(+), 26 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 88ad0fc..fa53eb5 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -19,24 +19,6 @@ jobs: toxpython: 'python3.9' tox_env: 'docs' os: 'ubuntu-latest' - - name: 'py36 (ubuntu)' - python: '3.6' - toxpython: 'python3.6' - python_arch: 'x64' - tox_env: 'py36' - os: 'ubuntu-latest' - - name: 'py36 (windows)' - python: '3.6' - toxpython: 'python3.6' - python_arch: 'x64' - tox_env: 'py36' - os: 'windows-latest' - - name: 'py36 (macos)' - python: '3.6' - toxpython: 'python3.6' - python_arch: 'x64' - tox_env: 'py36' - os: 'macos-latest' - name: 'py37 (ubuntu)' python: '3.7' toxpython: 'python3.7' diff --git a/pyproject.toml b/pyproject.toml index a51acf9..fc9d53d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,5 +6,5 @@ requires = [ [tool.black] line-length = 140 -target-version = ['py36'] +target-version = ['py37'] skip-string-normalization = true diff --git a/setup.py b/setup.py index 7750988..235a2ac 100755 --- a/setup.py +++ b/setup.py @@ -67,7 +67,7 @@ setup( keywords=[ # eg: 'keyword1', 'keyword2', 'keyword3', ], - python_requires='>=3.6', + python_requires='>=3.7', install_requires=[ # eg: 'aspectlib==1.1.1', 'six>=1.7', ], diff --git a/tests.local.sh b/tests.local.sh index 2ced739..031d6e4 100755 --- a/tests.local.sh +++ b/tests.local.sh @@ -16,10 +16,7 @@ PYTHON_VERSION=$(python3 -c 'import sys; print(".".join(map(str, sys.version_inf # Subset the python version to the major.minor version PYTHON_VERSION=$(echo $PYTHON_VERSION | cut -d. -f1,2) -if [ "$PYTHON_VERSION" = "3.6" ]; then - # Build using python 3.6 - tox -e py36 -v -elif [ "$PYTHON_VERSION" = "3.7" ]; then +if [ "$PYTHON_VERSION" = "3.7" ]; then # Build using python 3.7 tox -e py37 -v elif [ "$PYTHON_VERSION" = "3.8" ]; then diff --git a/tox.ini b/tox.ini index 5e823f9..0f89d7a 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,7 @@ envlist = clean, check, docs, - {py36,py37,py38,py39,py310,pypy37,pypy38}, + {py37,py38,py39,py310,pypy37,pypy38}, report ignore_basepython_conflict = true @@ -22,7 +22,6 @@ ignore_basepython_conflict = true basepython = pypy37: {env:TOXPYTHON:pypy3.7} pypy38: {env:TOXPYTHON:pypy3.8} - py36: {env:TOXPYTHON:python3.6} py37: {env:TOXPYTHON:python3.7} py38: {env:TOXPYTHON:python3.8} py39: {env:TOXPYTHON:python3.9} -- cgit v1.2.3