pythonPackages.tiledb: 0.5.6 -> 0.6.6
include a few improvements to tests
This commit is contained in:
parent
33b860eca1
commit
438d5b6b61
@ -3,28 +3,31 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cython
|
, cython
|
||||||
|
, pybind11
|
||||||
, tiledb
|
, tiledb
|
||||||
, numpy
|
, numpy
|
||||||
, wheel
|
, wheel
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
, psutil
|
, psutil
|
||||||
|
, pandas
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tiledb";
|
pname = "tiledb";
|
||||||
version = "0.5.6";
|
version = "0.6.6";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "TileDB-Inc";
|
owner = "TileDB-Inc";
|
||||||
repo = "TileDB-Py";
|
repo = "TileDB-Py";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0cgm4dhyqay26xmrzlv21ha8qh55m4q3yr338lrv81ngz77zxsvw";
|
sha256 = "0b2kn1xyf7d994kz29dpqiaf8yzvx0axw4yqi854c54pl22ddgzl";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cython
|
cython
|
||||||
|
pybind11
|
||||||
setuptools_scm
|
setuptools_scm
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -39,6 +42,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
psutil
|
psutil
|
||||||
|
# optional
|
||||||
|
pandas
|
||||||
];
|
];
|
||||||
|
|
||||||
TILEDB_PATH = tiledb;
|
TILEDB_PATH = tiledb;
|
||||||
@ -57,16 +62,18 @@ buildPythonPackage rec {
|
|||||||
"test_docs" "dont_test_docs"
|
"test_docs" "dont_test_docs"
|
||||||
# these tests don't always fail
|
# these tests don't always fail
|
||||||
substituteInPlace tiledb/tests/test_libtiledb.py --replace \
|
substituteInPlace tiledb/tests/test_libtiledb.py --replace \
|
||||||
"test_varlen_write_int_subarray" "dont_test_varlen_write_int_subarray"
|
"test_varlen_write_int_subarray" "dont_test_varlen_write_int_subarray" \
|
||||||
|
--replace "test_memory_cleanup" "dont_test_memory_cleanup"
|
||||||
substituteInPlace tiledb/tests/test_metadata.py --replace \
|
substituteInPlace tiledb/tests/test_metadata.py --replace \
|
||||||
"test_metadata_consecutive" "dont_test_metadata_consecutive"
|
"test_metadata_consecutive" "dont_test_metadata_consecutive"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pushd "$out"
|
pushd "$TMPDIR"
|
||||||
${python.interpreter} -m unittest tiledb.tests.all.suite_test
|
${python.interpreter} -m unittest tiledb.tests.all.suite_test
|
||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
pythonImportsCheck = [ "tiledb" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python interface to the TileDB storage manager";
|
description = "Python interface to the TileDB storage manager";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user