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; mpi = hdf5.mpi;
mpiSupport = hdf5.mpiSupport; mpiSupport = hdf5.mpiSupport;
in buildPythonPackage rec { in buildPythonPackage rec {
version = "3.7.0"; version = "3.8.0";
pname = "h5py"; pname = "h5py";
format = "pyproject"; format = "pyproject";
@ -27,7 +27,7 @@ in buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-P883iEODxdpkhGq1EBkHIAJ9ygdo3vNN2Ny2Wdvly/M="; hash = "sha256-b+rYLwxAAM841T+cAweA2Bv6AiAhiu4TuQt3Ack32V8=";
}; };
# avoid strict pinning of numpy # avoid strict pinning of numpy
@ -68,6 +68,7 @@ in buildPythonPackage rec {
pythonImportsCheck = [ "h5py" ]; pythonImportsCheck = [ "h5py" ];
meta = with lib; { 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"; description = "Pythonic interface to the HDF5 binary data format";
homepage = "http://www.h5py.org/"; homepage = "http://www.h5py.org/";
license = licenses.bsd3; license = licenses.bsd3;

View File

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