Merge #217601: python310Packages.h5py: 3.7.0 -> 3.8.0

...into staging-next
This commit is contained in:
Vladimír Čunát 2023-02-22 09:05:53 +01:00
commit 0eb467c342
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 8 additions and 2 deletions

View File

@ -19,7 +19,7 @@ let
mpi = hdf5.mpi;
mpiSupport = hdf5.mpiSupport;
in buildPythonPackage rec {
version = "3.7.0";
version = "3.8.0";
pname = "h5py";
format = "pyproject";
@ -27,7 +27,7 @@ in buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "sha256-P883iEODxdpkhGq1EBkHIAJ9ygdo3vNN2Ny2Wdvly/M=";
hash = "sha256-b+rYLwxAAM841T+cAweA2Bv6AiAhiu4TuQt3Ack32V8=";
};
# avoid strict pinning of numpy
@ -68,6 +68,7 @@ in buildPythonPackage rec {
pythonImportsCheck = [ "h5py" ];
meta = with lib; {
changelog = "https://github.com/h5py/h5py/blob/${version}/docs/whatsnew/${lib.versions.majorMinor version}.rst";
description = "Pythonic interface to the HDF5 binary data format";
homepage = "http://www.h5py.org/";
license = licenses.bsd3;

View File

@ -16,6 +16,7 @@
, jdk
, usev110Api ? false
, threadsafe ? false
, python3
}:
# cpp and mpi options are mutually exclusive
@ -90,6 +91,10 @@ stdenv.mkDerivation rec {
moveToOutput 'bin/h5pcc' "''${!outputDev}"
'';
passthru.tests = {
inherit (python3.pkgs) h5py;
};
meta = {
description = "Data model, library, and file format for storing and managing data";
longDescription = ''