Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a6d2790d0f | |||
| 3dced7c567 | |||
| b0155a41c8 | |||
| a0705cdd0b | |||
| a5ba4d8461 | |||
| 53548581e1 |
@@ -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
|
||||
BIN
isort-6.0.1.tar.gz
LFS
BIN
isort-6.0.1.tar.gz
LFS
Binary file not shown.
3
isort-7.0.0.tar.gz
Normal file
3
isort-7.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5513527951aadb3ac4292a41a16cbc50dd1642432f5e8c20057d414bdafb4187
|
||||
size 805049
|
||||
@@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Convert to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 2 08:59:30 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -24,54 +24,48 @@
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} <= 1600
|
||||
%bcond_with pylama
|
||||
%else
|
||||
%bcond_without pylama
|
||||
%endif
|
||||
|
||||
%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
|
||||
Patch: 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}
|
||||
BuildRequires: alts
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: python-colorama >= 0.4.3
|
||||
Recommends: python-pip-api
|
||||
Recommends: python-pip-shims >= 0.5.2
|
||||
Recommends: python-pipreqs
|
||||
Recommends: python-setuptools
|
||||
Requires: alts
|
||||
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}
|
||||
%if %{with pylama}
|
||||
BuildRequires: %{python_module pylama}
|
||||
%endif
|
||||
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
|
||||
%if %{with pylama}
|
||||
BuildRequires: %{python_module pylama}
|
||||
%endif
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
@@ -111,6 +105,7 @@ hypothesis.settings.register_profile(
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/isort
|
||||
%python_clone -a %{buildroot}%{_bindir}/isort-identify-imports
|
||||
%python_group_libalternatives isort isort-identify-imports
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
@@ -170,11 +165,8 @@ pytest-%{$python_bin_suffix} -v \
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%post
|
||||
%python_install_alternative isort isort-identify-imports
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative isort
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative isort
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user