diff --git a/fix-typo.patch b/fix-typo.patch deleted file mode 100644 index 43d2e03..0000000 --- a/fix-typo.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: isort-6.0.1/isort/deprecated/finders.py -=================================================================== ---- isort-6.0.1.orig/isort/deprecated/finders.py -+++ isort-6.0.1/isort/deprecated/finders.py -@@ -309,7 +309,7 @@ class RequirementsFinder(ReqsBaseFinder) - for subfile_name in os.listdir(full_path): - results.extend( - os.path.join(full_path, subfile_name) -- for ext in cls.ext # type: ignore[attr-defined] -+ for ext in cls.exts # type: ignore[attr-defined] - if subfile_name.endswith(ext) - ) - continue diff --git a/isort-6.0.1.tar.gz b/isort-6.0.1.tar.gz deleted file mode 100644 index f441e5e..0000000 --- a/isort-6.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1cb5df28dfbc742e490c5e41bad6da41b805b0a8be7bc93cd0fb2a8a890ac450 -size 821955 diff --git a/isort-7.0.0.tar.gz b/isort-7.0.0.tar.gz new file mode 100644 index 0000000..12d0f09 --- /dev/null +++ b/isort-7.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5513527951aadb3ac4292a41a16cbc50dd1642432f5e8c20057d414bdafb4187 +size 805049 diff --git a/python-isort.changes b/python-isort.changes index 661385c..1683a29 100644 --- a/python-isort.changes +++ b/python-isort.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed Dec 17 03:58:06 UTC 2025 - Steve Kowalik + +- Update to 7.0.0: + * Breaking Changes + + Drop support for Python 3.9 (#2430) @DanielNoord + * Features + + Show absolute paths in skipped file messages (#2416) @pranlawate + * Fixes + + Drop use of non-standard pkg_resources API (#2405) @dvarrazzo + + Use working isort version in pre-commit example (#2402) @iainelder + + fix typo in _get_files_from_dir_cached test (#2392) @tiltingpenguin + + Resolve bandit warnings (#2379) @kurtmckee + + Some fixes for Python 3.14 (#2433) @DanielNoord + + Test on 3.14 and fix any bugs (#2425) @DanielNoord + + Update CHANGELOG.md + Fix Formatting and Grammar (#2419) @lukbrew25 + + Fix output of hanging indent for long lines with noqa (#2407) +- Drop patch fix-typo.patch, merged upstream. + ------------------------------------------------------------------- Thu Jul 10 13:23:44 UTC 2025 - Markéta Machová diff --git a/python-isort.spec b/python-isort.spec index 6c4c693..34eb2c9 100644 --- a/python-isort.spec +++ b/python-isort.spec @@ -1,7 +1,7 @@ # # spec file for package python-isort # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,15 +32,13 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-isort%{psuffix} -Version: 6.0.1 +Version: 7.0.0 Release: 0 Summary: A Python utility / library to sort Python imports License: MIT URL: https://pycqa.github.io/isort/ Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz -# PATCH-FIX-UPSTREAM fix-typo.patch gh#PyCQA/isort/2392 -Patch0: fix-typo.patch -BuildRequires: %{python_module base >= 3.9} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module hatch-vcs} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} @@ -48,23 +46,20 @@ BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: alts -Recommends: python-colorama >= 0.4.3 -Recommends: python-pip-api -Recommends: python-pip-shims >= 0.5.2 -Recommends: python-pipreqs -Recommends: python-setuptools +Recommends: python-colorama >= 0.4.6 Suggests: git-core BuildArch: noarch %if %{with test} BuildRequires: %{python_module black} -BuildRequires: %{python_module colorama >= 0.4.3} -BuildRequires: %{python_module hypothesmith} +BuildRequires: %{python_module colorama >= 0.4.6} +BuildRequires: %{python_module hypothesmith >= 0.3.3} BuildRequires: %{python_module isort == %{version}} BuildRequires: %{python_module libcst} BuildRequires: %{python_module natsort} BuildRequires: %{python_module pip-api} BuildRequires: %{python_module pipreqs} -BuildRequires: %{python_module pytest > 6.0} +BuildRequires: %{python_module pytest >= 8.4} +BuildRequires: %{python_module pytest-benchmark >= 5.1} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module toml >= 0.10.2} BuildRequires: git-core