Skip to content

Commit

Permalink
Remove support for py39
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Dec 25, 2024
1 parent 79c8834 commit 1dccf06
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .config/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 2 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.9
python_version = 3.10
color_output = True
error_summary = True
# TODO(ssbarnea): Remove ignores below:
Expand Down
17 changes: 8 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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",
Expand All @@ -33,7 +32,7 @@ classifiers = [
"Programming Language :: Python",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
"Topic :: Utilities"
]
keywords = ["mk"]

Expand Down Expand Up @@ -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
Expand All @@ -115,7 +114,7 @@ unsafe_package = [
"exceptiongroup",
"jeepney",
"secretstorage",
"twine",
"twine"
]

[tool.pylint."MESSAGES CONTROL"]
Expand All @@ -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]
Expand Down Expand Up @@ -161,7 +160,7 @@ lint.ignore = [
"TCH",
"PLR",
"INP",
"RET",
"RET"
]
lint.select = ["ALL"]

Expand Down Expand Up @@ -191,5 +190,5 @@ git_describe_command = [
"--tags",
"--long",
"--match",
"v*.*",
"v*.*"
]

0 comments on commit 1dccf06

Please sign in to comment.