commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2020-10-29 09:48:03 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.3463 (New) Package is "python-isort" Thu Oct 29 09:48:03 2020 rev:20 rq:841728 version:5.6.4 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2020-09-10 22:48:54.467871501 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.3463/python-isort.changes 2020-10-29 09:48:04.840155839 +0100 @@ -1,0 +2,91 @@ +Tue Oct 13 18:28:28 UTC 2020 - Benjamin Greiner + +- Update to Version 5.6.4 + * Fixed #1556: Empty line added between imports that should be +skipped. +- Version 5.6.3 + * Improved packaging of test files alongside source distribution +(see: https://github.com/PyCQA/isort/pull/1555). +- Version 5.6.2 + * Fixed #1548: On rare occasions an unecessary empty line can be +added when an import is marked as skipped. + * Fixed #1542: Bug in VERTICAL_PREFIX_FROM_MODULE_IMPORT wrap +mode. + * Fixed #1552: Pylama test dependent on source layout. + * Goal Zero: (Tickets related to aspirational goal of achieving 0 +regressions for remaining 5.0.0 lifespan): + * Zope added to integration test suite + * Additional testing of CLI (simulate unseekable streams) +- now only requires poetry.core as PEP517 backend + +--- +Fri Oct 9 16:47:11 UTC 2020 - Benjamin Greiner + +- Fix building and installation of exampleprojects for testing + +--- +Thu Oct 8 15:56:53 UTC 2020 - Benjamin Greiner + +- Update to 5.6.1 + * Fixed #1546: Unstable (non-idempotent) behavior with certain +src trees. +- Changelog for 5.6.0 + * Implemented #1433: Provide helpful feedback in case a custom +config file is specified without a configuration. + * Implemented #1494: Default to sorting imports within .pxd +files. + * Implemented #1502: Improved float-to-top behavior when there +is an existing import section present at top-of-file. + * Implemented #1511: Support for easily seeing all files isort +will be ran against using isort . --show-files. + * Implemented #1487: Improved handling of encoding errors. + * Improved handling of unsupported configuration option errors +(see #1475). + * Fixed #1463: Better interactive documentation for future +option. + * Fixed #1461: Quiet config option not respected by file API in +some circumstances. + * Fixed #1482: pylama integration is not working correctly out- +of-the-box. + * Fixed #1492: --check does not work with stdin source. + * Fixed #1499: isort gets confused by single line, multi-line +style comments when using float-to-top. + * Fixed #1525: Some warnings can't be disabled with --quiet. + * Fixed #1523: in rare cases isort can ignore direct from import +if as import is also on same line. + + Potentially breaking changes: + * Implemented #1540: Officially support Python 3.9 stdlib +imports by default. + * Fixed #1443: Incorrect third vs first party categorization - +namespace packages. + * Fixed #1486: "Google" profile is not quite Google style. + * Fixed "PyCharm" profile to always add 2 lines to be consistent +with what PyCharm "Optimize Imports" does. + + Goal Zero: + * Implemented #1472: Full testing of stdin CLI Options + * Added additional branch coverage. + * More projects added to integration test suite. +- Changelog for 5.5.5 + * Fixed #1539: in extremely rare cases isort 5.5.4 introduces +syntax error by removing closing paren. +- Changelog for 5.5.4 + * Fixed #1507: in rare cases isort changes the content of +multiline strings after a yield statement. + * Fixed #1505: Support case where known_SECTION points to a +section not listed in sections. +- Use upstream's way of PIP with Poetry PEP517 backend to install + the package so we can use Github archive only +- A Poetry update required to modify the examples installation for + testing +- Test flavor does not depend on installed base package anymore + +--- +Mon Sep 21 11:48:02 UTC 2020 - Benjamin Greiner + +- Update to 5.5.3 + * Fixed #1488: in rare cases isort can mangle yield from or raise +from statements. +- Version 5.5.2 + * Fixed #1469: --diff option is ignored when input is from stdin. + +--- Old: isort-5.5.1-gh.tar.gz isort-5.5.1.tar.gz New: isort-5.6.4-gh.tar.gz Other differences: -- ++
commit python-isort for openSUSE:Factory
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 + +- skip a flaky test gh#PyCQA/isort#1466 + +--- +Tue Sep 8 10:45:42 UTC 2020 - Benjamin Greiner + +- 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
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2020-09-01 20:06:45 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.3399 (New) Package is "python-isort" Tue Sep 1 20:06:45 2020 rev:18 rq:829966 version:5.4.2 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2020-08-25 12:38:11.421407943 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.3399/python-isort.changes 2020-09-01 20:07:52.628606692 +0200 @@ -1,0 +2,6 @@ +Wed Aug 19 17:27:27 UTC 2020 - Benjamin Greiner + +- enable hypothesmith integration tests +- clarify test data source and multibuild strategy + +--- Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.IPB1mS/_old 2020-09-01 20:07:56.048608292 +0200 +++ /var/tmp/diff_new_pack.IPB1mS/_new 2020-09-01 20:07:56.048608292 +0200 @@ -32,8 +32,9 @@ Summary:A Python utility / library to sort Python imports License:MIT URL:https://timothycrosley.github.io/isort/ +# only PyPI archive contains setup.py Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz -# tests and 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 BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -41,6 +42,7 @@ Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives +Recommends: python-hypothesmith Recommends: python-pip-api Recommends: python-pipreqs Recommends: python-requirementslib >= 1.5.4 @@ -50,7 +52,11 @@ %if %{with test} BuildRequires: %{python_module black} BuildRequires: %{python_module hypothesis-auto} +BuildRequires: %{python_module hypothesmith} +# we cannot just use the source dir on test flavor because tests expect the +# installed entrypoint (through alternatives) BuildRequires: %{python_module isort = %{version}} +BuildRequires: %{python_module libcst} BuildRequires: %{python_module mock} BuildRequires: %{python_module pip-api} BuildRequires: %{python_module pipreqs} @@ -73,11 +79,14 @@ too. %prep -%if !%{with test} %setup -q -n isort-%{version} chmod -x LICENSE -%else -%setup -q -n isort-%{version} -T -b 1 +%if %{with test} +tar -x --strip-components=1 -f %{SOURCE1} \ +isort-%{version}/example_isort_formatting_plugin \ +isort-%{version}/example_shared_isort_profile \ +isort-%{version}/.isort.cfg \ +isort-%{version}/setup.cfg %endif %if !%{with test} @@ -98,9 +107,9 @@ %{python_expand # create egg-info for example projects for exampledir in example_shared_isort_profile example_isort_formatting_plugin; do pushd $exampledir - # no exact environment as upstreams devel project + # don't enforce exact same environment as upstream's devel project rm poetry.lock - # no dependency download, we have it by BuildRequires + # no dependency download, we have them all by BuildRequires sed -i '/tool.poetry.dependencies/,/^$/ d' pyproject.toml poetry-%{$python_bin_suffix} install # append current dir, only use colon if not empty @@ -108,8 +117,7 @@ popd done } -# no test_hypothesmith because no libcst because no pyre-check -%pytest -W "ignore::UserWarning" -W "ignore::DeprecationWarning" --ignore tests/test_hypothesmith.py +%pytest -W "ignore::UserWarning" -W "ignore::DeprecationWarning" %endif %if !%{with test} @@ -120,6 +128,7 @@ %python_uninstall_alternative isort %files %{python_files} +%doc README.md %license LICENSE %python_alternative %{_bindir}/isort %{python_sitelib}/isort
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2020-08-25 12:38:08 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.3399 (New) Package is "python-isort" Tue Aug 25 12:38:08 2020 rev:17 rq:827700 version:5.4.2 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2020-08-13 10:12:59.274597261 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.3399/python-isort.changes 2020-08-25 12:38:11.421407943 +0200 @@ -1,0 +2,12 @@ +Wed Aug 19 04:17:27 UTC 2020 - Steve Kowalik + +- Update to 5.4.2: + * Fixed #1383: Known other does not work anymore with .editorconfig. + * Fixed: Regression in first known party path expansion. + * Fixed #1381: --combine-as loses # noqa in different circumstances. + * Implemented #1373: support for length sort only of direct (AKA +straight) imports. + * Fixed #1321: --combine-as loses # noqa. + * Fixed #1375: --dont-order-by-type CLI broken. + +--- Old: isort-5.3.2-gh.tar.gz isort-5.3.2.tar.gz New: isort-5.4.2-gh.tar.gz isort-5.4.2.tar.gz Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.bZdte3/_old 2020-08-25 12:38:12.045408060 +0200 +++ /var/tmp/diff_new_pack.bZdte3/_new 2020-08-25 12:38:12.049408061 +0200 @@ -27,7 +27,7 @@ %endif %define skip_python2 1 Name: python-isort%{psuffix} -Version:5.3.2 +Version:5.4.2 Release:0 Summary:A Python utility / library to sort Python imports License:MIT ++ isort-5.3.2-gh.tar.gz -> isort-5.4.2-gh.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-5.3.2/.pre-commit-config.yaml new/isort-5.4.2/.pre-commit-config.yaml --- old/isort-5.3.2/.pre-commit-config.yaml 1970-01-01 01:00:00.0 +0100 +++ new/isort-5.4.2/.pre-commit-config.yaml 2020-08-15 05:12:38.0 +0200 @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/timothycrosley/isort +rev: 5.3.0 +hooks: + - id: isort diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-5.3.2/CHANGELOG.md new/isort-5.4.2/CHANGELOG.md --- old/isort-5.3.2/CHANGELOG.md2020-08-07 10:21:51.0 +0200 +++ new/isort-5.4.2/CHANGELOG.md2020-08-15 05:12:38.0 +0200 @@ -3,6 +3,18 @@ NOTE: isort follows the [semver](https://semver.org/) versioning standard. +### 5.4.2 Aug 14, 2020 + - Fixed #1383: Known other does not work anymore with .editorconfig. + - Fixed: Regression in first known party path expansion. + +### 5.4.1 [Hotfix] Aug 13, 2020 + - Fixed #1381: --combine-as loses # noqa in different circumstances. + +### 5.4.0 Aug 12, 2020 + - Implemented #1373: support for length sort only of direct (AKA straight) imports. + - Fixed #1321: --combine-as loses # noqa. + - Fixed #1375: --dont-order-by-type CLI broken. + ### 5.3.2 [Hotfix] Aug 7, 2020 - Fixed incorrect warning code (W503->W0503). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-5.3.2/README.md new/isort-5.4.2/README.md --- old/isort-5.3.2/README.md 2020-08-07 10:21:51.0 +0200 +++ new/isort-5.4.2/README.md 2020-08-15 05:12:38.0 +0200 @@ -251,6 +251,40 @@ ... ``` +**8 - Vertical Hanging Indent Bracket** + +Same as Mode 3 - _Vertical Hanging Indent_ but the closing parentheses +on the last line is indented. + +```python +from third_party import ( +lib1, +lib2, +lib3, +lib4, +) +``` + +**9 - Vertical Prefix From Module Import** + +Starts a new line with the same `from MODULE import ` prefix when lines are longer than the line length limit. + +```python +from third_party import lib1, lib2, lib3 +from third_party import lib4, lib5, lib6 +``` + +**10 - Hanging Indent With Parentheses** + +Same as Mode 2 - _Hanging Indent_ but uses parentheses instead of backslash +for wrapping long lines. + +```python +from third_party import ( +lib1, lib2, lib3, +lib4, lib5, lib6) +``` + Note: to change the how constant indents appear - simply change the indent property with the following accepted formats: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-5.3.2/docs/configuration/options.md new/isort-5.4.2/docs/configuration/options.md --- old/isort-5.3.2/docs/configuration/options.md 2020-08-07 10:21:51.0 +0200 +++ new/isort-5.4.2/docs/configuration/options.md 2020-08-15 05:12:38.0 +0200 @@ -56,7 +56,7 @@ ## Skip
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2020-08-13 10:12:49 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.3399 (New) Package is "python-isort" Thu Aug 13 10:12:49 2020 rev:16 rq:825424 version:5.3.2 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2020-06-05 19:58:40.431619001 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.3399/python-isort.changes 2020-08-13 10:12:59.274597261 +0200 @@ -1,0 +2,217 @@ +Sat Aug 8 12:21:14 UTC 2020 - Sebastian Wagner + +- update to version 5.3.2: + - Fixed incorrect warning code (W503->W0503). +- update to version 5.3.1: + - Improve upgrade warnings to be less noisy and point to error codes for easy interoperability with Visual Studio Code (see: #1363). + +--- +Thu Aug 6 13:53:40 UTC 2020 - Benjamin Greiner + +- do not test hypothesmith integration because we lack python-libcst + +--- +Thu Aug 6 09:21:42 UTC 2020 - Benjamin Greiner + +- Update to 5.3.0 + * Implemented ability to treat all or select comments as code +(issue #1357) + * Implemented ability to use different configs for different file +extensions (issue #1162) + * Implemented ability to specify the types of imports +(issue #1181) + * Implemented ability to dedup import headings (issue #953) + * Added experimental support for sorting literals (issue #1358) + * Added experimental support for sorting and deduping groupings +of assignments. + * Improved handling of deprecated single line variables for usage +with Visual Studio Code (issue #1363) + * Improved handling of mixed newline forms within same source +file. + * Improved error handling for known sections. + * Improved API consistency, returning a boolean value for all +modification API calls to indicate if changes were made. + * Fixed #1366: spurious errors when combining skip with +--gitignore. + * Fixed #1359: --skip-gitignore does not honor ignored symlink + Internal Development: + * Initial hypothesmith powered test to help catch unexpected +syntax parsing and output errors (thanks @Zac-HD!) + +--- +Thu Jul 30 10:22:55 UTC 2020 - Sebastian Wagner + +- update to version 5.2.2: + - Fixed #1356: return status when arguments are passed in without files or a content stream. + +--- +Wed Jul 29 10:39:20 UTC 2020 - Benjamin Greiner + +- update to version 5.2.1 + * Update precommit to default to filtering files that are defined in skip. + * Improved relative path detection for skip config usage. + * Added recursive symbolic link protection. + * Implemented #1177: Support for color output using --color. + * Implemented recursive symlink detection support. + +--- +Tue Jul 28 20:09:25 UTC 2020 - Benjamin Greiner + +- use poetry to install example projects. fixes the two remaining + test issues + +--- +Tue Jul 28 19:01:37 UTC 2020 - Sebastian Wagner + +- add git as build dependency, fixes a test issue. + +--- +Mon Jul 27 20:34:29 UTC 2020 - Sebastian Wagner + +- update to version 5.2.0: + - Implemented #1335: Official API for diff capturing. + - Implemented #1331: Warn when sections don't match up. + - Implemented #1261: By popular demand, `filter_files` can now be set in the config option. + - Implemented #960: Support for respecting git ignore via "--gitignore" or "skip_gitignore=True". + - Implemented #727: Ability to only add imports if existing imports exist. + - Implemented #970: Support for custom sharable isort profiles. + - Implemented #1214: Added support for git_hook lazy option (Thanks @sztamas!) + - Implemented #941: Added an additional `multi_line_output` mode for more compact formatting (Thanks @sztamas!) + - Implemented #1020: Option for LOCALFOLDER. + - Implemented #1353: Added support for output formatting plugins. + - `# isort: split` can now be used at the end of an import line. + - Fixed #1339: Extra indent is not preserved when isort:skip is used in nested imports. + - Fixed #1348: `--diff` works incorrectly with files that have CRLF line endings. + - Improved code repositories usage of pylint tags (#1350). + +--- +Mon Jul 20 18:44:08 UTC 2020 - Sebastian Wagner + +- update to version 5.1.4: + - Fixed issue #1333: Use of wrap_length
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2020-06-05 19:58:38 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.3606 (New) Package is "python-isort" Fri Jun 5 19:58:38 2020 rev:15 rq:808784 version:4.3.21 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2020-03-27 00:23:52.680213664 +0100 +++ /work/SRC/openSUSE:Factory/.python-isort.new.3606/python-isort.changes 2020-06-05 19:58:40.431619001 +0200 @@ -1,0 +2,5 @@ +Mon May 25 10:59:30 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.Ma3TNi/_old 2020-06-05 19:58:40.967620855 +0200 +++ /var/tmp/diff_new_pack.Ma3TNi/_new 2020-06-05 19:58:40.971620869 +0200 @@ -37,6 +37,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools +Requires(post): update-alternatives +Requires(postun): update-alternatives Recommends: python-appdirs >= 1.4.0 Recommends: python-pip Recommends: python-pipreqs @@ -82,6 +84,7 @@ %install %if !%{with test} %python_install +%python_clone -a %{buildroot}%{_bindir}/isort %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -92,9 +95,15 @@ %endif %if !%{with test} +%post +%python_install_alternative isort + +%postun +%python_uninstall_alternative isort + %files %{python_files} %{python_sitelib}/isort* -%python3_only %{_bindir}/isort +%python_alternative %{_bindir}/isort %license LICENSE %endif
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2020-03-27 00:23:51 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.3160 (New) Package is "python-isort" Fri Mar 27 00:23:51 2020 rev:14 rq:784839 version:4.3.21 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2019-09-17 13:34:34.621869952 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.3160/python-isort.changes 2020-03-27 00:23:52.680213664 +0100 @@ -1,0 +2,5 @@ +Sat Mar 14 08:32:17 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + +--- Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.Utg2Pg/_old 2020-03-27 00:23:53.264213959 +0100 +++ /var/tmp/diff_new_pack.Utg2Pg/_new 2020-03-27 00:23:53.264213959 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-isort # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,17 +25,16 @@ %define psuffix %{nil} %bcond_with test %endif +%bcond_without python2 Name: python-isort%{psuffix} Version:4.3.21 Release:0 Summary:A Python utility / library to sort Python imports License:MIT -Group: Development/Languages/Python URL:https://github.com/timothycrosley/isort Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-futures BuildRequires: python-rpm-macros Requires: python-setuptools Recommends: python-appdirs >= 1.4.0 @@ -44,6 +43,10 @@ Recommends: python-requirementslib Recommends: python-toml BuildArch: noarch +%if %{with python2} +BuildRequires: python-backports.functools_lru_cache +BuildRequires: python-futures +%endif %if %{with test} BuildRequires: %{python_module appdirs >= 1.4.0} BuildRequires: %{python_module mock} @@ -53,7 +56,6 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module requirementslib} BuildRequires: %{python_module toml} -BuildRequires: python-backports.functools_lru_cache %endif %ifpython2 Requires: python-backports.functools_lru_cache
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2019-09-17 13:34:27 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.7948 (New) Package is "python-isort" Tue Sep 17 13:34:27 2019 rev:13 rq:730455 version:4.3.21 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2019-07-30 12:59:56.902454022 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.7948/python-isort.changes 2019-09-17 13:34:34.621869952 +0200 @@ -1,0 +2,6 @@ +Thu Sep 12 17:51:02 UTC 2019 - Tomáš Chvátal + +- Skip test test_pipfile_finder upstream is aware for 6 months + and just pinned older version of tomlkit + +--- Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.OHVbs4/_old 2019-09-17 13:34:35.305869842 +0200 +++ /var/tmp/diff_new_pack.OHVbs4/_new 2019-09-17 13:34:35.309869842 +0200 @@ -84,8 +84,9 @@ %endif %check +# test_pipfile_finder - broken upstrem in tomlkit %if %{with test} -%pytest -k 'not (test_settings_path_skip_issue_909 or test_standard_library_deprecates_user_issue_778 or test_skip_paths_issue_938 or test_requirements_finder)' +%pytest -k 'not (test_settings_path_skip_issue_909 or test_standard_library_deprecates_user_issue_778 or test_skip_paths_issue_938 or test_requirements_finder or test_pipfile_finder)' %endif %if !%{with test}
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2019-07-30 12:59:55 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.4126 (New) Package is "python-isort" Tue Jul 30 12:59:55 2019 rev:12 rq:713859 version:4.3.21 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2019-05-27 08:30:30.479255226 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.4126/python-isort.changes 2019-07-30 12:59:56.902454022 +0200 @@ -1,0 +2,6 @@ +Sun Jun 30 13:17:40 UTC 2019 - Sebastian Wagner + +- update to version 4.3.21: + - Fixed issue #957 - Long aliases and use_parentheses generates invalid syntax + +--- @@ -4 +10 @@ -- version update to 4.3.20 +- version update to 4.3.20: @@ -6,0 +13,2 @@ +- update to version 4.3.19: + - Fixed issue #942 - correctly handle pyi (Python Template Files) to match `black` output Old: isort-4.3.20.tar.gz New: isort-4.3.21.tar.gz Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.QPrPEV/_old 2019-07-30 12:59:57.562453875 +0200 +++ /var/tmp/diff_new_pack.QPrPEV/_new 2019-07-30 12:59:57.566453874 +0200 @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-isort%{psuffix} -Version:4.3.20 +Version:4.3.21 Release:0 Summary:A Python utility / library to sort Python imports License:MIT ++ isort-4.3.20.tar.gz -> isort-4.3.21.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.20/CHANGELOG.md new/isort-4.3.21/CHANGELOG.md --- old/isort-4.3.20/CHANGELOG.md 2019-05-15 02:23:51.0 +0200 +++ new/isort-4.3.21/CHANGELOG.md 2019-06-26 03:12:09.0 +0200 @@ -1,6 +1,9 @@ Changelog = +### 4.3.21 - June 25, 2019 - hot fix release +- Fixed issue #957 - Long aliases and use_parentheses generates invalid syntax + ### 4.3.20 - May 14, 2019 - hot fix release - Fixed issue #948 - Pipe redirection broken on Python2.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.20/PKG-INFO new/isort-4.3.21/PKG-INFO --- old/isort-4.3.20/PKG-INFO 2019-05-15 02:24:39.0 +0200 +++ new/isort-4.3.21/PKG-INFO 2019-06-26 03:12:53.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: isort -Version: 4.3.20 +Version: 4.3.21 Summary: A Python utility / library to sort Python imports. Home-page: https://github.com/timothycrosley/isort Author: Timothy Crosley @@ -681,7 +681,7 @@ Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Utilities Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* -Provides-Extra: xdg_home -Provides-Extra: pyproject Provides-Extra: requirements +Provides-Extra: pyproject +Provides-Extra: xdg_home Provides-Extra: pipfile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.20/isort/__init__.py new/isort-4.3.21/isort/__init__.py --- old/isort-4.3.20/isort/__init__.py 2019-05-15 02:23:51.0 +0200 +++ new/isort-4.3.21/isort/__init__.py 2019-06-26 03:12:09.0 +0200 @@ -25,4 +25,4 @@ from . import settings # noqa: F401 from .isort import SortImports # noqa: F401 -__version__ = "4.3.20" +__version__ = "4.3.21" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.20/isort/isort.py new/isort-4.3.21/isort/isort.py --- old/isort-4.3.20/isort/isort.py 2019-05-15 02:23:51.0 +0200 +++ new/isort-4.3.21/isort/isort.py 2019-06-26 03:12:09.0 +0200 @@ -380,13 +380,15 @@ cont_line = self._wrap(self.config['indent'] + splitter.join(next_line).lstrip()) if self.config['use_parentheses']: -output = "{0}{1}({2}{3}{4}{5})".format( -line, splitter, self.line_separator, cont_line, -"," if self.config['include_trailing_comma'] else "", -self.line_separator if wrap_mode in ( -settings.WrapModes.VERTICAL_HANGING_INDENT, -settings.WrapModes.VERTICAL_GRID_GROUPED, -) else "") +if splitter == "as ": +output = "{0}{1}{2}".format(line, splitter, cont_line.lstrip()) +else: +output = "{0}{1}({2}{3}{4}{5})".format( +line, splitter,
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2019-05-27 08:30:29 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.5148 (New) Package is "python-isort" Mon May 27 08:30:29 2019 rev:11 rq:705236 version:4.3.20 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2019-05-08 15:15:54.580914193 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.5148/python-isort.changes 2019-05-27 08:30:30.479255226 +0200 @@ -1,0 +2,7 @@ +Fri May 24 12:12:26 UTC 2019 - pgaj...@suse.com + +- version update to 4.3.20 + - Fixed issue #948 - Pipe redirection broken on Python2.7 + - Fixed issue #942 - correctly handle pyi (Python Template Files) to match `black` output + +--- Old: isort-4.3.18.tar.gz New: isort-4.3.20.tar.gz Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.PhmbAJ/_old 2019-05-27 08:30:31.027255012 +0200 +++ /var/tmp/diff_new_pack.PhmbAJ/_new 2019-05-27 08:30:31.031255011 +0200 @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-isort%{psuffix} -Version:4.3.18 +Version:4.3.20 Release:0 Summary:A Python utility / library to sort Python imports License:MIT ++ isort-4.3.18.tar.gz -> isort-4.3.20.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.18/CHANGELOG.md new/isort-4.3.20/CHANGELOG.md --- old/isort-4.3.18/CHANGELOG.md 2019-05-02 07:17:09.0 +0200 +++ new/isort-4.3.20/CHANGELOG.md 2019-05-15 02:23:51.0 +0200 @@ -1,6 +1,12 @@ Changelog = +### 4.3.20 - May 14, 2019 - hot fix release +- Fixed issue #948 - Pipe redirection broken on Python2.7 + +### 4.3.19 - May 12, 2019 - hot fix release +- Fixed issue #942 - correctly handle pyi (Python Template Files) to match `black` output + ### 4.3.18 - May 1, 2019 - hot fix release - Fixed an issue with parsing files that contain unicode characters in Python 2 - Fixed issue #924 - Pulling in pip internals causes depreciation warning diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.18/PKG-INFO new/isort-4.3.20/PKG-INFO --- old/isort-4.3.18/PKG-INFO 2019-05-02 07:17:54.0 +0200 +++ new/isort-4.3.20/PKG-INFO 2019-05-15 02:24:39.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: isort -Version: 4.3.18 +Version: 4.3.20 Summary: A Python utility / library to sort Python imports. Home-page: https://github.com/timothycrosley/isort Author: Timothy Crosley @@ -681,7 +681,7 @@ Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Utilities Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* -Provides-Extra: requirements -Provides-Extra: pyproject Provides-Extra: xdg_home +Provides-Extra: pyproject +Provides-Extra: requirements Provides-Extra: pipfile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.18/isort/__init__.py new/isort-4.3.20/isort/__init__.py --- old/isort-4.3.18/isort/__init__.py 2019-05-02 07:17:09.0 +0200 +++ new/isort-4.3.20/isort/__init__.py 2019-05-15 02:23:51.0 +0200 @@ -25,4 +25,4 @@ from . import settings # noqa: F401 from .isort import SortImports # noqa: F401 -__version__ = "4.3.18" +__version__ = "4.3.20" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.18/isort/isort.py new/isort-4.3.20/isort/isort.py --- old/isort-4.3.18/isort/isort.py 2019-05-02 07:17:09.0 +0200 +++ new/isort-4.3.20/isort/isort.py 2019-05-15 02:23:51.0 +0200 @@ -49,7 +49,7 @@ def __init__(self, file_path=None, file_contents=None, file_=None, write_to_stdout=False, check=False, show_diff=False, settings_path=None, ask_to_apply=False, run_path='', check_skip=True, - **setting_overrides): + extension=None, **setting_overrides): if not settings_path and file_path: settings_path = os.path.dirname(os.path.abspath(file_path)) settings_path = settings_path or os.getcwd() @@ -140,7 +140,7 @@ file_.seek(0) self.file_encoding = coding_check(file_) file_.seek(0) -except io.UnsupportedOperation: +except (io.UnsupportedOperation, IOError): pass reader = codecs.getreader(self.file_encoding) file_contents = reader(file_).read() @@ -181,6 +181,11
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2019-05-08 15:15:53 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.5148 (New) Package is "python-isort" Wed May 8 15:15:53 2019 rev:10 rq:701237 version:4.3.18 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2019-03-29 20:34:33.214632054 +0100 +++ /work/SRC/openSUSE:Factory/.python-isort.new.5148/python-isort.changes 2019-05-08 15:15:54.580914193 +0200 @@ -1,0 +2,36 @@ +Tue May 7 08:06:20 UTC 2019 - Tomáš Chvátal + +- Again tweak failing tests + +--- +Fri May 3 18:09:41 UTC 2019 - Sebastian Wagner + +- update to 4.3.18: + - Fixed an issue with parsing files that contain unicode characters in Python 2 + - Fixed issue #924 - Pulling in pip internals causes depreciation warning + - Fixed issue #938 - Providing a way to filter explicitly passed in files via configuration settings (`--filter-files`) + - Improved interoperability with toml configuration files + +--- +Mon Apr 29 22:13:28 CEST 2019 - Matej Cepl + +- skip failing tests +- Update to 4.3.17: + - Fixed issue #905 & #919: Import section headers behaving +strangely + +--- +Fri Mar 29 09:41:35 UTC 2019 - Tomáš Chvátal + +- Add missing recommended dependencies + +--- +Sun Mar 24 08:31:58 UTC 2019 - Sebastian Wagner + +- update to version 4.3.16: + - Fixed issue #909 - skip and skip-glob are not enforced when using settings-path. + - Fixed issue #907 - appdirs optional requirement does not correctly specify version + - Fixed issue #902 - Too broad warning about missing toml package + - Fixed issue #778 - remove `user` from known standard library as it's no longer in any supported Python version. + +--- Old: isort-4.3.15.tar.gz New: isort-4.3.18.tar.gz Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.hxhdfw/_old 2019-05-08 15:15:55.880917088 +0200 +++ /var/tmp/diff_new_pack.hxhdfw/_new 2019-05-08 15:15:55.908917151 +0200 @@ -26,24 +26,35 @@ %bcond_with test %endif Name: python-isort%{psuffix} -Version:4.3.15 +Version:4.3.18 Release:0 Summary:A Python utility / library to sort Python imports License:MIT Group: Development/Languages/Python URL:https://github.com/timothycrosley/isort Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-futures +BuildRequires: python-rpm-macros +Requires: python-setuptools +Recommends: python-appdirs >= 1.4.0 +Recommends: python-pip +Recommends: python-pipreqs +Recommends: python-requirementslib +Recommends: python-toml +BuildArch: noarch %if %{with test} +BuildRequires: %{python_module appdirs >= 1.4.0} BuildRequires: %{python_module mock} +BuildRequires: %{python_module pipreqs} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pylama} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requirementslib} +BuildRequires: %{python_module toml} BuildRequires: python-backports.functools_lru_cache %endif -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -BuildRequires: python-futures -BuildRequires: python-rpm-macros -BuildArch: noarch %ifpython2 Requires: python-backports.functools_lru_cache Requires: python-futures @@ -74,7 +85,7 @@ %check %if %{with test} -%python_expand py.test-%{$python_bin_suffix} -v +%pytest -k 'not (test_settings_path_skip_issue_909 or test_standard_library_deprecates_user_issue_778 or test_skip_paths_issue_938 or test_requirements_finder)' %endif %if !%{with test} ++ isort-4.3.15.tar.gz -> isort-4.3.18.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.15/CHANGELOG.md new/isort-4.3.18/CHANGELOG.md --- old/isort-4.3.15/CHANGELOG.md 2019-03-11 06:25:21.0 +0100 +++ new/isort-4.3.18/CHANGELOG.md 2019-05-02 07:17:09.0 +0200 @@ -1,5 +1,21 @@ Changelog = + +### 4.3.18 - May 1, 2019 - hot fix release +- Fixed an issue with parsing files that contain unicode characters in Python 2 +- Fixed issue #924 - Pulling in pip internals
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2019-03-08 11:59:54 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.28833 (New) Package is "python-isort" Fri Mar 8 11:59:54 2019 rev:8 rq:681407 version:4.3.10 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2019-03-04 13:45:23.090685340 +0100 +++ /work/SRC/openSUSE:Factory/.python-isort.new.28833/python-isort.changes 2019-03-08 11:59:57.927969486 +0100 @@ -1,0 +2,12 @@ +Mon Mar 4 13:25:15 UTC 2019 - Tomáš Chvátal + +- Update to 4.3.10: + * Fixed Windows incompatibilities (Issue #835) + * Fixed relative import sorting bug (Issue #417) + * Fixed "no_lines_before" to also be respected from previous empty sections. + * Fixed slow-down introduced by finders mechanism by adding a LRU cache (issue #848) + * Fixed issue #842 default encoding not-set in Python2 + * Restored Windows automated testing + * Added Mac automated testing + +--- Old: isort-4.3.9.tar.gz New: isort-4.3.10.tar.gz Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.tCIxCw/_old 2019-03-08 11:59:58.507969388 +0100 +++ /var/tmp/diff_new_pack.tCIxCw/_new 2019-03-08 11:59:58.511969387 +0100 @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-isort%{psuffix} -Version:4.3.9 +Version:4.3.10 Release:0 Summary:A Python utility / library to sort Python imports License:MIT @@ -37,13 +37,15 @@ BuildRequires: %{python_module mock} BuildRequires: %{python_module pylama} BuildRequires: %{python_module pytest} +BuildRequires: python-backports.functools_lru_cache %endif BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-futures BuildRequires: python-rpm-macros -BuildRequires: python2-futures BuildArch: noarch %ifpython2 +Requires: python-backports.functools_lru_cache Requires: python-futures %endif %python_subpackages ++ isort-4.3.9.tar.gz -> isort-4.3.10.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.9/CHANGELOG.md new/isort-4.3.10/CHANGELOG.md --- old/isort-4.3.9/CHANGELOG.md2019-02-25 23:33:56.0 +0100 +++ new/isort-4.3.10/CHANGELOG.md 2019-03-03 05:53:49.0 +0100 @@ -1,9 +1,18 @@ Changelog = -### 4.3.9 - Feburary 25, 2019 - hot fix release +### 4.3.10 - March 2, 2019 - hot fix release +- Fixed Windows incompatibilities (Issue #835) +- Fixed relative import sorting bug (Issue #417) +- Fixed "no_lines_before" to also be respected from previous empty sections. +- Fixed slow-down introduced by finders mechanism by adding a LRU cache (issue #848) +- Fixed issue #842 default encoding not-set in Python2 +- Restored Windows automated testing +- Added Mac automated testing + +### 4.3.9 - February 25, 2019 - hot fix release - Fixed a bug that led to an incompatibility with black: #831 -### 4.3.8 - Feburary 25, 2019 - hot fix release +### 4.3.8 - February 25, 2019 - hot fix release - Fixed a bug that led to the recursive option not always been available from the command line. ### 4.3.7 - February 25, 2019 - hot fix release diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.9/PKG-INFO new/isort-4.3.10/PKG-INFO --- old/isort-4.3.9/PKG-INFO2019-02-25 23:36:17.0 +0100 +++ new/isort-4.3.10/PKG-INFO 2019-03-03 06:07:06.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: isort -Version: 4.3.9 +Version: 4.3.10 Summary: A Python utility / library to sort Python imports. Home-page: https://github.com/timothycrosley/isort Author: Timothy Crosley diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.9/isort/__init__.py new/isort-4.3.10/isort/__init__.py --- old/isort-4.3.9/isort/__init__.py 2019-02-25 23:34:58.0 +0100 +++ new/isort-4.3.10/isort/__init__.py 2019-03-03 06:02:41.0 +0100 @@ -25,4 +25,4 @@ from . import settings # noqa: F401 from .isort import SortImports # noqa: F401 -__version__ = "4.3.9" +__version__ = "4.3.10" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.9/isort/__main__.py new/isort-4.3.10/isort/__main__.py --- old/isort-4.3.9/isort/__main__.py 2019-02-25 23:26:59.0 +0100 +++ new/isort-4.3.10/isort/__main__.py 2019-03-03 05:53:36.0 +0100 @@ -1,5 +1,9 @@ from __future__ import absolute_import -from
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2019-03-04 13:45:14 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.28833 (New) Package is "python-isort" Mon Mar 4 13:45:14 2019 rev:7 rq:681298 version:4.3.9 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2019-03-04 09:11:17.508698714 +0100 +++ /work/SRC/openSUSE:Factory/.python-isort.new.28833/python-isort.changes 2019-03-04 13:45:23.090685340 +0100 @@ -1,0 +2,5 @@ +Mon Mar 4 11:05:21 UTC 2019 - Tomáš Chvátal + +- Fix multibuild name + +--- Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.FaiXZQ/_old 2019-03-04 13:45:23.574684751 +0100 +++ /var/tmp/diff_new_pack.FaiXZQ/_new 2019-03-04 13:45:23.574684751 +0100 @@ -25,7 +25,7 @@ %define psuffix %{nil} %bcond_with test %endif -Name: python-isort +Name: python-isort%{psuffix} Version:4.3.9 Release:0 Summary:A Python utility / library to sort Python imports
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2019-03-04 09:11:15 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.28833 (New) Package is "python-isort" Mon Mar 4 09:11:15 2019 rev:6 rq:680525 version:4.3.9 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2019-02-17 12:19:12.596235697 +0100 +++ /work/SRC/openSUSE:Factory/.python-isort.new.28833/python-isort.changes 2019-03-04 09:11:17.508698714 +0100 @@ -1,0 +2,59 @@ +Fri Mar 1 14:43:42 UTC 2019 - Tomáš Chvátal + +- Switch to multibuild to avoid cycle with pylama + +--- +Thu Feb 28 06:07:17 UTC 2019 - John Vandenberg + +- Drop add-editorconfig.patch made redundant by new sdist +- Add fdupes +- Update to v4.3.9 + * Fixed a bug that led to an incompatibility with black: #831 +- from 4.3.8 + * Fixed a bug that led to the recursive option not always been available +from the command line. +- from 4.3.7 + * Expands the finder failsafe to occur on the creation of the finder objects. +- from 4.3.6 + * Fixes a fatal error that occurs if a single finder throws an exception. +Important as we add more finders that utilize third party libraries. +- from 4.3.5 + + Potentially Interface Breaking: +* The `-r` option for removing imports has been renamed `-rm` to avoid + accidental deletions and confusion with the `-rc` recursive option. +* `__init__.py` has been removed from the default ignore list. The default + ignore list is now empty - with all items needing to be explicitly ignored. +* Isort will now by default ignore .tox / venv folders in an effort to be "safe". + You can disable this behaviour by setting the "--unsafe" flag, this is + separate from any skip or not skip rules you may have in place. +* Isort now allows for files missing closing newlines in whitespace check +* `distutils` support has been removed to simplify setup.py + + New: +* Official Python 3.7 Compatibility. +* Support for using requirements files to auto determine third-paty + section if pipreqs & requirementslib are installed. +* Added support for using pyproject.toml if toml is installed. +* Added support for XDG_HOME if appdirs is installed. +* An option has been added to enable ignoring trailing comments + ('ignore_comments') defaulting to False. +* Added support to enable line length sorting for only specific sections +* Added a `correctly_sorted` property on the SortsImport to enable more + intuitive programmatic checking. + + Fixes: +* Improved black compatibility. +* Isort will no detect files in the CWD as first-party. +* Fixed several cases where '-ns' or 'not_skip' was being incorrectly + ignored. +* Fixed sorting of relative path imports ('.', '..', '...', etc). +* Fixed bugs caused by a failure to maintain order when loading iterables + from config files. +* Correctly handle CPython compiled imports and others that need EXT_SUFFIX + to correctly identify. +* Fixed handling of Symbolic Links to follow them when walking the path. +* Fixed handling of relative known_paths. +* Fixed lack of access to all wrap modes from the CLI. +* Fixed handling of FIFO files. +* Fixed a bug that could result in multiple imports being inserted on the + same line. + +--- Old: add-editorconfig.patch isort-4.3.4.tar.gz New: _multibuild isort-4.3.9.tar.gz Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.W2Ucxt/_old 2019-03-04 09:11:18.776698502 +0100 +++ /var/tmp/diff_new_pack.W2Ucxt/_new 2019-03-04 09:11:18.776698502 +0100 @@ -16,20 +16,30 @@ # -%{!?license: %global license %doc} %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif Name: python-isort -Version:4.3.4 +Version:4.3.9 Release:0 Summary:A Python utility / library to sort Python imports License:MIT Group: Development/Languages/Python URL:https://github.com/timothycrosley/isort Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz -Patch0: add-editorconfig.patch +%if %{with test} BuildRequires: %{python_module mock} +BuildRequires: %{python_module pylama} BuildRequires:
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2019-02-17 12:19:10 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.28833 (New) Package is "python-isort" Sun Feb 17 12:19:10 2019 rev:5 rq:676254 version:4.3.4 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2018-07-23 17:58:28.133120084 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new.28833/python-isort.changes 2019-02-17 12:19:12.596235697 +0100 @@ -1,0 +2,7 @@ +Thu Feb 14 06:05:49 UTC 2019 - John Vandenberg + +- Revert to using PyPI release by adding add-editorconfig.patch, + which is needed to allow the test suite to pass. + https://github.com/timothycrosley/isort/issues/814 + +--- Old: 4.3.4.tar.gz New: add-editorconfig.patch isort-4.3.4.tar.gz Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.gWQkHV/_old 2019-02-17 12:19:13.172235539 +0100 +++ /var/tmp/diff_new_pack.gWQkHV/_new 2019-02-17 12:19:13.172235539 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-isort # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,8 +25,8 @@ License:MIT Group: Development/Languages/Python URL:https://github.com/timothycrosley/isort -# Tests included in pypi package fail -Source: https://github.com/timothycrosley/isort/archive/%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz +Patch0: add-editorconfig.patch BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -49,6 +49,7 @@ %prep %setup -q -n isort-%{version} +%patch0 -p1 sed -i '1s/^#!.*//' isort/main.py chmod -x LICENSE ++ add-editorconfig.patch ++ diff -Nur isort-4.3.4-pypi/.editorconfig isort-4.3.4-github/.editorconfig --- isort-4.3.4-pypi/.editorconfig 1970-01-01 07:00:00.0 +0700 +++ isort-4.3.4-github/.editorconfig2018-02-12 22:12:28.0 +0700 @@ -0,0 +1,20 @@ +root = true + +[*.py] +max_line_length = 120 +indent_style = space +indent_size = 4 +known_first_party = isort +known_third_party = kate +ignore_frosted_errors = E103 +skip = runtests.py,build,.tox +balanced_wrapping = true +not_skip = __init__.py + +[*.{rst,ini}] +indent_style = space +indent_size = 4 + +[*.yml] +indent_style = space +indent_size = 2
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2018-07-23 17:58:23 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new (New) Package is "python-isort" Mon Jul 23 17:58:23 2018 rev:4 rq:624436 version:4.3.4 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2018-02-12 10:10:50.354966590 +0100 +++ /work/SRC/openSUSE:Factory/.python-isort.new/python-isort.changes 2018-07-23 17:58:28.133120084 +0200 @@ -1,0 +2,17 @@ +Sat Jul 21 04:35:40 UTC 2018 - a...@gmx.de + +- specfile: + * be more specific in %files section + +- update to version 4.3.4: + * Fixed issue #671: isort is corrupting CRLF files + +- changes from version 4.3.3: + * Fixed issue #665: Tabs turned into single spaces + +- changes from version 4.3.2: + * Fixed issue #651: Add imports option is broken + * Fixed issue #662: An error generated by rewriting .imports to +. imoprts + +--- Old: 4.3.1.tar.gz New: 4.3.4.tar.gz Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.5f9k3f/_old 2018-07-23 17:58:28.841119201 +0200 +++ /var/tmp/diff_new_pack.5f9k3f/_new 2018-07-23 17:58:28.845119196 +0200 @@ -19,12 +19,12 @@ %{!?license: %global license %doc} %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-isort -Version:4.3.1 +Version:4.3.4 Release:0 Summary:A Python utility / library to sort Python imports License:MIT Group: Development/Languages/Python -Url:https://github.com/timothycrosley/isort +URL:https://github.com/timothycrosley/isort # Tests included in pypi package fail Source: https://github.com/timothycrosley/isort/archive/%{version}.tar.gz BuildRequires: %{python_module mock} @@ -32,10 +32,10 @@ BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRequires: python2-futures +BuildArch: noarch %ifpython2 Requires: python-futures %endif -BuildArch: noarch %python_subpackages %description @@ -62,8 +62,7 @@ %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%{python_sitelib}/* +%{python_sitelib}/isort* %python3_only %{_bindir}/isort %license LICENSE ++ 4.3.1.tar.gz -> 4.3.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.1/ACKNOWLEDGEMENTS.md new/isort-4.3.4/ACKNOWLEDGEMENTS.md --- old/isort-4.3.1/ACKNOWLEDGEMENTS.md 2018-02-02 20:43:32.0 +0100 +++ new/isort-4.3.4/ACKNOWLEDGEMENTS.md 2018-02-12 16:12:28.0 +0100 @@ -75,6 +75,7 @@ - Jason Brackman (@jasonbrackman) - Kathryn Lingel (@katlings) - Andrew Gaul (@gaul) +- John Chadwick (@jchv) Documenters === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.1/CHANGELOG.md new/isort-4.3.4/CHANGELOG.md --- old/isort-4.3.1/CHANGELOG.md2018-02-02 20:43:32.0 +0100 +++ new/isort-4.3.4/CHANGELOG.md2018-02-12 16:12:28.0 +0100 @@ -1,9 +1,18 @@ Changelog = +### 4.3.4 - Feburary 12, 2018 - hotfix release +- Fixed issue #671: isort is corrupting CRLF files + +### 4.3.3 - Feburary 5, 2018 - hotfix release +- Fixed issue #665: Tabs turned into single spaces + +### 4.3.2 - Feburary 4, 2018 - hotfix release +- Fixed issue #651: Add imports option is broken +- Fixed issue #662: An error generated by rewriting `.imports` to `. imoprts` + ### 4.3.1 - Feburary 2, 2018 - hotfix release - Fixed setup.py errors - Fixed issue #654: Trailing comma count error -- Fixed issue #651: Add imports option is broken - Fixed issue #650: Wrong error message displayed ### 4.3.0 - January 31, 2018 @@ -11,6 +20,7 @@ - Fix case-sensitive path existence check in Mac OS X - Added `--no-lines-before` for more granular control over section output - Fixed #493: Unwanted conversion to Windows line endings +- Fixed #590: Import `as` mucks with alphabetical sorting - Implemented `--version-number` to retrieve just the version number without the isort logo - Breaking changes - Python 2.7+ only (dropped 2.6) allowing various code simplifications and improvements. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/isort-4.3.1/isort/__init__.py new/isort-4.3.4/isort/__init__.py --- old/isort-4.3.1/isort/__init__.py 2018-02-02 20:43:32.0 +0100 +++ new/isort-4.3.4/isort/__init__.py 2018-02-12 16:12:28.0 +0100 @@ -25,4 +25,4 @@ from .
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2018-02-12 10:10:49 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new (New) Package is "python-isort" Mon Feb 12 10:10:49 2018 rev:3 rq:575248 version:4.3.1 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2017-07-05 23:57:50.549269186 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new/python-isort.changes 2018-02-12 10:10:50.354966590 +0100 @@ -1,0 +2,14 @@ +Fri Feb 2 20:20:10 UTC 2018 - sebix+novell@sebix.at + +- update to 4.3.1 + * Fixed issue #654: Trailing comma count error + * Fixed issue #651: Add imports option is broken + * Fixed issue #650: Wrong error message displayed +- update to 4.3.0 + * Fixed #557: force_alphabetical_sort and force_sort_within_sections can now be utilized together without extra new lines + * Added --no-lines-before for more granular control over section output + * Fixed #493: Unwanted conversion to Windows line endings + * Implemented --version-number to retrieve just the version number without the isort logo +- Remove patch-shebang.patch and replace it with a sed-call + +--- Old: 4.2.15.tar.gz patch-shebang.patch New: 4.3.1.tar.gz Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.miIBGL/_old 2018-02-12 10:10:51.134938481 +0100 +++ /var/tmp/diff_new_pack.miIBGL/_new 2018-02-12 10:10:51.138938336 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-isort # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,25 @@ # +%{!?license: %global license %doc} %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-isort -Version:4.2.15 +Version:4.3.1 Release:0 Summary:A Python utility / library to sort Python imports License:MIT Group: Development/Languages/Python Url:https://github.com/timothycrosley/isort -# Tests are not included in pypi package +# Tests included in pypi package fail Source: https://github.com/timothycrosley/isort/archive/%{version}.tar.gz -Patch0: patch-shebang.patch BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python2-futures +%ifpython2 +Requires: python-futures +%endif BuildArch: noarch %python_subpackages @@ -46,7 +49,7 @@ %prep %setup -q -n isort-%{version} -%patch0 +sed -i '1s/^#!.*//' isort/main.py chmod -x LICENSE %build @@ -62,11 +65,6 @@ %defattr(-,root,root,-) %{python_sitelib}/* %python3_only %{_bindir}/isort -%doc README.rst -%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 %license LICENSE -%else -%doc LICENSE -%endif %changelog ++ 4.2.15.tar.gz -> 4.3.1.tar.gz ++ 2132 lines of diff (skipped)
commit python-isort for openSUSE:Factory
Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2017-07-05 23:57:50 Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new (New) Package is "python-isort" Wed Jul 5 23:57:50 2017 rev:2 rq:505952 version:4.2.15 Changes: --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2017-04-07 13:54:05.416837319 +0200 +++ /work/SRC/openSUSE:Factory/.python-isort.new/python-isort.changes 2017-07-05 23:57:50.549269186 +0200 @@ -1,0 +2,38 @@ +Wed Jun 21 15:28:33 UTC 2017 - sebix+novell@sebix.at + +- update description +- install LICENSE as %license if possible +- update to 4.2.15 + * Fixed certain one line imports not being successfully wrapped +- update to 4.2.14 + * Fixed #559 & #565: Added missing standard library imports +- update to 4.2.13 + * Fixed #553: Check only and --diff now work together again +- update to 4.2.12 + * Fixed a problem with the wheel distribution +- update to 4.2.11 + * Fixed #546: Can't select y/n/c after latest update + * Fixed #545: Incorrectly moves future imports above encoding comments +- update to 4.2.9 + * Fixed #428: Check only modifies sorting + * Fixed #540: Not correctly identifying stdlib modules +- update to 4.2.8 + * Added --virtual-env switch command line option + * Added --enforce-whitespace option to go along with --check-only for more exact checks (issue #423) + * Fixed imports with a tailing '' and no space in-between getting removed (issue #425) + * Fixed issue #299: long lines occasionally not wrapped + * Fixed issue #432: No longer add import inside class when class starts at top of file after encoding comment + * Fixed issue #440: Added missing --use-parentheses option to command line tool and documentation + * Fixed issue #496: import* imports now get successfully identified and reformatted instead of deleted + * Fixed issue #491: Non ending parentheses withing single line comments no longer cause formatting issues + * Fixed issue #471: Imports that wrap the maximum line length and contain comments on the last line are no longer rendered incorrectly + * Fixed issue #436: Force sort within section no longer rearranges comments + * Fixed issue #473: Force_to_top and force_sort_within_sections now work together + * Fixed issue #484 & #472: Consistent output with imports of same spelling but different case + * Fixed issue #433: No longer incorrectly add an extra new-line when comment between imports and function definition + * Fixed issue #419: Path specification for skipped paths is not Unix/Windows inter-operable. + * Breaking Changes: + * Fixed issue #511: All command line options with an underscore, have had the underscore replaced with a dash for consistency. This effects: multi-line, add-import, remove-import, force-adds, --force-single-line-imports, and length-sort. + * Replaced the --enforce-whitespace option with --ignore-whitespace to restore original behavior of strict whitespace by default + +--- Old: 4.2.5.tar.gz New: 4.2.15.tar.gz Other differences: -- ++ python-isort.spec ++ --- /var/tmp/diff_new_pack.qYaukE/_old 2017-07-05 23:57:51.069195945 +0200 +++ /var/tmp/diff_new_pack.qYaukE/_new 2017-07-05 23:57:51.073195382 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-isort -Version:4.2.5 +Version:4.2.15 Release:0 Summary:A Python utility / library to sort Python imports License:MIT @@ -41,8 +41,8 @@ isort is a Python utility / library to sort imports alphabetically, and automatically separated into sections. It provides a command line utility, Python library and plugins for various editors to quickly -sort all your imports. It currently cleanly supports Python 2.6 - 3.5 -using pies to achieve this without ugly hacks and/or py2to3. +sort all your imports. It currently cleanly supports Python 2.7 - 3.6 without +any dependencies. %prep %setup -q -n isort-%{version} @@ -62,6 +62,11 @@ %defattr(-,root,root,-) %{python_sitelib}/* %python3_only %{_bindir}/isort -%doc README.rst LICENSE +%doc README.rst +%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 +%license LICENSE +%else +%doc LICENSE +%endif %changelog ++ 4.2.5.tar.gz -> 4.2.15.tar.gz ++ 1905 lines of diff (skipped)