mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
python3Packages.scanpy: fix build
This commit is contained in:
parent
bc45941758
commit
04f9a5f5c4
1 changed files with 13 additions and 0 deletions
|
|
@ -45,6 +45,7 @@
|
|||
scikit-misc,
|
||||
|
||||
# tests
|
||||
dependency-groups,
|
||||
jinja2,
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
|
|
@ -156,6 +157,7 @@ buildPythonPackage (finalAttrs: {
|
|||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
dependency-groups
|
||||
jinja2
|
||||
pytest-cov-stub
|
||||
pytest-mock
|
||||
|
|
@ -172,6 +174,12 @@ buildPythonPackage (finalAttrs: {
|
|||
export NUMBA_CACHE_DIR=$(mktemp -d);
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [
|
||||
# UserWarning: 'where' used without 'out', expect unitialized memory in output.
|
||||
# If this is intentional, use out=None.
|
||||
"-Wignore::UserWarning"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# try to download data:
|
||||
"tests/test_aggregated.py"
|
||||
|
|
@ -221,6 +229,11 @@ buildPythonPackage (finalAttrs: {
|
|||
# 'write/test.h5ad', errno = 2, error message = 'No such file or directory', flags = 13, o_flags
|
||||
# = 242)
|
||||
"test_write"
|
||||
|
||||
# Snapshot tests failing because of warnings in output
|
||||
"scanpy.datasets._datasets.krumsiek11"
|
||||
"scanpy.datasets._datasets.toggleswitch"
|
||||
"scanpy.preprocessing._simple.filter_cells"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "scanpy" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue