From 99b06417591ace20afb93c4f434bcd2438f8d3ff Mon Sep 17 00:00:00 2001 From: David de la Iglesia Castro Date: Fri, 8 Jul 2022 09:47:15 +0200 Subject: [PATCH] drop Python 3.7 --- .github/workflows/release.yml | 4 ++-- .github/workflows/tests.yml | 2 +- CONTRIBUTING.rst | 2 +- noxfile.py | 2 +- setup.cfg | 3 +-- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec5415b..45eff06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,10 +18,10 @@ jobs: with: fetch-depth: 0 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v3 with: - python-version: '3.7' + python-version: '3.8' - name: Upgrade pip and nox run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3739f36..ec7b5c1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, windows-latest, macos-latest] - pyv: ['3.7', '3.8', '3.9', '3.10'] + pyv: ['3.8', '3.9', '3.10'] include: - os: ubuntu-latest pyv: 'pypy3.8' diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 3a8c91d..01b2abd 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -43,7 +43,7 @@ Request features on the `Issue Tracker`_. How to set up your development environment ------------------------------------------ -You need Python 3.7+ and the following tools: +You need Python 3.8+ and the following tools: - Nox_ diff --git a/noxfile.py b/noxfile.py index 840aaf6..99a6ff1 100644 --- a/noxfile.py +++ b/noxfile.py @@ -9,7 +9,7 @@ locations = "src", "tests" -@nox.session(python=["3.7", "3.8", "3.9", "3.10", "pypy3.8", "pypy3.9"]) +@nox.session(python=["3.8", "3.9", "3.10", "pypy3.8", "pypy3.9"]) def tests(session: nox.Session) -> None: session.install(".[tests]") session.run( diff --git a/setup.cfg b/setup.cfg index eacffba..b9cde7a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,14 +11,13 @@ authors = Iterative maintainer_email = support@dvc.org classifiers = Programming Language :: Python :: 3 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Development Status :: 1 - Planning [options] -python_requires = >=3.7 +python_requires = >=3.8 zip_safe = False package_dir= =src