Accepting request 686999 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/686999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netCDF4?expand=0&rev=3
This commit is contained in:
2019-03-21 08:53:21 +00:00
committed by Git OBS Bridge
parent 08b61d4c39
commit f6318ca11f
5 changed files with 52 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6c0b46f410f101c09d60b8cc460aafec06732f0130c6cb2730717bcc605b388
size 757493

3
netCDF4-1.4.3.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ae0ea8658a83c4c62a76af5a764aad3b4608d7376f07deb143d00817901da9a
size 766901

View File

@@ -1,11 +1,9 @@
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')
--- a/test/run_all.py
+++ b/test/run_all.py
@@ -25,7 +25,7 @@ if not __has_nc_inq_path__:
if not __has_nc_create_mem__:
test_files.remove('tst_create_mem.py')
sys.stdout.write('not running tst_create_mem.py ...\n')
-if not __has_cdf5_format__ or struct.calcsize("P") < 8:
+if True:
test_files.remove('tst_cdf5.py')

View File

@@ -1,3 +1,43 @@
-------------------------------------------------------------------
Wed Mar 20 16:36:46 CET 2019 - Matej Cepl <mcepl@suse.com>
- Update to 1.4.3.2
* include missing membuf.pyx file in release source tarball.
* fix bug in implementation of NETCDF4_CLASSIC support for parallel IO
in v1.4.3 release.
* make set_always_mask work in MFDataset.
* fix saving diskless files to disk with netcdf-c >= 4.6.2.
* write to an in-memory Dataset, memoryview buffer returned by Dataset.close()
(issue #865, requires netcdf-c >= 4.6.2)
* fix performance regression when using large sequences of consecutive
integers for indexing with netcdf-c >= 4.6.2 (issue #870).
* improved error messages for ncinfo and other utilities (issue #873).
* fix for int64 attributes not being created for NETCDF3_64BIT_DATA (CDF5)
files (issue #878).
* fix for MPI parallel error ("NetCDF: Attempt to use feature that was not
turned on when netCDF was built") using netcdf-c 4.6.2 (issue #883).
* Added methods `set_ncstring_attrs()` to Dataset, Group and Variable that
forces all text attributes to be written as variable length strings (netCDF
type NC_STRING - issue #882).
* Allow parallel mode with NETCDF4_CLASSIC files (issue #890).
* add get_dims Variable method (issue #824)
* make sure format keyword not ignored when mode is 'ws' (issue #827)
* fix numpy FutureWarning (non-tuple sequence for
multidimensional indexing is deprecated), issue #833.
* add 'master_file' kwarg to MFDataset.__init__ (issue #835).
* always use nc_get_vars for strided access over OpenDAP (issue #838).
* raise FutureWarning when trying to set multi-dimensional array attribute
while still silently flattening the array (issue #841). Will change
to ValueError in next release (1.4.3).
* fix parallel writes when both nc4 parallel and pnetcdf parallel options
enabled in the netcdf-c library (issue #820).
* fix for writing masked scalar character variable (issue #850).
* disable workaround for slow nc_get_vars for __netcdflibversion__ >= 4.6.2,
since a fix was added to speed up nc_get_vars in the C library. Issue 680.
* new Dataset and Variable methods (set_always_mask) to optionally
re-enable old behaviour (return masked arrays only if selected
slice contains missing values) (issue #809).
-------------------------------------------------------------------
Thu May 17 10:38:13 UTC 2018 - tchvatal@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-netCDF4
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-netCDF4
Version: 1.4.0
Version: 1.4.3.2
Release: 0
Summary: Python interface to netCDF 3 and 4
License: HPND AND MIT