Hello community,

here is the log from the commit of package python-traits for openSUSE:Factory 
checked in at 2019-04-18 09:56:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-traits (Old)
 and      /work/SRC/openSUSE:Factory/.python-traits.new.17052 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-traits"

Thu Apr 18 09:56:56 2019 rev:3 rq:695180 version:5.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-traits/python-traits.changes      
2019-02-24 17:19:02.388411654 +0100
+++ /work/SRC/openSUSE:Factory/.python-traits.new.17052/python-traits.changes   
2019-04-18 09:56:58.569362114 +0200
@@ -1,0 +2,16 @@
+Wed Apr 17 13:04:15 UTC 2019 - [email protected]
+
+- version update to 5.1.0
+  * Make UUID trait initializable. (#459)
+  * Change default ``FileEditor`` behavior for a ``File`` trait based on
+    whether ``exists=True`` is specified for that trait. (#451, #467)
+  * The changes made in #373 to make dynamically-added traits pickleable have
+    been reverted. (#462)
+  * ``traits.api.python_version`` has been removed. Internals have been
+    refactored to use ``six.PY2`` in preference to ``sys.version_info``.
+    (#449)
+  * Don't depend on the 3rd party ``mock`` library on Python 3; use
+    ``unittest.mock`` instead. (#446)
+- Drop no longer needed avoid_sys_modules_hackery.patch
+
+-------------------------------------------------------------------

Old:
----
  avoid_sys_modules_hackery.patch
  traits-5.0.0.tar.gz

New:
----
  traits-5.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-traits.spec ++++++
--- /var/tmp/diff_new_pack.GvNdSe/_old  2019-04-18 09:56:59.433362657 +0200
+++ /var/tmp/diff_new_pack.GvNdSe/_new  2019-04-18 09:56:59.433362657 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-traits
 #
-# Copyright (c) 2019 SUSE LINUX Products 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
@@ -18,31 +18,28 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         oldpython python
-%bcond_without  test
 Name:           python-traits
-Version:        5.0.0
+Version:        5.1.0
 Release:        0
 Summary:        Explicitly typed attributes for Python
-License:        BSD-3-Clause and EPL-1.0 and LGPL-2.1
-Group:          Development/Libraries/Python
 # Images have different licenses. For image license breakdown check
 # image_LICENSE.txt file. Except enthought/traits/ui/editors_gen.py
 # which is GPLv2+ all remaining source or image files are in BSD
 # 3-clause license. Confirmed from upstream.
+License:        BSD-3-Clause AND EPL-1.0 AND LGPL-2.1-only
+Group:          Development/Libraries/Python
 Url:            https://github.com/enthought/traits
 Source:         
https://files.pythonhosted.org/packages/source/t/traits/traits-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM avoid_sys_modules_hackery.patch -- Avoid sys.modules 
hackery in a test -- gh#enthought/traits#441
-Patch0:         avoid_sys_modules_hackery.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with test}
+# SECTION test requirements
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
-%endif
+# /SECTION
 Requires:       python-numpy
 Requires:       python-six
 Recommends:     python-traitsui
@@ -72,7 +69,6 @@
 
 %prep
 %setup -q -n traits-%{version}
-%patch0 -p1
 %fdupes examples/
 # file not utf-8
 iconv -f iso8859-1 -t utf-8 image_LICENSE_Eclipse.txt > 
image_LICENSE_Eclipse.txt.conv
@@ -86,7 +82,6 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%if %{with test}
 %check
 %{python_expand mkdir tester_%{$python_bin_suffix}
 pushd tester_%{$python_bin_suffix}
@@ -94,11 +89,10 @@
 $python -m nose.core -v traits
 popd
 }
-%endif
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%doc CHANGES.txt README.rst
+%doc CHANGES.rst README.rst
 %doc examples/
 %license LICENSE.txt image_LICENSE*.txt
 %{python_sitearch}/traits/

++++++ traits-5.0.0.tar.gz -> traits-5.1.0.tar.gz ++++++
++++ 3191 lines of diff (skipped)


Reply via email to