Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-tables for openSUSE:Factory 
checked in at 2022-01-16 23:18:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tables (Old)
 and      /work/SRC/openSUSE:Factory/.python-tables.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tables"

Sun Jan 16 23:18:22 2022 rev:17 rq:946787 version:3.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tables/python-tables.changes      
2021-02-19 23:45:11.127358694 +0100
+++ /work/SRC/openSUSE:Factory/.python-tables.new.1892/python-tables.changes    
2022-01-16 23:19:20.442379715 +0100
@@ -1,0 +2,37 @@
+Sun Jan 16 10:40:28 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 3.7.0
+  * Compatibility with Python 3.10, numpy 1.21 and HDF5 1.12.
+  * Support for Python 3.5 has been dropped (#840 and #850).
+  * Internal C-Blosc sources updated to 1.21.1 (#931). Note that,
+    starting from C-Blosc 1.19 does not include the Snappy codec
+    sources anymore, so Snappy will be not available if you compile
+    from included sources; other packages (like conda or wheels),
+    may (or may not) include it.
+  * Switch to git submodule for the management of vendored c-blosc
+    sources.
+  * Improved code formatting and notation consistency (#873, #868,
+    #865 thanks to Miroslav ??ediv??).
+  * Improve the use of modern Python including :mod:pathlib,
+    f-strings (#859, #855, #839 and #818 thanks to Miroslav
+    ??ediv??).
+  * Simplified management of version information.
+  * Drop dependency on the deprecated distutils.
+  * Modernize the setup script and add support for PEP517 (#907).
+  * Fix pkg-config (setup.py) for Python 3.9 on Debian. Thanks to
+    Marco Sulla PR #792.
+  * Fix ROFileNode fails to return the fileno() (#633).
+  * Do not flush read only files (#915 thanks to @lrepiton).
+  * Drop the deprecated hdf5Version and File.open_count.
+  * the :func:get_tables_version and :func:get_hdf5_version
+    functions are now deprecated please use the coresponding
+    :data:tables.__version__ and :data:tables.hdf5_version instead.
+- Drop patches fixed upstream
+  * PyTables-compat-numpy119.patch
+  * PyTables-pr810-tostring.patch
+  * PyTables-skip-test_vlarray.patch
+  * tables-pr862-lowercasefdtype.patch
+- Replace Never-use-the-msse2-flag-explicitly.patch by use of
+  environment variable
+
+-------------------------------------------------------------------

Old:
----
  Never-use-the-msse2-flag-explicitly.patch
  PyTables-compat-numpy119.patch
  PyTables-pr810-tostring.patch
  PyTables-skip-test_vlarray.patch
  tables-3.6.1.tar.gz
  tables-pr862-lowercasefdtype.patch

New:
----
  tables-3.7.0.tar.gz

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

Other differences:
------------------
++++++ python-tables.spec ++++++
--- /var/tmp/diff_new_pack.cnapft/_old  2022-01-16 23:19:20.978379978 +0100
+++ /var/tmp/diff_new_pack.cnapft/_new  2022-01-16 23:19:20.978379978 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tables
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,34 +16,25 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
-%define skip_python36 1
 Name:           python-tables
-Version:        3.6.1
+Version:        3.7.0
 Release:        0
 Summary:        Hierarchical datasets for Python
 License:        BSD-3-Clause
 URL:            https://github.com/PyTables/PyTables
 Source0:        
https://files.pythonhosted.org/packages/source/t/tables/tables-%{version}.tar.gz
-Patch0:         Never-use-the-msse2-flag-explicitly.patch
-# PATCH-FIX-UPSTREAM PyTables-pr810-tostring.patch -- gh#PyTables/PyTables#810
-Patch1:         
https://github.com/PyTables/PyTables/pull/810.patch#/PyTables-pr810-tostring.patch
-# PATCH-FIX-UPSTREAM PyTables-compat-numpy119.patch -- 
https://github.com/PyTables/PyTables/commit/fdd87f + typo fix.
-Patch2:         PyTables-compat-numpy119.patch
-# PATCH-FIX-UPSTREAM PyTables-skip-test_vlarray.patch -- 
gh#PyTables/PyTables#845
-Patch3:         PyTables-skip-test_vlarray.patch
-# PATCH-FIX-UPSTREAM tables-pr862-lowercasefdtype.patch -- 
gh#PyTables/PyTables#862
-Patch4:         tables-pr862-lowercasefdtype.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numexpr >= 2.6.2}
-BuildRequires:  %{python_module numpy-devel >= 1.9.3}
+BuildRequires:  %{python_module numpy-devel >= 1.19}
+BuildRequires:  %{python_module packaging}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  blosc-devel >= 1.4.1
+BuildRequires:  blosc-devel >= 1.21.1
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  hdf5-devel >= 1.8.4
+BuildRequires:  hdf5-devel
 BuildRequires:  libbz2-devel
 BuildRequires:  lzo-devel
 BuildRequires:  python-rpm-macros
@@ -52,9 +43,10 @@
 BuildRequires:  python3-numpydoc
 BuildRequires:  python3-sphinx_rtd_theme
 Requires:       python-numexpr >= 2.6.2
-Requires:       python-numpy >= 1.9.3
+Requires:       python-numpy >= 1.19
+Requires:       python-packaging
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 Recommends:     bzip2
 Recommends:     lzo
 %python_subpackages
@@ -77,9 +69,15 @@
 
 %prep
 %autosetup -p1 -n tables-%{version}
+# make sure we use the system blosc
+rm -r c-blosc
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
+# Never use SSE2 and AVX2 because obs buildbots might support it
+# but the target does not
+export DISABLE_SSE2=1
+export DISABLE_AVX2=1
 %python_build
 
 %install
@@ -88,17 +86,26 @@
 %python_clone -a %{buildroot}%{_bindir}/ptrepack
 %python_clone -a %{buildroot}%{_bindir}/ptdump
 %python_clone -a %{buildroot}%{_bindir}/pt2to3
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%{python_expand #
+rm %{buildroot}%{$python_sitearch}/tables/*.c
+rm %{buildroot}%{$python_sitearch}/tables/tests/*.c
+%fdupes %{buildroot}%{$python_sitearch}
+}
+
 pushd doc
 export PYTHONPATH=%{buildroot}%{python3_sitearch}
 make html
+rm build/html/.buildinfo
 popd
-
-%fdupes doc/build/html
-%fdupes examples/
+# manual copy to buildroot so we can deduplicate
+mkdir -p %{buildroot}%{_docdir}/%{name}-doc/
+cp -r doc/build/html %{buildroot}%{_docdir}/%{name}-doc/
+cp -r examples %{buildroot}%{_docdir}/%{name}-doc/
+%fdupes %{buildroot}%{_docdir}/%{name}-doc/
 
 %check
 pushd LICENSES
+export VERBOSE=TRUE
 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
 $python -B -m tables.tests.test_all
 }
@@ -117,7 +124,7 @@
 %python_uninstall_alternative pt2to3
 
 %files %{python_files}
-%doc README.rst RELEASE_NOTES.txt THANKS
+%doc README.rst ANNOUNCE.txt THANKS
 %license LICENSE.txt
 %license LICENSES/*
 %python_alternative %{_bindir}/pt2to3
@@ -125,12 +132,11 @@
 %python_alternative %{_bindir}/ptrepack
 %python_alternative %{_bindir}/pttree
 %{python_sitearch}/tables/
-%{python_sitearch}/tables-%{version}-py*.egg-info
+%{python_sitearch}/tables-%{version}*-info
 
 %files -n %{name}-doc
 %license LICENSE.txt
 %license LICENSES/*
-%doc doc/build/html/
-%doc examples/
+%doc %{_docdir}/%{name}-doc/
 
 %changelog

++++++ tables-3.6.1.tar.gz -> tables-3.7.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-tables/tables-3.6.1.tar.gz 
/work/SRC/openSUSE:Factory/.python-tables.new.1892/tables-3.7.0.tar.gz differ: 
char 5, line 1

Reply via email to