Unverified Commit ed9531f0 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

python3Packages.pylette: fix build (#501415)

parents a1c49f0e 8ccd3cad
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -2,9 +2,10 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  hatchling,
  scikit-learn,
  typer,
  typing-extensions,
  requests,
  pillow,
  numpy,
@@ -25,14 +26,16 @@ buildPythonPackage rec {
  };

  build-system = [
    poetry-core
    hatchling
  ];

  dependencies = [
    opencv-python
    scikit-learn
    pillow
    requests
    typer
    typing-extensions
    numpy
  ];

@@ -49,10 +52,11 @@ buildPythonPackage rec {
  disabledTests = [
    # hangs forever
    "test_color_extraction_deterministic_kmeans"
    # AssertionError: assert 'Usage: ' in ''
    "test_cli_no_input_is_error"
  ];

  nativeCheckInputs = [
    opencv-python
    pytestCheckHook
    requests-mock
    typer