Hello community,

here is the log from the commit of package python-netCDF4 for openSUSE:Factory 
checked in at 2018-05-29 10:29:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-netCDF4 (Old)
 and      /work/SRC/openSUSE:Factory/.python-netCDF4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-netCDF4"

Tue May 29 10:29:38 2018 rev:2 rq:610046 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-netCDF4/python-netCDF4.changes    
2018-04-01 17:26:24.839763894 +0200
+++ /work/SRC/openSUSE:Factory/.python-netCDF4.new/python-netCDF4.changes       
2018-05-29 10:29:42.878177095 +0200
@@ -1,0 +2,44 @@
+Thu May 17 10:38:13 UTC 2018 - [email protected]
+
+- Add patch netcdf-disable-broken-test.patch
+  * This test got "broken" with the new netcdf that fixed another
+    problem https://github.com/Unidata/netcdf4-python/issues/752
+
+-------------------------------------------------------------------
+Thu May 17 09:57:50 UTC 2018 - [email protected]
+
+- Version update to 1.4.0:
+ * fixed bug in detection of CDF5 library support in setup.py (pull request
+   #736, issue #713).
+ * fixed reading of variables with zero-length dimensions in NETCDF3_CLASSIC
+   files (issue #743).
+ * allow integer-like objects in VLEN slices (not just python ints, issue
+   #526, pull request #757).
+ * treating _FillValue as a valid_min/valid_max was too surprising, despite
+   the fact the thet netcdf docs 'attribute best practices' suggests that
+   clients should to this.  Revert this change from issue #576 (issue #761).
+ * remove netcdftime, since it is now a separate package. date2num, num2date
+   and date2index still importable from netCDF4.
+ * fix 'Unreachable code' cython warning (issue #767).
+ * Change behavior of string attributes so that nc.stringatt = ['foo','bar']
+   produces an vlen string array attribute in NETCDF4, instead of concatenating
+   into a single string ('foobar').  In NETCDF3/NETCDF4_CLASSIC, an IOError
+   is now raised, instead of writing 'foobar'. Issue #770.
+ * fix loading of enum type names (issue #775).
+ * make sure missing_value applies only to scaled short integers if
+   auto-scaling is on (issue #777).
+ * automatically create views of compound types with character arrays as 
+   numpy strings (issue #773).  Can be disabled using
+   'set_auto_chartostring(False)'. Numpy structured
+   array dtypes with 'SN' string subtypes can now be used to
+   define netcdf compound types (they get converted to ('S1',N)
+   character array types automatically).
+ * always return masked array by default, even if there are no 
+   masked values (too surprising to get ndarray or MaskedArray depending
+   on slice, issue #785).
+ * treat valid_min/valid_max/_FillValue/missing_value as unsigned
+   integers if _Unsigned is set (to mimic behaviour of netcdf-java).
+   Conversion to unsigned type now occurs before masking and scale/offset
+   operation. Issue #794.
+
+-------------------------------------------------------------------

Old:
----
  netCDF4-1.3.1.tar.gz

New:
----
  netCDF4-1.4.0.tar.gz
  netcdf-disable-broken-test.patch

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

Other differences:
------------------
++++++ python-netCDF4.spec ++++++
--- /var/tmp/diff_new_pack.RRo4s5/_old  2018-05-29 10:29:43.666147986 +0200
+++ /var/tmp/diff_new_pack.RRo4s5/_new  2018-05-29 10:29:43.666147986 +0200
@@ -18,16 +18,18 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-netCDF4
-Version:        1.3.1
+Version:        1.4.0
 Release:        0
 Summary:        Python interface to netCDF 3 and 4
 License:        HPND AND MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/Unidata/netcdf4-python
+URL:            https://github.com/Unidata/netcdf4-python
 Source:         
https://files.pythonhosted.org/packages/source/n/netCDF4/netCDF4-%{version}.tar.gz
-BuildRequires:  %{python_module Cython >= 0.19}
+Patch0:         netcdf-disable-broken-test.patch
+BuildRequires:  %{python_module Cython >= 0.21}
+BuildRequires:  %{python_module cftime}
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module numpy-devel >= 1.7.0}
+BuildRequires:  %{python_module numpy-devel >= 1.9.0}
 BuildRequires:  %{python_module setuptools >= 18.0}
 BuildRequires:  fdupes
 BuildRequires:  hdf-devel
@@ -36,14 +38,15 @@
 BuildRequires:  libjpeg-devel
 BuildRequires:  netcdf-devel
 BuildRequires:  python-rpm-macros
+Requires:       hdf
+Requires:       hdf5
+Requires:       netcdf
+Requires:       python-cftime
+Requires:       python-numpy >= 1.9.0
 # SECTION tests
 BuildRequires:  %{python_module pytest}
 BuildRequires:  netcdf
 # /SECTION
-Requires:       hdf
-Requires:       hdf5
-Requires:       netcdf
-Requires:       python-numpy >= 1.7.0
 %python_subpackages
 
 %description
@@ -63,14 +66,15 @@
 
 %prep
 %setup -q -n netCDF4-%{version}
+%patch0 -p1
 
 %build
-export CFLAGS="%{optflags}"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 %python_build
 
 %install
 %python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
 pushd test

++++++ netCDF4-1.3.1.tar.gz -> netCDF4-1.4.0.tar.gz ++++++
++++ 6568 lines of diff (skipped)

++++++ netcdf-disable-broken-test.patch ++++++
Index: netCDF4-1.4.0/test/run_all.py
===================================================================
--- netCDF4-1.4.0.orig/test/run_all.py
+++ netCDF4-1.4.0/test/run_all.py
@@ -21,7 +21,7 @@ if __netcdf4libversion__ < '4.2.1' or __
 if not __has_nc_inq_path__:
     test_files.remove('tst_filepath.py')
     sys.stdout.write('not running tst_filepath.py ...\n')
-if not __has_cdf5_format__ or struct.calcsize("P") < 8:
+if True:
     test_files.remove('tst_cdf5.py')
     sys.stdout.write('not running tst_cdf5.py ...\n')
 

Reply via email to