forked from pool/python-isort
Accepting request 833014 from devel:languages:python
- skip a flaky test gh#PyCQA/isort#1466 - Update to 5.5.1 - Version 5.5.0 - Github repo moved to PyCQA/isort - URL moved to https://pycqa.github.io/isort/ OBS-URL: https://build.opensuse.org/request/show/833014 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=19
This commit is contained in:
commit
4d4b427edc
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:98f3e9a421b98c08ea5bb7a09024c87f3840bb1d851f26bb694e232c159cb274
|
|
||||||
size 600210
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d488ba1c5a2db721669cc180180d5acf84ebdc5af7827f7aaeaa75f73cf0e2b8
|
|
||||||
size 129085
|
|
3
isort-5.5.1-gh.tar.gz
Normal file
3
isort-5.5.1-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:67242f7433db149413e9175eb88ada911ad8d131c0a42c75d2900ea90228f8fd
|
||||||
|
size 616959
|
3
isort-5.5.1.tar.gz
Normal file
3
isort-5.5.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:92533892058de0306e51c88f22ece002a209dc8e80288aa3cec6d443060d584f
|
||||||
|
size 144834
|
@ -1,3 +1,63 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 8 14:08:11 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- skip a flaky test gh#PyCQA/isort#1466
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 8 10:45:42 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 5.5.1
|
||||||
|
* Fixed #1454: Ensure indented import sections with import
|
||||||
|
heading and a preceding comment don't cause import sorting
|
||||||
|
loops.
|
||||||
|
* Fixed #1453: isort error when float to top on almost empty
|
||||||
|
file.
|
||||||
|
* Fixed #1456 and #1415: noqa comment moved to where flake8 cant
|
||||||
|
see it.
|
||||||
|
* Fixed #1460: .svn missing from default ignore list.
|
||||||
|
- Version 5.5.0
|
||||||
|
* Fixed #1398: isort: off comment doesn't work, if it's the top
|
||||||
|
comment in the file.
|
||||||
|
* Fixed #1395: reverse_relative setting doesn't have any effect
|
||||||
|
when combined with force_sort_within_sections.
|
||||||
|
* Fixed #1399: --skip can error in the case of projects that
|
||||||
|
contain recursive symlinks.
|
||||||
|
* Fixed #1389: ensure_newline_before_comments doesn't work if
|
||||||
|
comment is at top of section and sections don't have lines
|
||||||
|
between them.
|
||||||
|
* Fixed #1396: comments in imports with ";" can keep isort from
|
||||||
|
recognizing import line.
|
||||||
|
* Fixed #1380: As imports removed when combine_star is set.
|
||||||
|
* Fixed #1382: --float-to-top has no effect if no import is
|
||||||
|
already at the top.
|
||||||
|
* Fixed #1420: isort never settles on module docstring + add
|
||||||
|
import.
|
||||||
|
* Fixed #1421: Error raised when repo contains circular symlinks.
|
||||||
|
* Fixed #1427: noqa comment is moved from star import to constant
|
||||||
|
import.
|
||||||
|
* Fixed #1444 & 1445: Incorrect placement of import additions.
|
||||||
|
* Fixed #1447: isort5 throws error when stdin used on Windows
|
||||||
|
with deprecated args.
|
||||||
|
* Implemented #1397: Added support for specifying config file
|
||||||
|
when using git hook (thanks @diseraluca!).
|
||||||
|
* Implemented #1405: Added support for coloring diff output.
|
||||||
|
* Implemented #1434: New multi-line grid mode without
|
||||||
|
parentheses.
|
||||||
|
* Goal Zero (Tickets related to aspirational goal of achieving 0
|
||||||
|
regressions for remaining 5.0.0 lifespan):
|
||||||
|
* Implemented #1392: Extensive profile testing.
|
||||||
|
* Implemented #1393: Proprety based testing applied to code
|
||||||
|
snippets.
|
||||||
|
* Implemented #1391: Create automated integration test that
|
||||||
|
includes full code base of largest OpenSource isort users.
|
||||||
|
* Potentially breaking change:
|
||||||
|
Fixed #1429: --check doesn't print to stderr as the
|
||||||
|
documentation says. This means if you were looking for ERROR:
|
||||||
|
messages for files that contain incorrect imports within stdout
|
||||||
|
you will now need to look in stderr.
|
||||||
|
- Github repo moved to PyCQA/isort
|
||||||
|
- URL moved to https://pycqa.github.io/isort/
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 19 17:27:27 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
Wed Aug 19 17:27:27 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -27,15 +27,15 @@
|
|||||||
%endif
|
%endif
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-isort%{psuffix}
|
Name: python-isort%{psuffix}
|
||||||
Version: 5.4.2
|
Version: 5.5.1
|
||||||
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://timothycrosley.github.io/isort/
|
URL: https://pycqa.github.io/isort/
|
||||||
# only PyPI archive contains setup.py
|
# only PyPI archive contains setup.py
|
||||||
Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz
|
||||||
# ... but test data are not packaged for PyPI, get them from git sources
|
# ... but test data are not packaged for PyPI, get them from git sources
|
||||||
Source1: https://github.com/timothycrosley/isort/archive/%{version}.tar.gz#/isort-%{version}-gh.tar.gz
|
Source1: https://github.com/PyCQA/isort/archive/%{version}.tar.gz#/isort-%{version}-gh.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -62,6 +62,7 @@ BuildRequires: %{python_module pip-api}
|
|||||||
BuildRequires: %{python_module pipreqs}
|
BuildRequires: %{python_module pipreqs}
|
||||||
BuildRequires: %{python_module poetry}
|
BuildRequires: %{python_module poetry}
|
||||||
BuildRequires: %{python_module pylama}
|
BuildRequires: %{python_module pylama}
|
||||||
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requirementslib >= 1.5.4}
|
BuildRequires: %{python_module requirementslib >= 1.5.4}
|
||||||
BuildRequires: %{python_module tomlkit}
|
BuildRequires: %{python_module tomlkit}
|
||||||
@ -117,7 +118,15 @@ for exampledir in example_shared_isort_profile example_isort_formatting_plugin;
|
|||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
%pytest -W "ignore::UserWarning" -W "ignore::DeprecationWarning"
|
# test_projects_using_isort.py: these tests try to clone from
|
||||||
|
# online git repositories.
|
||||||
|
# test_settung_combinations.py::test_isort_is_idempotent
|
||||||
|
# is flaky https://github.com/PyCQA/isort/issues/1466
|
||||||
|
%{pytest -W "ignore::UserWarning" \
|
||||||
|
-W "ignore::DeprecationWarning" \
|
||||||
|
--ignore tests/integration/test_projects_using_isort.py \
|
||||||
|
-k "not (test_setting_combinations and test_isort_is_idempotent)"
|
||||||
|
}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user