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
This commit is contained in:
parent
574e39555b
commit
9dbaabf48c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7f3a99bb1e93e58ae10737b8a31d45aa03a096b1c4cbbbd55f05226e40089cf7
|
|
||||||
size 728462
|
|
3
isort-5.11.4-gh.tar.gz
Normal file
3
isort-5.11.4-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6c7aaed2cde78d0e93fc9defbc3da553428d8a9ddff6aebd2c5dd97db16f4b0c
|
||||||
|
size 733368
|
@ -1,3 +1,37 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 19 11:36:34 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- 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 <code@bnavigator.de>
|
Fri Aug 19 09:44:13 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 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
|
||||||
@ -25,27 +25,26 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-isort%{psuffix}
|
Name: python-isort%{psuffix}
|
||||||
Version: 5.10.1
|
Version: 5.11.4
|
||||||
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/
|
||||||
# tests and example projects are not packaged for PyPI, get them from Github
|
# 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
|
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 pip}
|
||||||
BuildRequires: %{python_module poetry-core}
|
BuildRequires: %{python_module poetry-core}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-setuptools
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
Recommends: python-colorama >= 0.4.3
|
Recommends: python-colorama >= 0.4.3
|
||||||
Recommends: python-pip-api
|
Recommends: python-pip-api
|
||||||
Recommends: python-pipreqs
|
Recommends: python-pipreqs
|
||||||
Suggests: git
|
Recommends: python-setuptools
|
||||||
|
Suggests: git-core
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module black}
|
BuildRequires: %{python_module black}
|
||||||
@ -61,7 +60,7 @@ BuildRequires: %{python_module pylama}
|
|||||||
BuildRequires: %{python_module pytest > 6.0}
|
BuildRequires: %{python_module pytest > 6.0}
|
||||||
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
|
BuildRequires: git-core
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -88,12 +87,8 @@ hypothesis.settings.register_profile(
|
|||||||
)
|
)
|
||||||
" >> tests/conftest.py
|
" >> 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
|
%build
|
||||||
|
# Note: we also need the wheel for testing
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user