Hello community,

here is the log from the commit of package python-tables for openSUSE:Factory 
checked in at 2018-05-08 13:37:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tables (Old)
 and      /work/SRC/openSUSE:Factory/.python-tables.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tables"

Tue May  8 13:37:31 2018 rev:8 rq:604704 version:3.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tables/python-tables.changes      
2018-02-27 16:59:54.871800172 +0100
+++ /work/SRC/openSUSE:Factory/.python-tables.new/python-tables.changes 
2018-05-08 13:37:38.984882290 +0200
@@ -1,0 +2,33 @@
+Thu May  3 17:06:41 UTC 2018 - [email protected]
+
+- Add initRecArray_tuples.patch
+  Upstream bug report: https://github.com/PyTables/PyTables/issues/688
+  From: https://github.com/PyTables/PyTables/pull/689
+  Should be in next release
+
+-------------------------------------------------------------------
+Wed May  2 10:31:55 UTC 2018 - [email protected]
+
+- Version update to 3.4.3:
+  * On interactive python sessions, group/attribute __dir__() method
+    autocompletes children that are named as valid python identifiers.
+  * Implement Group.__getitem__() to have groups act as python-containers,
+    so code like this works: hfile.root['some child'].
+  * Enable building with Intel compiler (icc/icpc).
+  * PEP 519 support, using new os.fspath method.
+  * Optional disable recording of ctime (metadata creation time) when
+    creating datasets that makes possible to get bitwise identical output
+    from repeated runs.
+  * Prevent from reading all rows for each coord in a VLArray when
+    indexing using a list .
+  * Fixed division by zero when using _convert_time64() with an empty
+    nparr array.
+  * Fixed deprecation warnings with numpy 1.14.
+  * Skip DLL check when running from a frozen app.
+  * Fixed behaviour with slices out of range.
+- Drop merged patch fix_numpy_recarray.patch
+- Add patch Never-use-the-msse2-flag-explicitly.patch to avoid using
+  msse2 and avx on buildbots that support it, as we can be on non
+  avx machines...
+
+-------------------------------------------------------------------

Old:
----
  fix_numpy_recarray.patch
  tables-3.4.2.tar.gz

New:
----
  Never-use-the-msse2-flag-explicitly.patch
  initRecArray_tuples.patch
  tables-3.4.3.tar.gz

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

Other differences:
------------------
++++++ python-tables.spec ++++++
--- /var/tmp/diff_new_pack.ulU9wR/_old  2018-05-08 13:37:41.596788020 +0200
+++ /var/tmp/diff_new_pack.ulU9wR/_new  2018-05-08 13:37:41.600787876 +0200
@@ -16,43 +16,42 @@
 #
 
 
-%bcond_without tests
-
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-tables
-Version:        3.4.2
+Version:        3.4.3
 Release:        0
 Summary:        Hierarchical datasets for Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            https://github.com/PyTables/PyTables
+URL:            https://github.com/PyTables/PyTables
 Source0:        
https://files.pythonhosted.org/packages/source/t/tables/tables-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM fix_numpy_recarray.patch -- Fix recarray issues with 
numpy 1.14 -- https://github.com/PyTables/PyTables/pull/664
-Patch0:         fix_numpy_recarray.patch
+Patch0:         Never-use-the-msse2-flag-explicitly.patch
+# PATCH-FIX-UPSTREAM initRecArray_tuples.patch -- 
https://github.com/PyTables/PyTables/pull/689
+Patch1:         initRecArray_tuples.patch
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module numexpr >= 2.5.2}
+BuildRequires:  %{python_module numpy-devel >= 1.8.1}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six >= 1.9.0}
+BuildRequires:  blosc-devel >= 1.4.1
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  blosc-devel >= 1.4.1
 BuildRequires:  hdf5-devel >= 1.8.4
 BuildRequires:  libbz2-devel
 BuildRequires:  lzo-devel
 BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module Cython >= 0.21}
-BuildRequires:  %{python_module numexpr >= 2.5.2}
-BuildRequires:  %{python_module numpy-devel >= 1.8.1}
-BuildRequires:  %{python_module six >= 1.9.0}
-%if %{with tests}
-# Python 3 version needs mock too for some reason
-BuildRequires:  %{python_module mock}
-%endif
+BuildRequires:  python2-unittest2
+BuildRequires:  python3-Sphinx >= 1.1
+BuildRequires:  python3-sphinx_rtd_theme
+BuildRequires:  python3-numpydoc
+BuildRequires:  python3-jupyter_ipython
 Requires:       python-numexpr >= 2.5.2
 Requires:       python-numpy >= 1.8.1
 Requires:       python-six >= 1.9.0
 Recommends:     bzip2
 Recommends:     lzo
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+# Python 3 version needs mock too for some reason
+BuildRequires:  %{python_module mock}
 %python_subpackages
 
 %description
@@ -75,6 +74,7 @@
 %prep
 %setup -q -n tables-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -83,22 +83,25 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
-%fdupes doc/html
+pushd doc
+export PYTHONPATH=%{buildroot}%{python3_sitearch}
+make html
+popd
+
+%fdupes doc/build/html
 %fdupes examples/
 
-%if %{with tests}
 %check
 pushd LICENSES
 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
 $python -m tables.tests.test_all
 }
 popd
-%endif
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc ANNOUNCE.txt LICENSE.txt README.rst RELEASE_NOTES.txt THANKS
-%doc LICENSES/
+%license LICENSE.txt
+%doc README.rst RELEASE_NOTES.txt THANKS
+%license LICENSES/*
 %python3_only %{_bindir}/pt2to3
 %python3_only %{_bindir}/ptdump
 %python3_only %{_bindir}/ptrepack
@@ -107,8 +110,7 @@
 %{python_sitearch}/tables-%{version}-py*.egg-info
 
 %files -n %{name}-doc
-%defattr(-,root,root)
-%doc doc/html
+%doc doc/build/html/
 %doc examples/
 
 %changelog

++++++ Never-use-the-msse2-flag-explicitly.patch ++++++
From: Debian Science Maintainers
 <[email protected]>
Date: Sat, 25 Jul 2015 17:50:31 +0000
Subject: Never-use-the-msse2-flag-explicitly

===================================================================
---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index ee769e6..2cd6b1d 100755
--- a/setup.py
+++ b/setup.py
@@ -836,7 +836,7 @@ if 'BLOSC' not in optional_libs:
             os.remove(fd.name)
 
     # SSE2
-    if 'sse2' in cpu_flags:
+    if False and 'sse2' in cpu_flags:
         print('SSE2 detected')
         CFLAGS.append('-DSHUFFLE_SSE2_ENABLED')
         if os.name == 'nt':
@@ -850,7 +850,7 @@ if 'BLOSC' not in optional_libs:
                           if 'sse2' in f]
     # AVX2
     # Detection code for AVX2 only works for gcc/clang, not for MSVC yet
-    if ('avx2' in cpu_flags and
+    if (False and 'avx2' in cpu_flags and
             compiler_has_flags(compiler, ["-mavx2"])):
                 print('AVX2 detected')
                 CFLAGS.append('-DSHUFFLE_AVX2_ENABLED')
++++++ initRecArray_tuples.patch ++++++
>From d81507267de9965cbffbb8877784aa5b8fce2aa9 Mon Sep 17 00:00:00 2001
From: Oleksandr Pavlyk <[email protected]>
Date: Wed, 2 May 2018 11:54:05 -0500
Subject: [PATCH] MAINT: Fixed test failures with Python 2.7 and NumPy 1.14.3

While fixing fall-outs of changes to `numpy.rec.array`
(see https://github.com/numpy/numpy/issues/10344) I evidently missed
a spot which is now causing trouble. See

https://github.com/PyTables/PyTables/pull/664

I think I noted this in the aforementioned PR in a comment.

This PR is to make sure that `initRecArray` method produces list of
tuples, rather than list of lists, as an argument to `numpy.rec.array` 
constructor.
---
 tables/tests/test_tables.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tables/tests/test_tables.py b/tables/tests/test_tables.py
index 97a3f092..af832214 100644
--- a/tables/tests/test_tables.py
+++ b/tables/tests/test_tables.py
@@ -201,7 +201,7 @@ def initRecArray(self):
                 else:
                     tmplist.append(1 + float(i)*1j)
 
-            buflist.append(tmplist)
+            buflist.append(tuple(tmplist))
 
         self.record = records.array(buflist, dtype=record.dtype,
                                     shape=self.expectedrows)
++++++ tables-3.4.2.tar.gz -> tables-3.4.3.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-tables/tables-3.4.2.tar.gz 
/work/SRC/openSUSE:Factory/.python-tables.new/tables-3.4.3.tar.gz differ: char 
5, line 1


Reply via email to