Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2020-09-10 22:48:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-isort" Thu Sep 10 22:48:24 2020 rev:19 rq:833014 version:5.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2020-09-01 20:07:52.628606692 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.4249/python-isort.changes 2020-09-10 22:48:54.467871501 +0200 @@ -1,0 +2,60 @@ +Tue Sep 8 14:08:11 UTC 2020 - Benjamin Greiner <[email protected]> + +- skip a flaky test gh#PyCQA/isort#1466 + +------------------------------------------------------------------- +Tue Sep 8 10:45:42 UTC 2020 - Benjamin Greiner <[email protected]> + +- 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/ + +------------------------------------------------------------------- Old: ---- isort-5.4.2-gh.tar.gz isort-5.4.2.tar.gz New: ---- isort-5.5.1-gh.tar.gz isort-5.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-isort.spec ++++++ --- /var/tmp/diff_new_pack.RsmoJ8/_old 2020-09-10 22:48:55.667872607 +0200 +++ /var/tmp/diff_new_pack.RsmoJ8/_new 2020-09-10 22:48:55.671872610 +0200 @@ -27,15 +27,15 @@ %endif %define skip_python2 1 Name: python-isort%{psuffix} -Version: 5.4.2 +Version: 5.5.1 Release: 0 Summary: A Python utility / library to sort Python imports License: MIT -URL: https://timothycrosley.github.io/isort/ +URL: https://pycqa.github.io/isort/ # only PyPI archive contains setup.py 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 -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: fdupes BuildRequires: python-rpm-macros @@ -62,6 +62,7 @@ BuildRequires: %{python_module pipreqs} BuildRequires: %{python_module poetry} BuildRequires: %{python_module pylama} +BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requirementslib >= 1.5.4} BuildRequires: %{python_module tomlkit} @@ -117,7 +118,15 @@ popd 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 %if !%{with test} ++++++ isort-5.4.2-gh.tar.gz -> isort-5.5.1-gh.tar.gz ++++++ ++++ 19512 lines of diff (skipped) ++++++ isort-5.4.2-gh.tar.gz -> isort-5.5.1.tar.gz ++++++ ++++ 25510 lines of diff (skipped)
