Unverified Commit d72427d9 authored by TomaSajt's avatar TomaSajt
Browse files

python312Packages.scikit-bio: add missing deps

parent a9089570
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -2,9 +2,11 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  setuptools,
  cython,
  oldest-supported-numpy,

  requests,
  decorator,
  natsort,
@@ -12,8 +14,10 @@
  pandas,
  scipy,
  h5py,
  hdmedians,
  biom-format,
  statsmodels,
  patsy,

  python,
  pytestCheckHook,
}:
@@ -44,8 +48,9 @@ buildPythonPackage rec {
    pandas
    scipy
    h5py
    hdmedians
    biom-format
    statsmodels
    patsy
  ];

  nativeCheckInputs = [ pytestCheckHook ];
@@ -53,6 +58,11 @@ buildPythonPackage rec {
  # only the $out dir contains the built cython extensions, so we run the tests inside there
  pytestFlagsArray = [ "${placeholder "out"}/${python.sitePackages}/skbio" ];

  disabledTestPaths = [
    # don't know why, but this segfaults
    "${placeholder "out"}/${python.sitePackages}/skbio/metadata/tests/test_intersection.py"
  ];

  pythonImportsCheck = [ "skbio" ];

  meta = {