Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2021-07-13 22:36:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-isort" Tue Jul 13 22:36:54 2021 rev:26 rq:905345 version:5.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2021-03-24 16:10:56.179812079 +0100 +++ /work/SRC/openSUSE:Factory/.python-isort.new.2625/python-isort.changes 2021-07-13 22:36:59.902339609 +0200 @@ -1,0 +2,46 @@ +Thu Jul 8 13:48:37 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- update to version 5.9.2 + * Improved behavior of isort --check --atomic against Cython + files. + * Fixed #1769: Future imports added below assignments when no + other imports present. + * Fixed #1772: skip-gitignore will check files not in the git + repository. + * Fixed #1762: in some cases when skip-gitignore is set, isort + fails to skip any files. + * Fixed #1767: Encoding issues surfacing when invalid characters + set in __init__.py files during placement. + * Fixed #1771: Improved handling of skips against named streamed + in content. +- Skip benchmarks +- Update test requirements: + * test expects example_isort_sorting_plugin with python-natsort + installed + * Python 3.9 tests fail without numpy installed because of some + typing check. + +------------------------------------------------------------------- +Sun Jul 4 19:12:04 UTC 2021 - Sebastian Wagner <sebix+novell....@sebix.at> + +- update to version 5.9.1: + - Fixed #1758: projects with many files and skip_ignore set can lead to a command-line overload. +- update to version 5.9.0: + - Improved CLI startup time. + - Implemented #1697: Provisional support for PEP 582: skip `__pypackages__` directories by default. + - Implemented #1705: More intuitive handling of isort:skip_file comments on streams. + - Implemented #1737: Support for using action comments to avoid adding imports to individual files. + - Implemented #1750: Ability to customize output format lines. + - Implemented #1732: Support for custom sort functions. + - Implemented #1722: Improved behavior for running isort in atomic mode over Cython source files. + - Fixed (https://github.com/PyCQA/isort/pull/1695): added imports being added to doc string in some cases. + - Fixed (https://github.com/PyCQA/isort/pull/1714): in rare cases line continuation combined with tabs can output invalid code. + - Fixed (https://github.com/PyCQA/isort/pull/1726): isort ignores reverse_sort when force_sort_within_sections is true. + - Fixed #1741: comments in hanging indent modes can lead to invalid code. + - Fixed #1744: repeat noqa comments dropped when * import and non * imports exist from the same package. + - Fixed #1721: repeat noqa comments on separate from lines with force-single-line set, sometimes get dropped. + - Goal Zero (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan): + - Implemented #1394: 100% branch coverage (in addition to line coverage) enforced. + - Implemented #1751: Strict typing enforcement (turned on mypy strict mode). + +------------------------------------------------------------------- Old: ---- isort-5.8.0-gh.tar.gz New: ---- isort-5.9.2-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-isort.spec ++++++ --- /var/tmp/diff_new_pack.inUpop/_old 2021-07-13 22:37:00.338336099 +0200 +++ /var/tmp/diff_new_pack.inUpop/_new 2021-07-13 22:37:00.342336066 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-isort-test +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -27,7 +27,7 @@ %endif %define skip_python2 1 Name: python-isort%{psuffix} -Version: 5.8.0 +Version: 5.9.2 Release: 0 Summary: A Python utility / library to sort Python imports License: MIT @@ -53,6 +53,7 @@ BuildRequires: %{python_module hypothesis-auto} BuildRequires: %{python_module hypothesmith} BuildRequires: %{python_module libcst} +BuildRequires: %{python_module natsort} BuildRequires: %{python_module pip-api} BuildRequires: %{python_module pipreqs} BuildRequires: %{python_module poetry} @@ -62,6 +63,7 @@ # requirementslib not ready for python 3.9 yet -- gh#sarugaku/requirementslib#288 BuildRequires: %{python_module requirementslib >= 1.5 if %python-base < 3.9} BuildRequires: git +BuildRequires: %{python_module numpy if (%python-base without python36-base)} %endif %python_subpackages @@ -93,6 +95,8 @@ %check # test_projects_using_isort.py: these tests try to clone from online git repositories. ignoretests="--ignore tests/integration/test_projects_using_isort.py" +# don't run benchmarks +ignoretests+=" --ignore tests/benchmark" # test_setting_combinations.py::test_isort_is_idempotent # is flaky https://github.com/PyCQA/isort/issues/1466 donttest="(test_setting_combinations and test_isort_is_idempotent)" @@ -107,7 +111,11 @@ export PYTHONPATH="$(pwd)/isort-test-%{$python_bin_suffix}%{$python_sitelib}" export PYTHONDONTWRITEBYTECODE=1 -for proj in build/isort-%{version}-py3-none-any.whl ./example_shared_isort_profile ./example_isort_formatting_plugin; do +for proj in build/isort-%{version}-py3-none-any.whl \ + ./example_shared_isort_profile \ + ./example_isort_formatting_plugin \ + ./example_isort_sorting_plugin +do $python -m pip install --verbose \ --no-index \ --root $(pwd)/isort-test-%{$python_bin_suffix} \ ++++++ isort-5.8.0-gh.tar.gz -> isort-5.9.2-gh.tar.gz ++++++ ++++ 6054 lines of diff (skipped)