Accepting request 859770 from home:bnavigator:branches:devel:languages:python

- Update to Version 5.7.0
  * Fixed #1612: In rare circumstances an extra comma is added
    after import and before comment.
  * Fixed #1593: isort encounters bug in Python 3.6.0.
  * Implemented #1596: Provide ways for extension formatting and
    file paths to be specified when using streaming input from CLI.
  * Implemented #1583: Ability to output and diff within a single
    API call to isort.file.
  * Implemented #1562, #1592 & #1593: Better more useful fatal
    error messages.
  * Implemented #1575: Support for automatically fixing mixed
    indentation of import sections.
  * Implemented #1582: Added a CLI option for skipping symlinks.
  * Implemented #1603: Support for disabling float_to_top from the
    command line.
  * Implemented #1604: Allow toggling section comments on and off
    for indented import sections.

OBS-URL: https://build.opensuse.org/request/show/859770
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=71
This commit is contained in:
Benjamin Greiner 2021-01-02 00:22:56 +00:00 committed by Git OBS Bridge
parent 1395ae55ad
commit 6dcda2c6ed
4 changed files with 33 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4018898c19c5e28797f64289c6286682ddc29eb49b4075866f6c63d8500eb7ab
size 636779

3
isort-5.7.0-gh.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0075f620c552f6d52e26bc4ec53f44c716b2aaf0e4c8067dfffadef60413a740
size 705652

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jan 1 23:43:14 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Update to Version 5.7.0
* Fixed #1612: In rare circumstances an extra comma is added
after import and before comment.
* Fixed #1593: isort encounters bug in Python 3.6.0.
* Implemented #1596: Provide ways for extension formatting and
file paths to be specified when using streaming input from CLI.
* Implemented #1583: Ability to output and diff within a single
API call to isort.file.
* Implemented #1562, #1592 & #1593: Better more useful fatal
error messages.
* Implemented #1575: Support for automatically fixing mixed
indentation of import sections.
* Implemented #1582: Added a CLI option for skipping symlinks.
* Implemented #1603: Support for disabling float_to_top from the
command line.
* Implemented #1604: Allow toggling section comments on and off
for indented import sections.
-------------------------------------------------------------------
Fri Dec 11 23:19:12 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-isort
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,7 +27,7 @@
%endif
%define skip_python2 1
Name: python-isort%{psuffix}
Version: 5.6.4
Version: 5.7.0
Release: 0
Summary: A Python utility / library to sort Python imports
License: MIT
@ -85,6 +85,7 @@ chmod -x LICENSE
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/isort
%python_clone -a %{buildroot}%{_bindir}/isort-identify-imports
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@ -125,7 +126,7 @@ pytest-%{$python_bin_suffix} -v \
%if !%{with test}
%post
%python_install_alternative isort
%python_install_alternative isort isort-identify-imports
%postun
%python_uninstall_alternative isort
@ -134,6 +135,7 @@ pytest-%{$python_bin_suffix} -v \
%doc README.md
%license LICENSE
%python_alternative %{_bindir}/isort
%python_alternative %{_bindir}/isort-identify-imports
%{python_sitelib}/isort
%{python_sitelib}/isort-%{version}.dist-info
%endif