From 1dccf06c1cc2f633ffdf0c276d965aae8c522a4b Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 25 Dec 2024 14:19:45 +0000 Subject: [PATCH] Remove support for py39 --- .config/constraints.txt | 3 --- .github/workflows/tox.yml | 5 ++--- mypy.ini | 2 +- pyproject.toml | 17 ++++++++--------- 4 files changed, 11 insertions(+), 16 deletions(-) diff --git a/.config/constraints.txt b/.config/constraints.txt index 41430ff..a27c37a 100644 --- a/.config/constraints.txt +++ b/.config/constraints.txt @@ -96,8 +96,5 @@ zipp==3.21.0 # The following packages are considered to be unsafe in a requirements file: # backports-tarfile -# cryptography # exceptiongroup -# jeepney -# secretstorage # twine diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 4c912d9..224915d 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -29,13 +29,12 @@ jobs: id: generate_matrix uses: coactions/dynamic-matrix@v4 with: - min_python: "3.9" + min_python: "3.10" default_python: | - 3.9 3.10 max_python: "3.13" other_names: | - lint:tox -e py39-lint;tox -e py310-lint + lint:tox -e py310-lint;tox -e py310-lint docs integration pkg diff --git a/mypy.ini b/mypy.ini index c1befcc..9133676 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,5 @@ [mypy] -python_version = 3.9 +python_version = 3.10 color_output = True error_summary = True # TODO(ssbarnea): Remove ignores below: diff --git a/pyproject.toml b/pyproject.toml index 2f922b2..fd0a3fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,13 @@ [build-system] requires = [ "setuptools >= 65.3.0", # required by pyproject+setuptools_scm integration and editable installs - "setuptools_scm[toml] >= 7.0.5", # required for "no-local-version" scheme + "setuptools_scm[toml] >= 7.0.5" # required for "no-local-version" scheme ] build-backend = "setuptools.build_meta" [project] # https://peps.python.org/pep-0621/#readme -requires-python = ">=3.9" +requires-python = ">=3.10" dynamic = ["version", "dependencies", "optional-dependencies"] name = "mk" description = "mk" @@ -24,7 +24,6 @@ classifiers = [ "Operating System :: MacOS", "Operating System :: POSIX", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -33,7 +32,7 @@ classifiers = [ "Programming Language :: Python", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", - "Topic :: Utilities", + "Topic :: Utilities" ] keywords = ["mk"] @@ -95,7 +94,7 @@ concurrency = ["multiprocessing", "thread"] profile = "black" [tool.mypy] -python_version = "3.9" +python_version = "3.10" strict = true color_output = true error_summary = true @@ -115,7 +114,7 @@ unsafe_package = [ "exceptiongroup", "jeepney", "secretstorage", - "twine", + "twine" ] [tool.pylint."MESSAGES CONTROL"] @@ -133,7 +132,7 @@ disable = [ "missing-module-docstring", "no-value-for-parameter", "not-an-iterable", - "too-few-public-methods", + "too-few-public-methods" ] [tool.ruff] @@ -161,7 +160,7 @@ lint.ignore = [ "TCH", "PLR", "INP", - "RET", + "RET" ] lint.select = ["ALL"] @@ -191,5 +190,5 @@ git_describe_command = [ "--tags", "--long", "--match", - "v*.*", + "v*.*" ]