From 04d036cebc4b0a632ca86b03b76f2e7dc8053ed5 Mon Sep 17 00:00:00 2001 From: Honnix Date: Fri, 11 Apr 2025 09:07:19 +0200 Subject: [PATCH 1/2] fix: Update lower bound of required python to 3.9 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f733415bd7..21b224bcf7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "notebook" description = "Jupyter Notebook - A web-based notebook environment for interactive computing" readme = "README.md" license = { file = "LICENSE" } -requires-python = ">=3.8" +requires-python = ">=3.9" authors = [ { name = "Jupyter Development Team", email = "jupyter@googlegroups.com" }, ] From 99b5c679a6e3f5146a7cb12b09cc08ec99dcc81e Mon Sep 17 00:00:00 2001 From: Honnix Date: Fri, 11 Apr 2025 09:24:04 +0200 Subject: [PATCH 2/2] Ignore UP006 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 21b224bcf7..804f77dc1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -267,6 +267,7 @@ ignore = [ "PLR", # Design related pylint codes "C408", "C416", # Unnecessary `dict` call (rewrite as a literal) "RUF012", # Mutable class attributes should be annotated with `typing.ClassVar` + "UP006", # non-pep585-annotation ] [tool.ruff.lint.per-file-ignores]