h5netcdf 1.4.0__tar.gz → 1.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of h5netcdf might be problematic. Click here for more details.

Files changed (33) hide show
  1. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/CHANGELOG.rst +6 -0
  2. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/PKG-INFO +1 -1
  3. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf/_version.py +2 -2
  4. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf/tests/test_h5netcdf.py +8 -2
  5. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf.egg-info/PKG-INFO +1 -1
  6. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/.pre-commit-config.yaml +0 -0
  7. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/AUTHORS.txt +0 -0
  8. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/LICENSE +0 -0
  9. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/README.rst +0 -0
  10. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/doc/Makefile +0 -0
  11. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/doc/api.rst +0 -0
  12. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/doc/changelog.rst +0 -0
  13. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/doc/conf.py +0 -0
  14. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/doc/devguide.rst +0 -0
  15. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/doc/feature.rst +0 -0
  16. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/doc/index.rst +0 -0
  17. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/doc/legacyapi.rst +0 -0
  18. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf/__init__.py +0 -0
  19. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf/attrs.py +0 -0
  20. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf/core.py +0 -0
  21. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf/dimensions.py +0 -0
  22. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf/legacyapi.py +0 -0
  23. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf/tests/conftest.py +0 -0
  24. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf/tests/pytest.ini +0 -0
  25. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf/utils.py +0 -0
  26. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf.egg-info/SOURCES.txt +0 -0
  27. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf.egg-info/dependency_links.txt +0 -0
  28. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf.egg-info/requires.txt +0 -0
  29. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/h5netcdf.egg-info/top_level.txt +0 -0
  30. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/licenses/H5PY_LICENSE.txt +0 -0
  31. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/licenses/PSF_LICENSE.txt +0 -0
  32. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/pyproject.toml +0 -0
  33. {h5netcdf-1.4.0 → h5netcdf-1.4.1}/setup.cfg +0 -0
@@ -1,6 +1,12 @@
1
1
  Change Log
2
2
  ----------
3
3
 
4
+ Version 1.4.1 (November 13th, 2024):
5
+
6
+ - Add CI run for hdf5 1.10.6, fix complex tests, fix enum/user type tests ({pull}`244`).
7
+ By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_
8
+
9
+
4
10
  Version 1.4.0 (October 7th, 2024):
5
11
 
6
12
  - Add UserType class, add EnumType ({pull}`229`).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: h5netcdf
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: netCDF4 via h5py
5
5
  Author-email: Stephan Hoyer <shoyer@gmail.com>, Kai Mühlbauer <kmuehlbauer@wradlib.org>
6
6
  Maintainer-email: h5netcdf developers <devteam@h5netcdf.org>
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.4.0'
16
- __version_tuple__ = version_tuple = (1, 4, 0)
15
+ __version__ = version = '1.4.1'
16
+ __version_tuple__ = version_tuple = (1, 4, 1)
@@ -2242,7 +2242,9 @@ def test_user_type_errors_new_api(tmp_local_or_remote_netcdf):
2242
2242
  if tmp_local_or_remote_netcdf.startswith(remote_h5):
2243
2243
  testcontext = pytest.raises(RuntimeError, match="Conflict")
2244
2244
  else:
2245
- testcontext = pytest.raises(KeyError, match="name already exists")
2245
+ testcontext = pytest.raises(
2246
+ (KeyError, TypeError), match="name already exists"
2247
+ )
2246
2248
  with testcontext:
2247
2249
  ds.create_enumtype(np.uint8, "enum_t", enum_dict2)
2248
2250
 
@@ -2290,7 +2292,9 @@ def test_user_type_errors_legacyapi(tmp_local_or_remote_netcdf):
2290
2292
  if tmp_local_or_remote_netcdf.startswith(remote_h5):
2291
2293
  testcontext = pytest.raises(RuntimeError, match="Conflict")
2292
2294
  else:
2293
- testcontext = pytest.raises(KeyError, match="name already exists")
2295
+ testcontext = pytest.raises(
2296
+ (KeyError, TypeError), match="name already exists"
2297
+ )
2294
2298
  with testcontext:
2295
2299
  ds.createEnumType(np.uint8, "enum_t", enum_dict1)
2296
2300
 
@@ -2704,6 +2708,8 @@ def test_complex_type_creation_errors(tmp_local_netcdf):
2704
2708
  with pytest.raises(TypeError, match="data type 'c4' not understood"):
2705
2709
  ds.createVariable("data", "c4", ("x",))
2706
2710
 
2711
+ if "complex256" not in np.sctypeDict:
2712
+ pytest.skip("numpy 'complex256' dtype not available")
2707
2713
  with legacyapi.Dataset(tmp_local_netcdf, "w") as ds:
2708
2714
  ds.createDimension("x", size=len(complex_array))
2709
2715
  with pytest.raises(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: h5netcdf
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: netCDF4 via h5py
5
5
  Author-email: Stephan Hoyer <shoyer@gmail.com>, Kai Mühlbauer <kmuehlbauer@wradlib.org>
6
6
  Maintainer-email: h5netcdf developers <devteam@h5netcdf.org>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes