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
, numpy
, numexpr
, setuptools
, packaging
# Test inputs
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "tables";
version = "3.6.1";
version = "3.7.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0j8vnxh2m5n0cyk9z3ndcj5n1zj5rdxgc1gb78bqlyn2lyw75aa9";
sha256 = "sha256-6SqIetbyqYPlZKaZAt5KdkXDAGn8AavTU+xdolXF4f4=";
};
nativeBuildInputs = [ cython ];
@ -36,17 +36,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
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
postPatch = ''
substituteInPlace Makefile --replace "src doc" "src"