Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-traitsui for openSUSE:Factory
checked in at 2021-03-30 21:06:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-traitsui (Old)
and /work/SRC/openSUSE:Factory/.python-traitsui.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-traitsui"
Tue Mar 30 21:06:53 2021 rev:7 rq:874882 version:7.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-traitsui/python-traitsui.changes
2020-09-08 22:50:37.991612920 +0200
+++
/work/SRC/openSUSE:Factory/.python-traitsui.new.2401/python-traitsui.changes
2021-03-30 21:07:07.281160970 +0200
@@ -1,0 +2,48 @@
+Tue Feb 23 19:50:25 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 7.1.1
+ * Fix scrollable trait of a Group not being implemented on Qt
+ (#1406)
+ * Fix icon button's clickable area too small for FileEditor and
+ RangeEditor on Qt and OSX (#1383)
+ * Fix missing minimize and maximize buttons for dialogs opened
+ on certain Linux platforms (#1409)
+- Release 7.1.0
+ Highlights of this release
+ * A new traitsui.testing.api module has been introduced for
+ testing GUI applications built using TraitsUI. See Testing
+ TraitsUI Applications for an introduction. Builtin support has
+ been added for testing several TraitsUI editors. More support
+ will be added in the future.
+ * On OSX and Qt, there have been reports of missing UI view
+ updates after a push button is clicked. While this is
+ suspected to be a Qt issue, changes have been made to
+ ButtonEditor, SetEditor and ImageEnumEditor to mitigate the
+ situation.
+ * The internal logic for disposing an instance traitsui.ui.UI is
+ changed as an attempt to resolve AttributeError that occurs
+ while a nested UI is removed.
+ Notes on upgrading
+ * On the issue about Qt button not causing views to update on
+ OSX, projects that have been working around the issue by
+ adding GUI().process_events() (or similar) in their
+ applications may now try to remove those workarounds. However,
+ the change that mitigates the issue in a production
+ environment has implications for tests: The button's click
+ slot is no longer invoked immediately but always invoked by
+ the Qt GUI event loop. Tests that used to call the Qt button
+ click method directly and rely on the event to happen
+ immediately will now need to update their tests to ensure that
+ the click slot is processed by the Qt GUI event loop in the
+ same order as before. Consider using the new testing library
+ which automatically runs the GUI event loop after each
+ interaction (e.g. mouse click).
+ Future removals
+ * traitsui.image has been moved to pyface.image more than 3
+ years ago and has since been deprecated. Previously it was
+ scheduled to be removed in TraitsUI 6.0. This planned removal
+ is now deferred to TraitsUI 7.2.
+- use pytest-xvfb
+- Don't test numpy on python36
+
+-------------------------------------------------------------------
Old:
----
traitsui-7.0.1.tar.gz
New:
----
traitsui-7.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-traitsui.spec ++++++
--- /var/tmp/diff_new_pack.3qDS39/_old 2021-03-30 21:07:08.165161942 +0200
+++ /var/tmp/diff_new_pack.3qDS39/_new 2021-03-30 21:07:08.169161946 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-traitsui
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define X_display ":98"
%define skip_python2 1
Name: python-traitsui
-Version: 7.0.1
+Version: 7.1.1
Release: 0
Summary: Traits-capable windowing framework
# Source code is under BSD but images are under different licenses
@@ -30,13 +29,12 @@
URL: https://github.com/enthought/traitsui
Source:
https://files.pythonhosted.org/packages/source/t/traitsui/traitsui-%{version}.tar.gz
BuildRequires: %{python_module configobj}
-BuildRequires: %{python_module numpy}
-BuildRequires: %{python_module pyface >= 6.0.0}
+BuildRequires: %{python_module pyface >= 7.1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module traits >= 6}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-pyface >= 6.0.0
+Requires: python-pyface >= 7.1.0
Requires: python-traits >= 6
Recommends: python-configobj
Recommends: python-qt5
@@ -44,11 +42,12 @@
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Pygments}
+BuildRequires: %{python_module pytest-xvfb}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module qt5}
BuildRequires: %{python_module wxPython >= 4}
BuildRequires: Mesa-dri
-BuildRequires: xorg-x11-server
+BuildRequires: %{python_module numpy if (%python-base without python36-base)}
# /SECTION
%python_subpackages
@@ -69,31 +68,20 @@
%install
%python_install
-%{python_expand %fdupes %{buildroot}%{$python_sitelib}
-$python -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/traitsui/wx/extra/
-$python -O -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/traitsui/wx/extra/
-$python -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/traitsui/wx/extra/windows/
-$python -O -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/traitsui/wx/extra/windows/
-%fdupes %{buildroot}%{$python_sitelib}
-}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+ln -sf examples/tutorials/doc_exmaples/default.css
examples/tutorials/traitsui_4.0/default.css
%check
export LANG=en_US.UTF-8
-export DISPLAY=%{X_display}
-Xvfb %{X_display} >& Xvfb.log &
-trap "kill $! || true" EXIT
-sleep 10
-
-%{python_expand mkdir tester_%{$python_bin_suffix}
-pushd tester_%{$python_bin_suffix}
-export PYTHONPATH=%{buildroot}%{$python_sitelib}
-pytest-%{$python_bin_suffix} -v ../traitsui/tests -k 'not (wx or
test_splitter_prefs_are_restored)'
-popd
-}
+# different splitters?
+donttest="test_splitter_prefs_are_restored"
+# segfault
+donttest+=" or test_html_editor"
+%pytest traitsui/tests -k "not ($donttest)"
%files %{python_files}
-%doc CHANGES.txt README.rst TODO.txt
-%doc docs/README.rst docs/traits*.*
+%doc README.rst
+%doc docs/traits*.*
%doc examples/
%license LICENSE.txt image_LICENSE*.txt
%{python_sitelib}/traitsui/
++++++ traitsui-7.0.1.tar.gz -> traitsui-7.1.1.tar.gz ++++++
++++ 45335 lines of diff (skipped)