From f59f7b7d10eb816762eff506c349ff4ab0df06d4 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 11 Oct 2023 12:49:03 +0200 Subject: [PATCH] Drop support for EOL Python 3.7 (#90) --- .github/workflows/lint_python.yml | 2 +- .github/workflows/main.yml | 2 +- pyproject.toml | 4 ++-- readme.rst | 2 +- tox.ini | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 2fcbc77..49d832c 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -21,5 +21,5 @@ jobs: - run: isort --check-only --profile black . - run: pip install --editable . - run: mypy --ignore-missing-imports --install-types --non-interactive . - - run: shopt -s globstar && pyupgrade --py37-plus **/*.py || true + - run: shopt -s globstar && pyupgrade --py38-plus **/*.py || true - run: safety check diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 283f29e..7e9197b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [windows-latest, macos-latest, ubuntu-latest] steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index 6a0c0ee..e47b7eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,11 +14,11 @@ dependencies = [ ] readme = "readme.rst" classifiers = [ - "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", ] -requires-python = ">=3.7" +requires-python = ">=3.8" dynamic = ["version", "description"] [project.urls] diff --git a/readme.rst b/readme.rst index 6028338..32392d2 100644 --- a/readme.rst +++ b/readme.rst @@ -30,7 +30,7 @@ Tests are to be written using `pytest `_. Setup Info ========== -Requires Python 3.7. +Requires Python 3.8+. .. code-block:: console diff --git a/tox.ini b/tox.ini index 1fac32c..d41abed 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{312, 311, 310, 39, 38, 37} + py{312, 311, 310, 39, 38} isolated_build = true [testenv]