Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-apptools for openSUSE:Factory 
checked in at 2022-05-03 21:19:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-apptools (Old)
 and      /work/SRC/openSUSE:Factory/.python-apptools.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-apptools"

Tue May  3 21:19:40 2022 rev:4 rq:974758 version:5.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-apptools/python-apptools.changes  
2022-02-07 23:39:09.770004167 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-apptools.new.1538/python-apptools.changes    
    2022-05-03 21:19:49.905063284 +0200
@@ -1,0 +2,47 @@
+Mon May  2 20:02:46 UTC 2022 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 5.1.0
+  * Modules in the apptools.undo subpackage are modified to import
+    from pyface.undo rather than redefining the classes.
+    This should help ease the transition to using pyface.undo in
+    place of the now deprecated apptool.undo.
+  * Deprecations:
+    * Import from pyface.undo.* instead of redefining classes in
+      apptools.undo.*
+  * Add module docstrings to the various api modules in apptools
+    subpackages
+- Add python310.patch
+
+-------------------------------------------------------------------
+Mon May  2 18:59:26 UTC 2022 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 5.0.0
+  * Support for Python versions < 3.6 have been dropped
+  * Deprecate apptools.undo subpackage
+  * Removed deprected subpackages
+    * Remove appscripting subpackage
+    * Remove template subpackage
+    * Remove permission subpackage
+    * Remove lru_cache subpackage
+    * Remove the apptools.sweet_pickle subpackage.
+      Users of sweet_pickle can in some cases transition to using
+      apptools.persistence and pickle from the python standard library
+    * Remove help subpackage
+    * Remove NullHandler from apptools.logger
+    * Remove apptools.logger.filtering_handler and
+      apptools.logger.util submodules
+    * Remove deprecated create_log_file_handler function
+    * Remove use of apptools.type_manager from apptools.naming.
+      Then, remove apptools.type_manager entirely. Finally, remove
+      apptools.naming.adapter.
+    * Remove apptools.persistence.spickle submodule
+    * Remove apptools.naming.ui sub package
+  * Update documentation for Preferences
+  * Add a brief section to documentation for apptools.naming
+  * Document the apptools.io and apptools.io.h5 sub packages
+  * Fix a few broken links in the documentation
+  * Fix SyntaxWarning in persistence.file_path
+  * Fix container items change event being saved in preferences
+  * Fix synchronizing preference trait with name _items
+
+-------------------------------------------------------------------

Old:
----
  apptools-4.5.0.tar.gz

New:
----
  apptools-5.1.0.tar.gz
  python310.patch

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

Other differences:
------------------
++++++ python-apptools.spec ++++++
--- /var/tmp/diff_new_pack.Mr1ciP/_old  2022-05-03 21:19:50.401063904 +0200
+++ /var/tmp/diff_new_pack.Mr1ciP/_new  2022-05-03 21:19:50.405063909 +0200
@@ -18,9 +18,14 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         X_display         ":98"
+%define         skip_python2      1
+%ifarch ppc ppc64 ppc64le s390x
 %bcond_with     test
+%else
+%bcond_without  test
+%endif
 Name:           python-apptools
-Version:        4.5.0
+Version:        5.1.0
 Release:        0
 Summary:        Application tools in Python
 # Source code is under BSD but images are under different licenses
@@ -28,6 +33,8 @@
 License:        BSD-3-Clause AND LGPL-2.1-only AND LGPL-3.0-only
 URL:            https://github.com/enthought/apptools
 Source:         
https://files.pythonhosted.org/packages/source/a/apptools/apptools-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM python310.patch -- Add python3.10 support 
gh#enthought/apptools#303
+Patch0:         python310.patch
 BuildRequires:  %{python_module configobj}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module traits}
@@ -56,22 +63,18 @@
 Part of the Enthought Tool Suite (ETS).
 
 %prep
-%setup -q -n apptools-%{version}
-# Fix wrong-script-interpreter
-sed -i "s|#!%{_bindir}/env python|#!%__python3|" 
examples/permissions/server/*.py
-%fdupes examples/
+%autosetup -p1 -n apptools-%{version}
 
 %build
 %python_build
+# Remove duplicates now so we can let rpm install it later
+%fdupes examples/
 
 %install
 %python_install
-%{python_expand chmod a+x 
%{buildroot}%{$python_sitelib}/apptools/lru_cache/tests/test_lru_cache.py
-sed -i "s|^#!%{_bindir}/env python$|#!%__$python|" 
%{buildroot}%{$python_sitelib}/apptools/lru_cache/tests/test_lru_cache.py
-%fdupes %{buildroot}%{$python_sitelib}
-$python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/apptools/
+%{python_expand $python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/apptools/
 $python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/apptools/
-%fdupes %{buildroot}%{$python_sitelib}/apptools/lru_cache/tests/
+%fdupes %{buildroot}%{$python_sitelib}
 }
 
 %if %{with test}
@@ -81,15 +84,11 @@
 trap "kill $! || true" EXIT
 sleep 10
 
-%{python_expand mkdir tester_%{$python_bin_suffix}
-pushd tester_%{$python_bin_suffix}
-%pytest
-popd
-}
+%pyunittest -v
 %endif
 
 %files %{python_files}
-%doc README.rst TODO.txt CHANGES.txt
+%doc README.rst CHANGES.txt
 %doc examples/
 %license LICENSE.txt image_LICENSE*.txt
 %{python_sitelib}/apptools/

++++++ apptools-4.5.0.tar.gz -> apptools-5.1.0.tar.gz ++++++
++++ 47244 lines of diff (skipped)

++++++ python310.patch ++++++
diff -Nur apptools-5.1.0/apptools/io/h5/file.py new/apptools/io/h5/file.py
--- apptools-5.1.0/apptools/io/h5/file.py       2021-01-13 20:10:47.000000000 
+0100
+++ new/apptools/io/h5/file.py  2022-05-02 22:42:46.404485964 +0200
@@ -7,7 +7,7 @@
 # is also available online at http://www.enthought.com/licenses/BSD.txt
 #
 # Thanks for using Enthought open source!
-from collections import Mapping, MutableMapping
+from collections.abc import Mapping, MutableMapping
 from functools import partial
 import inspect
 

Reply via email to