1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
From: Colin Watson <cjwatson@debian.org>
Date: Sun, 1 Mar 2026 18:37:46 +0000
Subject: Support isort 8
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
The breaking change in isort 8 is to remove the `setuptools` plugin (see
https://github.com/PyCQA/isort/releases), which this project doesn't
use.
Forwarded: https://github.com/koxudaxi/datamodel-code-generator/pull/3011
Bug-Debian: https://bugs.debian.org/1129211
Last-Update: 2026-03-01
---
pyproject.toml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index ad5688b..a6e0e5a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -34,7 +34,7 @@ dependencies = [
"black>=19.10b0",
"genson>=1.2.1,<2",
"inflect>=4.1,<8",
- "isort>=4.3.21,<8",
+ "isort>=4.3.21,<9",
"jinja2>=2.10.1,<4",
"packaging",
"pydantic>=1.5",
@@ -115,6 +115,7 @@ black24 = [ "black==24.1" ]
isort5 = [ "isort>=5,<6" ]
isort6 = [ "isort>=6,<7" ]
isort7 = [ "isort>=7,<8; python_version>='3.10'" ]
+isort8 = [ "isort>=8,<9; python_version>='3.10'" ]
pydantic1 = [ "pydantic<2" ]
fix = [ "pre-commit-uv>=4.1.4" ]
pkg-meta = [ "check-wheel-contents>=0.6.1", "twine>=6.1", "uv>=0.5.22" ]
@@ -144,6 +145,7 @@ conflicts = [
{ group = "isort5" },
{ group = "isort6" },
{ group = "isort7" },
+ { group = "isort8" },
{ group = "dev" },
],
[
|