Make Python 3.14 the MAIN_VERSION #20

Merged
alexander merged 6 commits from python-3.14 into develop 2026-12-02 22:30:08 +01:00
3 changed files with 4 additions and 22 deletions
Showing only changes of commit 80d2573f0d - Show all commits

Remove flake8-pie

It crashes on Python 3.14 (`ast.Str` is gone) and is unmaintained.

`ruff` covers its rules.
Alexander Hess 2026-12-02 21:26:01 +01:00
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -241,7 +241,6 @@ def lint_code(session: nox.Session) -> None:
"flake8-executable",
"flake8-implicit-str-concat",
"flake8-logging",
"flake8-pie",
"flake8-pyproject",
"flake8-pytest-style",
"flake8-quotes",

View file

@ -109,7 +109,6 @@ dev = [
"flake8-executable (>=2.1.3,<3.0.0)",
"flake8-implicit-str-concat (>=0.7.0,<0.8.0)",
"flake8-logging (>=1.8.0,<2.0.0)",
"flake8-pie (>=0.16.0,<0.17.0)",
"flake8-pyproject (>=1.2.4,<2.0.0)",
"flake8-pytest-style (>=2.2.0,<3.0.0)",
"flake8-quotes (>=3.4.0,<4.0.0)",
@ -253,8 +252,6 @@ select = [
"ISC",
# flake8-logging => Correct use of `logging`
"LOG",
# flake8-pie => No unnecessary constructs
"PIE",
# flake8-pytest-style => Enforce a consistent style with pytest
"PT0",
# flake8-quotes => Use double quotes everywhere (complying with black)
@ -304,6 +301,8 @@ select = [
# "PERF",
# pygrep-hooks => Specific "# noqa" and "# type: ignore" comments
# "PGH",
# flake8-pie => No unnecessary constructs
# "PIE",
# Pylint => Fewer bugs and simpler code
# "PL",
# flake8-use-pathlib => `pathlib` instead of `os` functions
@ -340,8 +339,6 @@ extend-ignore = [
"FBT003",
# Every `.add()` looks like `pandas` to this rule (`ruff` omits it).
"PD005",
# `len()` is needed for `pandas` objects, as their truth value is ambiguous.
"PIE787",
# Let's not do `@pytest.mark.no_cover()` instead of `@pytest.mark.no_cover`.
"PT023",
# `ruff`'s RET504 does this better, as it allows statements in between.
@ -636,8 +633,6 @@ select = [
"N",
# pandas-vet => Idiomatic `pandas`
"PD",
# flake8-pie => No unnecessary constructs
"PIE",
# flake8-pytest-style => Enforce a consistent style with pytest
"PT",
# flake8-quotes => Use double quotes everywhere
@ -681,6 +676,8 @@ select = [
"PERF",
# pygrep-hooks => Specific "# noqa" and "# type: ignore" comments
"PGH",
# flake8-pie => No unnecessary constructs
"PIE",
# Pylint => Fewer bugs and simpler code
"PL",
# flake8-use-pathlib => `pathlib` instead of `os` functions

14
uv.lock generated
View file

@ -1075,18 +1075,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/7d/a3/0192ec49e7fe062130d545f4f6188142ca448b9b63a2622a4ba8ce7e728d/flake8_logging-1.8.0-py3-none-any.whl", hash = "sha256:bb3fcf0fb2b4f35d7ebb0c1dc02af16db00c7c858c5a018370172e939dd6f225", size = 11114, upload-time = "2025-09-08T23:44:43.32Z" },
]
[[package]]
name = "flake8-pie"
version = "0.16.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "typing-extensions" },
]
sdist = { url = "https://files.pythonhosted.org/packages/ae/11/cebfe54fda9897188ca40d1cd755d1be13908ceedfea9e500fae162f06a9/flake8-pie-0.16.0.tar.gz", hash = "sha256:b8dcb7b92706fa33d05d92a4b3e49b7a9fd3f0041849166275b646ba50e515ba", size = 28334, upload-time = "2022-08-08T23:51:12.62Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/83/4c/e953c2402b663155525faba5315df8abe6c02ea7f989cbf43327f5088fc3/flake8_pie-0.16.0-py3-none-any.whl", hash = "sha256:24cd7849b0eee22e2328b9e9d2a1dea40013b0a3106864bbadd06a4b05dbb71f", size = 49171, upload-time = "2022-08-08T23:51:14.535Z" },
]
[[package]]
name = "flake8-plugin-utils"
version = "1.3.3"
@ -4028,7 +4016,6 @@ dev = [
{ name = "flake8-executable" },
{ name = "flake8-implicit-str-concat" },
{ name = "flake8-logging" },
{ name = "flake8-pie" },
{ name = "flake8-pyproject" },
{ name = "flake8-pytest-style" },
{ name = "flake8-quotes" },
@ -4114,7 +4101,6 @@ dev = [
{ name = "flake8-executable", specifier = ">=2.1.3,<3.0.0" },
{ name = "flake8-implicit-str-concat", specifier = ">=0.7.0,<0.8.0" },
{ name = "flake8-logging", specifier = ">=1.8.0,<2.0.0" },
{ name = "flake8-pie", specifier = ">=0.16.0,<0.17.0" },
{ name = "flake8-pyproject", specifier = ">=1.2.4,<2.0.0" },
{ name = "flake8-pytest-style", specifier = ">=2.2.0,<3.0.0" },
{ name = "flake8-quotes", specifier = ">=3.4.0,<4.0.0" },