From 9dbaabf48c398f6e1f5b58ad8b6bfea723dfbf6816bac3137dd82b3e82af1cec Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 19 Jan 2023 13:41:32 +0000 Subject: [PATCH] Accepting request 1059600 from home:bnavigator:branches:devel:languages:python - Update to 5.11.4 * No user relevant changes - Release 5.11.3 * Renable portray (#2043) @timothycrosley * Fix packaging pypoetry (#2042) @staticdev * Fix settings for py3.11 (#2040) @staticdev - Release 5.11.2 * Hotfix for --version. (#2035) @felixxm - Release 5.11.1 * Only call colorama.init if colorama is available (#2032) @tomaarsen - Release 5.11.0 * Add support to Python 3.11 support (#2024) @staticdev * Remove support to Python 3.6 (#2020) @barrelful * Fix Rich compatibility (#1961) @ofek * Add magic trailing comma option (#1876) @legau * Add missing space in unrecoverable exception message (#1933) @andersk * skip-gitignore: use allow list, not deny list (#1900) @bmalehorn * Infinite loop for unmatched parenthesis (#1919) @anirudnits * Split long cython import lines (#1931) @davidcollins001 * Update plone profile: copy of black, plus three settings. (#1926) @mauritsvanrees * Add a command-line flag to sort all re-exports (#1862) (#1863) @parafoxia * Fix lines_before_imports appending lines after comments (#1861) @legau * Remove redundant multi_line_output = 3 from "Compatibility with black" (#1858) @jdufresne OBS-URL: https://build.opensuse.org/request/show/1059600 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=103 --- isort-5.10.1-gh.tar.gz | 3 --- isort-5.11.4-gh.tar.gz | 3 +++ python-isort.changes | 34 ++++++++++++++++++++++++++++++++++ python-isort.spec | 19 +++++++------------ 4 files changed, 44 insertions(+), 15 deletions(-) delete mode 100644 isort-5.10.1-gh.tar.gz create mode 100644 isort-5.11.4-gh.tar.gz diff --git a/isort-5.10.1-gh.tar.gz b/isort-5.10.1-gh.tar.gz deleted file mode 100644 index a428bd7..0000000 --- a/isort-5.10.1-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7f3a99bb1e93e58ae10737b8a31d45aa03a096b1c4cbbbd55f05226e40089cf7 -size 728462 diff --git a/isort-5.11.4-gh.tar.gz b/isort-5.11.4-gh.tar.gz new file mode 100644 index 0000000..725775d --- /dev/null +++ b/isort-5.11.4-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c7aaed2cde78d0e93fc9defbc3da553428d8a9ddff6aebd2c5dd97db16f4b0c +size 733368 diff --git a/python-isort.changes b/python-isort.changes index 8213fe2..217e9a9 100644 --- a/python-isort.changes +++ b/python-isort.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Thu Jan 19 11:36:34 UTC 2023 - Ben Greiner + +- Update to 5.11.4 + * No user relevant changes +- Release 5.11.3 + * Renable portray (#2043) @timothycrosley + * Fix packaging pypoetry (#2042) @staticdev + * Fix settings for py3.11 (#2040) @staticdev +- Release 5.11.2 + * Hotfix for --version. (#2035) @felixxm +- Release 5.11.1 + * Only call colorama.init if colorama is available (#2032) + @tomaarsen +- Release 5.11.0 + * Add support to Python 3.11 support (#2024) @staticdev + * Remove support to Python 3.6 (#2020) @barrelful + * Fix Rich compatibility (#1961) @ofek + * Add magic trailing comma option (#1876) @legau + * Add missing space in unrecoverable exception message (#1933) + @andersk + * skip-gitignore: use allow list, not deny list (#1900) + @bmalehorn + * Infinite loop for unmatched parenthesis (#1919) @anirudnits + * Split long cython import lines (#1931) @davidcollins001 + * Update plone profile: copy of black, plus three settings. + (#1926) @mauritsvanrees + * Add a command-line flag to sort all re-exports (#1862) (#1863) + @parafoxia + * Fix lines_before_imports appending lines after comments (#1861) + @legau + * Remove redundant multi_line_output = 3 from "Compatibility with + black" (#1858) @jdufresne + ------------------------------------------------------------------- Fri Aug 19 09:44:13 UTC 2022 - Ben Greiner diff --git a/python-isort.spec b/python-isort.spec index 8660847..41307a2 100644 --- a/python-isort.spec +++ b/python-isort.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,27 +25,26 @@ %bcond_with test %endif -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 Name: python-isort%{psuffix} -Version: 5.10.1 +Version: 5.11.4 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 +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-setuptools Requires(post): update-alternatives Requires(postun):update-alternatives Recommends: python-colorama >= 0.4.3 Recommends: python-pip-api Recommends: python-pipreqs -Suggests: git +Recommends: python-setuptools +Suggests: git-core BuildArch: noarch %if %{with test} BuildRequires: %{python_module black} @@ -61,7 +60,7 @@ BuildRequires: %{python_module pylama} BuildRequires: %{python_module pytest > 6.0} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module toml >= 0.10.2} -BuildRequires: git +BuildRequires: git-core %endif %python_subpackages @@ -88,12 +87,8 @@ hypothesis.settings.register_profile( ) " >> tests/conftest.py -# unpin natsort in example plugin -- https://github.com/PyCQA/isort/issues/1873 -sed -i 's/natsort = "^/natsort = ">=/' example_isort_sorting_plugin/pyproject.toml -# unpin black in example plugin -sed -i 's/black = "^/black = ">=/' example_isort_formatting_plugin/pyproject.toml - %build +# Note: we also need the wheel for testing %pyproject_wheel %if !%{with test}