[packages/python3-isort] Up to 9.0.2

arekm arekm at pld-linux.org
Thu Nov 12 09:06:36 CET 2026


commit d73bc24c71ae2fecb791c3aa843b492fd4a6c5f7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 12 02:03:37 2026 +0100

    Up to 9.0.2

 isort-no-mypyc-build-dep.patch | 12 ++++++++++++
 python3-isort.spec             | 20 +++++++++++---------
 2 files changed, 23 insertions(+), 9 deletions(-)
---
diff --git a/python3-isort.spec b/python3-isort.spec
index c788190..8788c57 100644
--- a/python3-isort.spec
+++ b/python3-isort.spec
@@ -9,25 +9,26 @@
 Summary:	Python 2 library to sort imports alphabetically
 Summary(pl.UTF-8):	Narzędzie Pythona 2 do alfabetycznego sortowania listy importów
 Name:		python3-%{module}
-Version:	6.0.1
+Version:	9.0.2
 Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/isort/
 Source0:	https://files.pythonhosted.org/packages/source/i/isort/%{module}-%{version}.tar.gz
-# Source0-md5:	b5365c66250ac30d368eed25c3920918
+# Source0-md5:	d83b9145f1cc90203c1e6907ca93ad29
+Patch0:		%{module}-no-mypyc-build-dep.patch
 URL:		https://github.com/timothycrosley/isort
 BuildRequires:	python3-build
 BuildRequires:	python3-hatch-vcs
 BuildRequires:	python3-hatchling
 BuildRequires:	python3-installer
-BuildRequires:	python3-modules >= 1:3.9
-BuildRequires:	python3-setuptools
+BuildRequires:	python3-modules >= 1:3.10
 %if %{with tests}
 BuildRequires:	python3-colorama >= 0.4.6
 BuildRequires:	python3-hypothesis >= 6.10.1
 BuildRequires:	python3-hypothesmith >= 0.1.3
 BuildRequires:	python3-libcst >= 0.3.18
+BuildRequires:	python3-mypy_extensions >= 1.1.0
 BuildRequires:	python3-pytest >= 7.4.2
 # verify if needed for tests
 #BuildRequires:	python3-pip-api
@@ -36,7 +37,7 @@ BuildRequires:	python3-pytest >= 7.4.2
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 2.044
-Requires:	python3-modules >= 1:3.9
+Requires:	python3-modules >= 1:3.10
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -44,7 +45,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 isort is a Python utility / library to sort imports alphabetically,
 and automatically separated into sections and by type. It provides a
 command line utility, Python library and plugins for various editors
-to quickly sort all your imports. It requires Python 3.9+ to run but
+to quickly sort all your imports. It requires Python 3.10+ to run but
 supports formatting Python 2 code too.
 
 This package contains Python 3 library.
@@ -54,7 +55,7 @@ isort to pythonowe narzędzie/biblioteka do alfabetycznego sortowania
 importów i automatycznego dzielenia ich na sekcje i po rodzaju.
 Udostępnia narzędzie wiersza poleceń, bibliotekę Pythona i wtyczki do
 różnych edytorów, pozwalające szybko posortować importy. Wymaga do
-działania Pythona 3.9+, ale obsługuje także formatowanie kodu Pythona
+działania Pythona 3.10+, ale obsługuje także formatowanie kodu Pythona
 2.
 
 Ten pakiet zawiera bibliotekę Pythona 3.
@@ -69,7 +70,7 @@ Requires:	%{name} = %{version}-%{release}
 isort is a Python utility / library to sort imports alphabetically,
 and automatically separated into sections and by type. It provides a
 command line utility, Python library and plugins for various editors
-to quickly sort all your imports. It requires Python 3.9+ to run but
+to quickly sort all your imports. It requires Python 3.10+ to run but
 supports formatting Python 2 code too.
 
 This package contains command line utility.
@@ -79,13 +80,14 @@ isort to pythonowe narzędzie/biblioteka do alfabetycznego sortowania
 importów i automatycznego dzielenia ich na sekcje i po rodzaju.
 Udostępnia narzędzie wiersza poleceń, bibliotekę Pythona i wtyczki do
 różnych edytorów, pozwalające szybko posortować importy. Wymaga do
-działania Pythona 3.9+, ale obsługuje także formatowanie kodu Pythona
+działania Pythona 3.10+, ale obsługuje także formatowanie kodu Pythona
 2.
 
 Ten pakiet zawiera narzędzie wiersza poleceń.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch -P0 -p1
 
 %build
 %py3_build_pyproject
diff --git a/isort-no-mypyc-build-dep.patch b/isort-no-mypyc-build-dep.patch
new file mode 100644
index 0000000..f339293
--- /dev/null
+++ b/isort-no-mypyc-build-dep.patch
@@ -0,0 +1,12 @@
+# hatch-mypyc only serves the opt-in mypyc hook (enable-by-default = false)
+--- isort-9.0.2.orig/pyproject.toml	2026-11-12 02:03:07.323333333 +0100
++++ isort-9.0.2/pyproject.toml	2026-11-12 02:03:07.683333333 +0100
+@@ -88,7 +88,7 @@
+ ]
+ 
+ [build-system]
+-requires = ["hatchling", "hatch-vcs", "hatch-mypyc"]
++requires = ["hatchling", "hatch-vcs"]
+ build-backend = "hatchling.build"
+ 
+ [tool.hatch.build.targets.wheel.hooks.mypyc]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-isort.git/commitdiff/d73bc24c71ae2fecb791c3aa843b492fd4a6c5f7



More information about the pld-cvs-commit mailing list