python3Packages.scikit-bio: disable tests on darwin

This commit is contained in:
Gaetan Lepage
2025-10-24 14:29:59 +00:00
parent 99271ca28e
commit 0d8c133ee4
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
@@ -65,6 +66,10 @@ buildPythonPackage rec {
# only the $out dir contains the built cython extensions, so we run the tests inside there
enabledTestPaths = [ "${placeholder "out"}/${python.sitePackages}/skbio" ];
# The trick above makes test collection fail on darwin:
# PermissionError: [Errno 1] Operation not permitted: '/nix/.Trashes'
doCheck = !stdenv.hostPlatform.isDarwin;
pythonImportsCheck = [ "skbio" ];
meta = {