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 <tchva...@suse.com>
+
+- Switch to multibuild to avoid cycle with pylama
+
+-------------------------------------------------------------------
+Thu Feb 28 06:07:17 UTC 2019 - John Vandenberg <jay...@gmail.com>
+
+- 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:  %{python_module pytest}
+%endif
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python2-futures
 BuildArch:      noarch
@@ -49,22 +59,27 @@
 
 %prep
 %setup -q -n isort-%{version}
-%patch0 -p1
-sed -i '1s/^#!.*//' isort/main.py
 chmod -x LICENSE
 
 %build
 %python_build
 
 %install
+%if !%{with test}
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
 %check
-%python_exec setup.py test
+%if %{with test}
+%python_expand py.test-%{$python_bin_suffix} -v
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %{python_sitelib}/isort*
 %python3_only %{_bindir}/isort
 %license LICENSE
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>
++++++ isort-4.3.4.tar.gz -> isort-4.3.9.tar.gz ++++++
++++ 2790 lines of diff (skipped)


Reply via email to