commit python-traits for openSUSE:Factory

2020-07-24 Thread root
Hello community,

here is the log from the commit of package python-traits for openSUSE:Factory 
checked in at 2020-07-24 09:53:46

Comparing /work/SRC/openSUSE:Factory/python-traits (Old)
 and  /work/SRC/openSUSE:Factory/.python-traits.new.3592 (New)


Package is "python-traits"

Fri Jul 24 09:53:46 2020 rev:7 rq:820887 version:6.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-traits/python-traits.changes  
2020-02-03 11:13:24.077847449 +0100
+++ /work/SRC/openSUSE:Factory/.python-traits.new.3592/python-traits.changes
2020-07-24 09:54:48.141331996 +0200
@@ -1,0 +2,53 @@
+Mon Jul 13 10:56:08 UTC 2020 - Marketa Calabkova 
+
+- Update to 6.1.0
+  * A new :mod:`observation ` framework for observing 
traited
+attributes and other observable objects has been introduced. This is 
intended
+to provide a full replacement for the existing :func:`on_trait_change`
+mechanism, and aims to fix a number of fundamental flaws and limitations of
+that mechanism. See the :ref:`observe-notification` section of
+the user manual for an introduction to this framework.
+  * New :class:`~traits.trait_list_object.TraitList`,
+:class:`~traits.trait_dict_object.TraitDict` and
+:class:`~traits.trait_set_object.TraitSet` classes have been added,
+subclassing Python's built-in :class:`python:list`, :class:`python:dict` 
and
+:class:`python:set` (respectively). Instances of these classes are 
observable
+objects in their own right, and it's possible to attach observers to them
+directly. These classes were primarily introduced to support the new
+observation framework, and are not expected to be used directly. The API 
for
+these objects and their notification system is provisional, and may change 
in
+a future Traits release.
+  * A new :class:`.Union` trait type has been added. This is intended as a
+simpler replacement for the existing :class:`.Either` trait type, which
+will eventually be deprecated.
+  * New :class:`.PrefixList`, :class:`.PrefixMap` and :class:`.Map` trait types
+have been added. These replace the existing :class:`.TraitPrefixList`,
+:class:`.TraitPrefixMap` and :class:`.TraitMap` subclasses of
+:class:`.TraitHandler`, which are deprecated.
+  * Typing stubs for the Traits library have been added in a
+``traits-stubs`` package, which will be released separately to PyPI. This
+should help support Traits-using projects that want to make use of type
+annotations and type checkers like `mypy `_.
+  * Python 2.7 is no longer supported; Traits 6.0 requires Python 3.5 or later.
+  * Trait types related to Python 2 (for example ``Unicode`` and ``Long``) have
+been deprecated in favour of their Python 3 equivalents (for example 
``Str``
+and ``Int``).
+  * Many little-used historical features of Traits have been deprecated, and
+are scheduled for removal in Traits 7.0.
+  * Some historical features of Traits that had no evidence of external usage
+were removed in Traits 6.0.
+  * Introspection of ``CTrait`` and ``HasTraits`` objects is greatly improved.
+All of the internal state that was previously hidden within the C extension
+is now accessible from Python.
+  * The Traits codebase has undergone some significant reorganizations,
+reformattings and style cleanups to make it easier to work with, and
+to improve the separation between Traits and TraitsUI.
+  * This release was focused mainly on cleanup and bugfixing. Nevertheless,
+it contains a sprinkling of new features. There's a new ``Datetime``
+trait type. The ``Enum`` trait type now supports Python enumerations.
+The ``File`` trait type supports path-like objects.
+  * And many more... see upstream changelog
+- Convert to multibuild to break build cycle with pyface
+- Add patch fix-test.patch to make the tests pass
+
+---

Old:

  traits-5.2.0.tar.gz

New:

  _multibuild
  fix-test.patch
  traits-6.1.0.tar.gz



Other differences:
--
++ python-traits.spec ++
--- /var/tmp/diff_new_pack.bR8T2z/_old  2020-07-24 09:54:54.705338766 +0200
+++ /var/tmp/diff_new_pack.bR8T2z/_new  2020-07-24 09:54:54.709338770 +0200
@@ -17,9 +17,18 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define oldpython python
-Name:   python-traits
-Version:5.2.0
+%define skip_python2 1
+# cycle with pyface
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name:   python-traits%{psuffix}
+Version:6.1.0
 Release:0
 

commit python-traits for openSUSE:Factory

2020-02-03 Thread root
Hello community,

here is the log from the commit of package python-traits for openSUSE:Factory 
checked in at 2020-02-03 11:13:17

Comparing /work/SRC/openSUSE:Factory/python-traits (Old)
 and  /work/SRC/openSUSE:Factory/.python-traits.new.26092 (New)


Package is "python-traits"

Mon Feb  3 11:13:17 2020 rev:6 rq:768822 version:5.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-traits/python-traits.changes  
2019-07-22 12:21:51.471641265 +0200
+++ /work/SRC/openSUSE:Factory/.python-traits.new.26092/python-traits.changes   
2020-02-03 11:13:24.077847449 +0100
@@ -1,0 +2,35 @@
+Thu Jan 30 15:42:17 UTC 2020 - Todd R 
+
+- Update to 5.2.0:
+  + Enhancements
+* Support installation from source archives.
+  + Fixes
+* Ensure ``TraitListEvent.index`` is always an integer.
+* Update the deprecated ``collections.MutableMapping`` import.
+* Fix inadvertent modification of the ``Category`` base class.
+* Rework version handling in ``setup.py``.
+* Don't autogenerate documentation for ``ViewElement``.
+* Ensure that all tests are ``unittest`` compatible.
+  + Changes
+* Replace occurences of deprecated ``AdaptsTo`` with ``Supports``.
+* Remove ``Class`` trait.
+* Deprecate ``Category`` trait.
+* Fix typos in docstrings.
+* Use decorator form of ``classmethod``.
+* Remove redefinition of ``NullHandler``.
+* Add an import check helper.
+* Clean up Cython tests.
+* Clean up test output.
+  + Miscellaneous
+* Update EDM version on CI to version 2.0.0.
+* Don't finish fast on CI.
+* Use ``unittest`` to run tests in CI.
+* Low-level fixes and style cleanup in ``etstool.py``.
+* Add ``--editable`` option for ``install``, ``update`` CI commands.
+* Make git commit hash available to archives.
+* Fix use of non-edm envs as bootstrap envs on Windows.
+* Remove edm installed package before installing from source.
+* Add help text to click options.
+* Various cleanups, fixes and enhancements in ``etstool.py``.
+
+---

Old:

  traits-5.1.2.tar.gz

New:

  traits-5.2.0.tar.gz



Other differences:
--
++ python-traits.spec ++
--- /var/tmp/diff_new_pack.EKy7fQ/_old  2020-02-03 11:13:25.689848263 +0100
+++ /var/tmp/diff_new_pack.EKy7fQ/_new  2020-02-03 11:13:25.693848265 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-traits
 #
-# 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
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:   python-traits
-Version:5.1.2
+Version:5.2.0
 Release:0
 Summary:Explicitly typed attributes for Python
 # Images have different licenses. For image license breakdown check
@@ -28,7 +28,7 @@
 # 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
+URL:https://github.com/enthought/traits
 Source: 
https://files.pythonhosted.org/packages/source/t/traits/traits-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy}

++ traits-5.1.2.tar.gz -> traits-5.2.0.tar.gz ++
 5242 lines of diff (skipped)




commit python-traits for openSUSE:Factory

2019-07-22 Thread root
Hello community,

here is the log from the commit of package python-traits for openSUSE:Factory 
checked in at 2019-07-22 12:21:50

Comparing /work/SRC/openSUSE:Factory/python-traits (Old)
 and  /work/SRC/openSUSE:Factory/.python-traits.new.4126 (New)


Package is "python-traits"

Mon Jul 22 12:21:50 2019 rev:5 rq:717484 version:5.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-traits/python-traits.changes  
2019-04-30 12:59:13.450163870 +0200
+++ /work/SRC/openSUSE:Factory/.python-traits.new.4126/python-traits.changes
2019-07-22 12:21:51.471641265 +0200
@@ -1,0 +2,6 @@
+Mon Jul 22 08:56:26 UTC 2019 - Tomáš Chvátal 
+
+- Update to 5.1.2:
+  * Traits documenter no longer generates bad reST for traits whose definition 
spans multiple source lines. (#494)
+
+---

Old:

  traits-5.1.1.tar.gz

New:

  traits-5.1.2.tar.gz



Other differences:
--
++ python-traits.spec ++
--- /var/tmp/diff_new_pack.zlctOj/_old  2019-07-22 12:21:52.127641093 +0200
+++ /var/tmp/diff_new_pack.zlctOj/_new  2019-07-22 12:21:52.127641093 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:   python-traits
-Version:5.1.1
+Version:5.1.2
 Release:0
 Summary:Explicitly typed attributes for Python
 # Images have different licenses. For image license breakdown check

++ traits-5.1.1.tar.gz -> traits-5.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traits-5.1.1/CHANGES.rst new/traits-5.1.2/CHANGES.rst
--- old/traits-5.1.1/CHANGES.rst2019-04-18 11:26:35.0 +0200
+++ new/traits-5.1.2/CHANGES.rst2019-07-08 10:05:13.0 +0200
@@ -1,6 +1,17 @@
 Traits CHANGELOG
 
 
+Release 5.1.2
+-
+
+Released: 2019-07-08
+
+Fixes
+
+* Traits documenter no longer generates bad reST for traits whose definition
+  spans multiple source lines. (#494)
+
+
 Release 5.1.1
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traits-5.1.1/PKG-INFO new/traits-5.1.2/PKG-INFO
--- old/traits-5.1.1/PKG-INFO   2019-04-18 11:30:48.0 +0200
+++ new/traits-5.1.2/PKG-INFO   2019-07-08 10:09:16.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: traits
-Version: 5.1.1
+Version: 5.1.2
 Summary: explicitly typed attributes for Python
 Home-page: http://docs.enthought.com/traits
 Author: David C. Morrill, et. al.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traits-5.1.1/setup.py new/traits-5.1.2/setup.py
--- old/traits-5.1.1/setup.py   2019-04-18 11:26:35.0 +0200
+++ new/traits-5.1.2/setup.py   2019-07-08 10:05:13.0 +0200
@@ -9,7 +9,7 @@
 
 MAJOR = 5
 MINOR = 1
-MICRO = 1
+MICRO = 2
 
 IS_RELEASED = True
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traits-5.1.1/traits/_version.py 
new/traits-5.1.2/traits/_version.py
--- old/traits-5.1.1/traits/_version.py 2019-04-18 11:30:47.0 +0200
+++ new/traits-5.1.2/traits/_version.py 2019-07-08 10:09:12.0 +0200
@@ -1,7 +1,7 @@
 # THIS FILE IS GENERATED FROM TRAITS SETUP.PY
-version = '5.1.1'
-full_version = '5.1.1'
-git_revision = 'e2fe1b95dc0660321350aab09428a811922acc78'
+version = '5.1.2'
+full_version = '5.1.2'
+git_revision = 'e62cb0a15195e14f5aa916f941d9a93a488a04fd'
 is_released = True
 
 if not is_released:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/traits-5.1.1/traits/util/tests/test_trait_documenter.py 
new/traits-5.1.2/traits/util/tests/test_trait_documenter.py
--- old/traits-5.1.1/traits/util/tests/test_trait_documenter.py 2019-04-18 
10:44:37.0 +0200
+++ new/traits-5.1.2/traits/util/tests/test_trait_documenter.py 2019-07-08 
09:37:51.0 +0200
@@ -1,30 +1,66 @@
 # -*- coding: utf-8 -*-
 """ Tests for the trait documenter. """
 
-
+import contextlib
+import io
+import os
+import shutil
+import tempfile
 import textwrap
 import tokenize
 import unittest
+try:
+# Python 3: mock in the standard library.
+import unittest.mock as mock
+except ImportError:
+# Python 2: need to use 3rd-party mock.
+import mock
 
 import six
-if six.PY2:
-import mock
+
+try:
+import sphinx  # noqa: F401
+except ImportError:
+sphinx_available = False
 else:
-import unittest.mock as mock
+sphinx_available = True
 
+from traits.api import HasTraits, Int
 
-def _sphinx_present():
-try:
-import sphinx  # noqa
-except ImportError:
-return False
+if 

commit python-traits for openSUSE:Factory

2019-04-30 Thread root
Hello community,

here is the log from the commit of package python-traits for openSUSE:Factory 
checked in at 2019-04-30 12:59:10

Comparing /work/SRC/openSUSE:Factory/python-traits (Old)
 and  /work/SRC/openSUSE:Factory/.python-traits.new.5536 (New)


Package is "python-traits"

Tue Apr 30 12:59:10 2019 rev:4 rq:697378 version:5.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-traits/python-traits.changes  
2019-04-18 09:56:58.569362114 +0200
+++ /work/SRC/openSUSE:Factory/.python-traits.new.5536/python-traits.changes
2019-04-30 12:59:13.450163870 +0200
@@ -1,0 +2,7 @@
+Tue Apr 23 15:50:09 UTC 2019 - pgaj...@suse.com
+
+- version update to 5.1.1
+  * Revert a change (#449) which accidentally broke external uses of
+``_py2to3.str_find`` and ``_py2to3.str_rfind``. (#472)
+
+---

Old:

  traits-5.1.0.tar.gz

New:

  traits-5.1.1.tar.gz



Other differences:
--
++ python-traits.spec ++
--- /var/tmp/diff_new_pack.1o4XmK/_old  2019-04-30 12:59:15.338165369 +0200
+++ /var/tmp/diff_new_pack.1o4XmK/_new  2019-04-30 12:59:15.342165372 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:   python-traits
-Version:5.1.0
+Version:5.1.1
 Release:0
 Summary:Explicitly typed attributes for Python
 # Images have different licenses. For image license breakdown check

++ traits-5.1.0.tar.gz -> traits-5.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traits-5.1.0/CHANGES.rst new/traits-5.1.1/CHANGES.rst
--- old/traits-5.1.0/CHANGES.rst2019-04-15 16:07:14.0 +0200
+++ new/traits-5.1.1/CHANGES.rst2019-04-18 11:26:35.0 +0200
@@ -1,6 +1,16 @@
 Traits CHANGELOG
 
 
+Release 5.1.1
+-
+
+Released: 2019-04-18
+
+Fixes
+
+* Revert a change (#449) which accidentally broke external uses of
+  ``_py2to3.str_find`` and ``_py2to3.str_rfind``. (#472)
+
 Release 5.1.0
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traits-5.1.0/PKG-INFO new/traits-5.1.1/PKG-INFO
--- old/traits-5.1.0/PKG-INFO   2019-04-15 16:41:20.0 +0200
+++ new/traits-5.1.1/PKG-INFO   2019-04-18 11:30:48.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: traits
-Version: 5.1.0
+Version: 5.1.1
 Summary: explicitly typed attributes for Python
 Home-page: http://docs.enthought.com/traits
 Author: David C. Morrill, et. al.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traits-5.1.0/setup.py new/traits-5.1.1/setup.py
--- old/traits-5.1.0/setup.py   2019-04-15 15:25:02.0 +0200
+++ new/traits-5.1.1/setup.py   2019-04-18 11:26:35.0 +0200
@@ -9,7 +9,7 @@
 
 MAJOR = 5
 MINOR = 1
-MICRO = 0
+MICRO = 1
 
 IS_RELEASED = True
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traits-5.1.0/traits/_py2to3.py 
new/traits-5.1.1/traits/_py2to3.py
--- old/traits-5.1.0/traits/_py2to3.py  2019-03-14 15:46:40.0 +0100
+++ new/traits-5.1.1/traits/_py2to3.py  2019-04-18 11:26:35.0 +0200
@@ -17,8 +17,15 @@
 # use from traitsui.
 # Once that PR is merged and a new release of traitsui is available, we can
 # remove these aliases for good.
-str_find = str.find
-str_rfind = str.rfind
+if six.PY2:
+import string
+
+str_find = string.find
+str_rfind = string.rfind
+else:
+str_find = str.find
+str_rfind = str.rfind
+
 
 if six.PY2:
 from types import InstanceType, ClassType
@@ -80,10 +87,10 @@
 
 class nested_context_mgrs(ExitStack):
 """ Emulation of python 2's :py:class:`contextlib.nested`.
-
+
 It has gone from python 3 due to it's deprecation status
 in python 2.
-
+
 Note that :py:class:`contextlib.nested` was deprecated for
 a reason: It has issues with context managers that fail
 during init. The same caveats also apply here.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traits-5.1.0/traits/_version.py 
new/traits-5.1.1/traits/_version.py
--- old/traits-5.1.0/traits/_version.py 2019-04-15 16:41:19.0 +0200
+++ new/traits-5.1.1/traits/_version.py 2019-04-18 11:30:47.0 +0200
@@ -1,7 +1,7 @@
 # THIS FILE IS GENERATED FROM TRAITS SETUP.PY
-version = '5.1.0'
-full_version = '5.1.0'
-git_revision = 'bc896728d443c8417f175c799353b2e55b63833f'
+version = '5.1.1'
+full_version = '5.1.1'
+git_revision = 'e2fe1b95dc0660321350aab09428a811922acc78'
 is_released = True
 
 if not 

commit python-traits for openSUSE:Factory

2019-04-18 Thread root
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 - pgaj...@suse.com
+
+- 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)




commit python-traits for openSUSE:Factory

2019-02-24 Thread root
Hello community,

here is the log from the commit of package python-traits for openSUSE:Factory 
checked in at 2019-02-24 17:18:57

Comparing /work/SRC/openSUSE:Factory/python-traits (Old)
 and  /work/SRC/openSUSE:Factory/.python-traits.new.28833 (New)


Package is "python-traits"

Sun Feb 24 17:18:57 2019 rev:2 rq:678045 version:5.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-traits/python-traits.changes  
2018-05-29 16:47:23.790588944 +0200
+++ /work/SRC/openSUSE:Factory/.python-traits.new.28833/python-traits.changes   
2019-02-24 17:19:02.388411654 +0100
@@ -1,0 +2,17 @@
+Thu Feb 21 15:55:27 UTC 2019 - Todd R 
+
+- Add avoid_sys_modules_hackery.patch
+  Fixes building with latest numpy
+  see: gh#enthought/traits#441
+
+---
+Wed Feb  6 19:07:03 UTC 2019 - Todd R 
+
+- Update to 5.0.0
+  + highlights of this release are
+* Removal of 2to3 fixers and the use of six to provide Python 2/3 
compatibility
+* Removal of deprecated `traits.protocols` submodule and related utils.
+* New `HasRequiredTraits` class
+* Better IPython tab completion for `HasTraits` subclasses
+
+---

Old:

  traits-4.6.0.tar.gz

New:

  avoid_sys_modules_hackery.patch
  traits-5.0.0.tar.gz



Other differences:
--
++ python-traits.spec ++
--- /var/tmp/diff_new_pack.GHGAWW/_old  2019-02-24 17:19:03.872411390 +0100
+++ /var/tmp/diff_new_pack.GHGAWW/_new  2019-02-24 17:19:03.880411389 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-traits
 #
-# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX Products 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/
 #
 
 
@@ -20,7 +20,7 @@
 %define oldpython python
 %bcond_without  test
 Name:   python-traits
-Version:4.6.0
+Version:5.0.0
 Release:0
 Summary:Explicitly typed attributes for Python
 License:BSD-3-Clause and EPL-1.0 and LGPL-2.1
@@ -31,15 +31,20 @@
 # 3-clause license. Confirmed from upstream.
 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}
+BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
 %endif
 Requires:   python-numpy
+Requires:   python-six
 Recommends: python-traitsui
 %ifpython2
 Provides:   %{oldpython}-Traits = %{version}
@@ -67,6 +72,7 @@
 
 %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

++ avoid_sys_modules_hackery.patch ++
>From 652ca3847a8e4b53cca195f8574135ff6080902b Mon Sep 17 00:00:00 2001
From: Mark Dickinson 
Date: Wed, 30 Jan 2019 14:44:11 +
Subject: [PATCH] Avoid sys.modules hackery in a test.

---
 traits/tests/test_trait_types.py | 54 +---
 1 file changed, 35 insertions(+), 19 deletions(-)

diff --git a/traits/tests/test_trait_types.py b/traits/tests/test_trait_types.py
index e58e55fb..34138c7b 100644
--- a/traits/tests/test_trait_types.py
+++ b/traits/tests/test_trait_types.py
@@ -18,7 +18,20 @@
 """ Unit test case for testing trait types created by subclassing TraitType.
 """
 
-from traits.testing.unittest_tools import unittest
+import os
+import sys
+import tempfile
+import textwrap
+import shutil
+import subprocess
+import unittest
+
+try:
+import numpy  # noqa F401
+except ImportError:
+numpy_available = False
+else:
+numpy_available = True
 
 from traits.api import Float, TraitType
 
@@ -35,28 +48,31 @@ def get(self, obj, name):
 LazyProperty().as_ctrait()
 self.assertFalse(Float().transient)
 
+@unittest.skipUnless(numpy_available, "test requires NumPy")
 def 

commit python-traits for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package python-traits for openSUSE:Factory 
checked in at 2018-05-29 16:47:21

Comparing /work/SRC/openSUSE:Factory/python-traits (Old)
 and  /work/SRC/openSUSE:Factory/.python-traits.new (New)


Package is "python-traits"

Tue May 29 16:47:21 2018 rev:1 rq:605793 version:4.6.0

Changes:

New Changes file:

--- /dev/null   2018-05-24 09:31:19.417470950 +0200
+++ /work/SRC/openSUSE:Factory/.python-traits.new/python-traits.changes 
2018-05-29 16:47:23.790588944 +0200
@@ -0,0 +1,142 @@
+---
+Wed May  9 14:01:59 UTC 2018 - toddrme2...@gmail.com
+
+- Use license tag
+
+---
+Wed Aug 23 18:40:23 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version
+- Update to version 4.6.0
+  Highlights of this release include:
+  * support for Python 3.4 and 3.5.
+  * new Bytes and ValidatedTuple traits.
+  * a new ArrayOrNone trait which correctly handles None comparisons with Numpy
+arrays.
+  * clean-up of the ETSConfig code for TraitsUI toolkit selection.
+  * better compatibility with NumPy scalar types.
+  * many other bugfixes and improvements.
+
+---
+Mon Oct 13 15:10:40 UTC 2014 - toddrme2...@gmail.com
+
+- Updated to version 4.5.0
+  + Traits is now compatible with Python 3! 
+The library now supports Python 3.2 and 3.3 .
+  + The release also includes increased code coverage and automatic
+coverage report through coveralls.io .
+  + Enhancements
+* Test files cleanups (#108, #111, #121)
+* Add automatic coverage reports (#110, #122)
+* Removed obsolete code (#109, #112, #113)
+* Increased test coverage (#114, #118)
+* Python 3 support (#115).  Thanks Yves Delley.
+* Allow setting and resetting the global adaptation manager (#145)
+* Various documentation improvements (#132, #133, #148, #154).
+  + Changes
+* The Int trait type now accepts Python ints *and* Python longs, as well as
+  instances of any Python type that implements the `__index__` method.
+  Previously, long instances were not accepted. (#104, #123).
+  + Fixes
+* Fix crash when trying to validate a property that has been deleted. 
(#138)
+* Fix clearing exception when raising a TraitError (#119)
+* Fix automatic adaptation when assigning to List trait (#147)
+* Fix some ctraits refcounting and exception clearing bugs (#48).  Thanks 
Yves
+  Delley.
+- Updated to version 4.4.0
+  + The major new feature in this release is a new adaptation mechanism in the
+``traits.adaptation`` package.  The new mechanism is intended to replace 
the
+older traits.protocols package.  Code written against ``traits.protocols`` 
will
+continue to work, although the ``traits.protocols`` API has been 
deprecated,
+and a warning will be logged on first use of ``traits.protocols``.  See the
+'Advanced Topics' section of the user manual for more details.
+  + The release also includes improved support for using Cython with 
`HasTraits`
+classes, some new helper utilities for writing unit tests for Traits 
events,
+and a variety of bug fixes, stability enhancements, and internal code
+improvements.
+  + New features
+* The adaptation mechanism in Traits, formerly based on the 
'traits.protocols'
+ package, has been replaced with the more robust 'traits.adaptation'
+ package. (#51)
+* Added utility function for importing symbols (name, classes, functions)
+ by name: 'traits.util.api.import_symbol'. (#51)
+* Users can set a global tracer, which receives all traits change events:
+ `traits.trait_notifiers.set_change_event_tracers`. (#79)
+  + Enhancements
+* Update benchmark script. (#54)
+* traits.util.deprecated: use module logger instead of root logger. (#59)
+* Provide an informative message in AdaptationError. (#62)
+* Allow HasTraits classes to be cythonized. (#73)
+* Improve tests for cythonization support. (#75)
+* Extending various trait testing helpers (#53)
+  + Refactoring
+* The Traits notification code has been reworked to remove code 
duplication,
+  and test coverage of that code has been significantly improved. (#79)
+  + Fixes
+* Fix race condition when removing a traits listener. (#57)
+* Fix ugly interaction between DelegatesTo change handlers, dynamic change
+  handlers and two levels of dynamic intialization. (#63)
+* Use a NullHandler for all 'traits' loggers. (#64)
+* Fix race condition in TraitChangeNotifyWrapper.listener_deleted (#66)
+* Fix leaking notifiers. (#68)
+* Fix failing special instance trait events. (#78)
+* Fix hiding KeyError exception inside