Subject: CVS commit: pkgsrc/math/py-netCDF4
From: Adam Ciarcinski
Date: 2024-08-05 20:58:55
Message id: 20240805185855.8A4ADFC74@cvs.NetBSD.org

Log Message:
py-netCDF4: updated to 1.7.1.post1

ersion 1.7.1 (tag v1.7.1rel)

* include nc_complex source code from v0.2.0 tag (instead of using submodule).
* add aarch64 wheels.

version 1.7.0 (tag v1.7.0rel)

* add support for complex numbers via `auto_complex` keyword to `Dataset`
* fix for deprecated Cython `DEF` and `IF` statements using compatibility header
  with shims for unavailable functionality
* use `szip` as the library name on Windows
* add support for MS-MPI `MPI_Message` detection
* fix for issue 1306 - surprising result when indexing vlen str with non-contiguous
  indices.
* Fix bug in set_collective introduced in PR 1277 (collective mode was
  always set).

version 1.6.5 (tag v1.6.5rel)

* fix for issue 1271 (mask ignored if bool MA assinged to uint8 var)
* include information on specific object when reporting errors from netcdf-c
* python 3.12 wheels added, support for python 3.7 removed.

version 1.6.4 (tag v1.6.4rel)

* set path to SSL certificates internally, so https DAP URLs work with wheels
  Added certifi as a dependency.
* Added `isopen` method to `MFDataset` object to check if underlying files are open.

version 1.6.3 (tag v1.6.3rel)

* Use ``nc_put_vars`` for strided writes for netcdf-c >= 4.6.2
* _Unsigned="false" should be same as not having _Unsigned set
  _Unsigned now must be set to "true" or "True" for variable \ 
to be interpreted
  as unsigned, instead of just having _Unsigned be set (to anything).
* pypi wheels built with netcdf-c 4.9.1.

version 1.6.2 (tag v1.6.2rel)

* Added ``netCDF4.__has_set_alignment__`` property to help identify if the
  underlying netcdf4 supports setting the HDF5 alignment.
* Slicing multi-dimensional variables with an all False boolean index array
  now returns an empty numpy array (instead of raising an exception).
  Behavior now consistent with numpy slicing.
* fix problem with compiling using netcdf-c < 4.9.0
* pypi wheels build with netcdf-c 4.9.0.

version 1.6.1 (tag v1.6.1rel)

* add Dataset methods has_<name>_filter (where \ 
<name>=zstd,blosc,bzip2,szip)
  to check for availability of extra compression filters.
* release GIL for all C-lib calls
* Add support for nc_set_alignment and nc_get_alignment to control alignment
  of data within HDF5 files.

version 1.6.0 (tag v1.6.0rel)

* add support for new quantization functionality in netcdf-c 4.9.0 via \ 
"signficant_digits"
  and "quantize_mode" kwargs in Dataset.createVariable. Default \ 
quantization_mode is "BitGroom",
  but alternate methods "BitRound" and GranularBitRound" also \ 
supported.
* opening a Dataset in append mode (mode = 'a' or 'r+') creates a Dataset
  if one does not already exist (similar to python open builtin).
  Added a mode='x' option (as in python open) which is the same as mode='w' with
  clobber=False.
* allow createVariable to accept either Dimension instances or Dimension
  names in "dimensions" tuple kwarg
* remove all vestiges of python 2 in _netCDF4.pyx and set cython language_level
  directive to 3 in setup.py.
* add 'compression' kwarg to createVariable to enable new compression
  functionality in netcdf-c 4.9.0.  'None','zlib','szip','zstd','bzip2'
  'blosc_lz','blosc_lz4','blosc_lz4hc','blosc_zlib' and 'blosc_zstd'
  are currently supported. 'blosc_shuffle',
  'szip_mask' and 'szip_pixels_per_block' kwargs also added.
  compression='zlib' is equivalent to (the now deprecated) zlib=True.
  If the environment variable NETCDF_PLUGIN_DIR is set to point to the
  directory with the compression plugin lib__nc* files, then the compression \ 
plugins will
  be installed within the package and be automatically available (the binary
  wheels have this).  Otherwise, the environment variable HDF5_PLUGIN_PATH
  needs to be set at runtime  to point to plugins in order to use the new compression
  options.
* MFDataset did not aggregate 'name' variable attribute
* issue warning instead of raising an exception if missing_value or
  _FillValue can't be cast to the variable type when creating a
  masked array
* Define MPI_Session for compatibility with current mpi4py

Files:
RevisionActionfile
1.29modifypkgsrc/math/py-netCDF4/Makefile
1.2modifypkgsrc/math/py-netCDF4/PLIST
1.7modifypkgsrc/math/py-netCDF4/distinfo
1.1addpkgsrc/math/py-netCDF4/ALTERNATIVES