From 6e818d40c4b98fe9d3861a451fcdf4dc2d09bb49 Mon Sep 17 00:00:00 2001 From: Seth Morton Date: Tue, 8 Oct 2024 22:28:45 -0700 Subject: [PATCH] Drop Python 3.7 support --- .github/workflows/tests.yml | 2 +- README.rst | 2 +- pyproject.toml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 33c79ce..765439a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: 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: [ubuntu-latest] extras: [false] include: diff --git a/README.rst b/README.rst index d196140..d226ebf 100644 --- a/README.rst +++ b/README.rst @@ -362,7 +362,7 @@ from the command line with ``python -m natsort``. Check out the Requirements ------------ -`natsort`_ requires Python 3.7 or greater. +`natsort`_ requires Python 3.8 or greater. Optional Dependencies --------------------- diff --git a/pyproject.toml b/pyproject.toml index 1f46c08..a228c8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=64", "setuptools-scm>=7.1"] +requires = ["setuptools>=64", "setuptools-scm>=8.0"] build-backend = "setuptools.build_meta" [project] @@ -8,7 +8,7 @@ authors = [ {name = "Seth M. Morton", email = "drtuba78@gmail.com"}, ] dynamic = ["version"] -requires-python = ">=3.7" +requires-python = ">=3.8" description = "Simple yet flexible natural sorting in Python." readme = "README.rst" license = {text = "MIT"} @@ -59,7 +59,7 @@ find = {namespaces = false} mypy_path = "mypy_stubs" [tool.ruff] -target-version = "py37" +target-version = "py38" extend-exclude = ["build", "dist", "docs", "mypy_stubs", "_version.py"] [tool.ruff.format]