From c92be2f025f52e9695e72a974f03d9a1bf725ee3 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Wed, 16 Feb 2022 21:14:45 +0100 Subject: [PATCH] Remove support for Python 3.6 (#375) --- .github/workflows/ci.yml | 1 - .github/workflows/publish.yml | 4 ++-- pyproject.toml | 2 +- setup.py | 3 +-- tox.ini | 5 ++--- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7015250..5179a04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,6 @@ jobs: strategy: matrix: python-version: - - "3.6" - "3.7" - "3.8" - "3.9" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 54eb9d1..cfaffe4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.4.0 - - name: Set up Python 3.6 + - name: Set up Python 3.7 uses: actions/setup-python@v2.3.2 with: - python-version: 3.6 + python-version: 3.7 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/pyproject.toml b/pyproject.toml index 30a9448..171a1e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 88 -target-version = ["py36", "py37", "py38", "py39", "py310"] +target-version = ["py37", "py38", "py39", "py310"] exclude = ''' ( diff --git a/setup.py b/setup.py index 94d9215..b503fd1 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( maintainer="The PyiCloud Authors", packages=find_packages(include=["pyicloud*"]), install_requires=required, - python_requires=">=3.6", + python_requires=">=3.7", license="MIT", classifiers=[ "Development Status :: 5 - Production/Stable", @@ -32,7 +32,6 @@ setup( "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "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/tox.ini b/tox.ini index d5cfb3d..d1ca82b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,10 @@ [tox] -envlist = py36, py37, py38, py39, py310, lint +envlist = py37, py38, py39, py310, lint skip_missing_interpreters = True [gh-actions] python = - 3.6: py36, lint - 3.7: py37 + 3.7: py37, lint 3.8: py38 3.9: py39 3.10: py310