Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0fcf543fe6 |
13
fix-typo.patch
Normal file
13
fix-typo.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
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
|
||||||
BIN
isort-6.0.1.tar.gz
LFS
Normal file
BIN
isort-6.0.1.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5513527951aadb3ac4292a41a16cbc50dd1642432f5e8c20057d414bdafb4187
|
|
||||||
size 805049
|
|
||||||
@@ -1,22 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Dec 17 03:58:06 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- 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á <mmachova@suse.com>
|
Thu Jul 10 13:23:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-isort
|
# spec file for package python-isort
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC and contributors
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -32,13 +32,15 @@
|
|||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-isort%{psuffix}
|
Name: python-isort%{psuffix}
|
||||||
Version: 7.0.0
|
Version: 6.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python utility / library to sort Python imports
|
Summary: A Python utility / library to sort Python imports
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pycqa.github.io/isort/
|
URL: https://pycqa.github.io/isort/
|
||||||
Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.10}
|
# PATCH-FIX-UPSTREAM fix-typo.patch gh#PyCQA/isort/2392
|
||||||
|
Patch0: fix-typo.patch
|
||||||
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
BuildRequires: %{python_module hatch-vcs}
|
BuildRequires: %{python_module hatch-vcs}
|
||||||
BuildRequires: %{python_module hatchling}
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
@@ -46,20 +48,23 @@ BuildRequires: alts
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: alts
|
Requires: alts
|
||||||
Recommends: python-colorama >= 0.4.6
|
Recommends: python-colorama >= 0.4.3
|
||||||
|
Recommends: python-pip-api
|
||||||
|
Recommends: python-pip-shims >= 0.5.2
|
||||||
|
Recommends: python-pipreqs
|
||||||
|
Recommends: python-setuptools
|
||||||
Suggests: git-core
|
Suggests: git-core
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module black}
|
BuildRequires: %{python_module black}
|
||||||
BuildRequires: %{python_module colorama >= 0.4.6}
|
BuildRequires: %{python_module colorama >= 0.4.3}
|
||||||
BuildRequires: %{python_module hypothesmith >= 0.3.3}
|
BuildRequires: %{python_module hypothesmith}
|
||||||
BuildRequires: %{python_module isort == %{version}}
|
BuildRequires: %{python_module isort == %{version}}
|
||||||
BuildRequires: %{python_module libcst}
|
BuildRequires: %{python_module libcst}
|
||||||
BuildRequires: %{python_module natsort}
|
BuildRequires: %{python_module natsort}
|
||||||
BuildRequires: %{python_module pip-api}
|
BuildRequires: %{python_module pip-api}
|
||||||
BuildRequires: %{python_module pipreqs}
|
BuildRequires: %{python_module pipreqs}
|
||||||
BuildRequires: %{python_module pytest >= 8.4}
|
BuildRequires: %{python_module pytest > 6.0}
|
||||||
BuildRequires: %{python_module pytest-benchmark >= 5.1}
|
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module toml >= 0.10.2}
|
BuildRequires: %{python_module toml >= 0.10.2}
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
|
|||||||
Reference in New Issue
Block a user