python3Packages.tables: 3.6.1 -> 3.7.0

This commit is contained in:
Robert T. McGibbon 2022-01-01 17:38:44 -05:00
parent c32c39d6f3
commit 5f1c91abf9

View File

@ -10,19 +10,19 @@
, lzo , lzo
, numpy , numpy
, numexpr , numexpr
, setuptools , packaging
# Test inputs # Test inputs
, pytestCheckHook , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "tables"; pname = "tables";
version = "3.6.1"; version = "3.7.0";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0j8vnxh2m5n0cyk9z3ndcj5n1zj5rdxgc1gb78bqlyn2lyw75aa9"; sha256 = "sha256-6SqIetbyqYPlZKaZAt5KdkXDAGn8AavTU+xdolXF4f4=";
}; };
nativeBuildInputs = [ cython ]; nativeBuildInputs = [ cython ];
@ -36,17 +36,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy numpy
numexpr numexpr
setuptools # uses pkg_resources at runtime packaging # uses packaging.version at runtime
]; ];
patches = [
(fetchpatch {
# Needed for numpy >= 1.20.0
name = "tables-pr-862-use-lowercase-numpy-dtypes.patch";
url = "https://github.com/PyTables/PyTables/commit/93a3272b8fe754095637628b4d312400e24ae654.patch";
sha256 = "00czgxnm1dxp9763va9xw1nc7dd7kxh9hjcg9klim52519hkbhi4";
})
];
# When doing `make distclean`, ignore docs # When doing `make distclean`, ignore docs
postPatch = '' postPatch = ''
substituteInPlace Makefile --replace "src doc" "src" substituteInPlace Makefile --replace "src doc" "src"