Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2025-04-07 18:56:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.1907 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-isort" Mon Apr 7 18:56:01 2025 rev:46 rq:1267733 version:6.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2024-10-24 15:45:48.459685453 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.1907/python-isort.changes 2025-04-07 18:56:09.096503827 +0200 @@ -1,0 +2,48 @@ +Mon Apr 7 13:03:24 UTC 2025 - Nico Krapp <nico.kr...@suse.com> + +- Update to 6.0.1 + * fix multi_line_output_modes docs (#2096) @xinydev + * Ruff rules PT for pytest (#2372) @cclauss + * Ruff rules B017, B028, and E203 (#2371) @cclauss + * Lint Python code with ruff (#2359) @cclauss + * Fix test_find_imports_in_file_error failing on Windows (#2369) @kobarity + * Move flake8 settings into pyproject.toml (#2360) @cclauss + * Upgrade to uv>=0.6.0 and enable-cache (#2364) @cclauss + * Apply some ruff rules (#2353) @cclauss + * Add OSError handling in find_imports_in_file (#2331) @kobarity + * Link GH as changelog (#2354) @staticdev +- Update to 6.0.0 + * Remove support for Python 3.8 (#2327) @DanielNoord + * Python 3.13 support (#2306) @mayty + * Updates round 3 (#2334) @matthewhughes934 + * Speed up exists_case_sensitive calls (#2264) @correctmost + * nit: Fix deprecation message link (#2220) @syou6162 + * Ensure that split_on_trailing_comma works with as imports (#2340) @DanielNoord + * Black profile: enable magic comma (#2236) @MrMino + * Fix google style test (#2336) @DanielNoord + * Update line_length and single_line_exclusions in google profile (#2149) @jagapiou + * Updates round 2 (#2329) @matthewhughes934 + * Dependency updates round 1 (#2325) @matthewhughes934 + * Run pre-commit autoupdate (#2321) @kurtmckee + * Allow --diff to be used with --jobs (#2302) @mnakama + * wemake has 80 chars hard limit, not 79 (#2241) @sobolevn + * Fix errors on main (#2320) @DanielNoord + * Fixed syntax error (#2289) @Sergio-prog + * fix: typo (#2298) @Rotzbua + * Fix sort_reexports code mangling (#2283) @Helveg + * fix: correct group by package tokenization (#2136) @glasnt + * Fix isort-action usage documentation (#2297) @jamescurtin + * Fix CDN for Ace (#2127) @abitrolly + * Fix help text (#2229) @stweil + * docs: fix spelling mistake (#2249) @cachho + * Bump poetry to 2.0.1 (#2341) @DanielNoord + * Fix misc unsafe dependencies (#2345) @staticdev + * Bump the github-actions group across 1 directory with 5 updates (#2324) @dependabot[bot] + * Bump gitpython from 3.1.40 to 3.1.41 (#2223) @dependabot[bot] + * Bump jinja2 from 3.1.2 to 3.1.3 (#2224) @dependabot[bot] +- drop support-pytest-8.patch, merged upstream +- change source url back to pypi, tests are now included +- update build-requirements +- add fix-typo.patch to fix tests + +------------------------------------------------------------------- Old: ---- isort-5.13.2-gh.tar.gz support-pytest-8.patch New: ---- fix-typo.patch isort-6.0.1.tar.gz BETA DEBUG BEGIN: Old: * Bump jinja2 from 3.1.2 to 3.1.3 (#2224) @dependabot[bot] - drop support-pytest-8.patch, merged upstream - change source url back to pypi, tests are now included BETA DEBUG END: BETA DEBUG BEGIN: New:- update build-requirements - add fix-typo.patch to fix tests BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-isort.spec ++++++ --- /var/tmp/diff_new_pack.CDxez8/_old 2025-04-07 18:56:10.288553644 +0200 +++ /var/tmp/diff_new_pack.CDxez8/_new 2025-04-07 18:56:10.296553978 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-isort # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,18 +33,18 @@ %{?sle15_python_module_pythons} Name: python-isort%{psuffix} -Version: 5.13.2 +Version: 6.0.1 Release: 0 Summary: A Python utility / library to sort Python imports License: MIT URL: https://pycqa.github.io/isort/ -# tests and example projects are not packaged for PyPI, get them from Github -Source: https://github.com/PyCQA/isort/archive/%{version}.tar.gz#/isort-%{version}-gh.tar.gz -# PATCH-FIX-UPSTREAM gh#PyCQA/isort#2235 -Patch0: support-pytest-8.patch -BuildRequires: %{python_module base >= 3.8} +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 hatch-vcs} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} -BuildRequires: %{python_module poetry-core} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives @@ -81,7 +81,7 @@ 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.8+ to run but supports formatting Python 2 code +imports. It requires Python 3.9+ to run but supports formatting Python 2 code too. %prep ++++++ fix-typo.patch ++++++ 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 ++++++ isort-5.13.2-gh.tar.gz -> isort-6.0.1.tar.gz ++++++ ++++ 10521 lines of diff (skipped)