Commit 45e59249 authored by Doron Behar's avatar Doron Behar
Browse files

python311Packages.pint: fix pint-convert executable

By propagating numpy and uncertainties inputs.
parent 3c695504
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -47,15 +47,18 @@ buildPythonPackage rec {
    flexcache
    flexparser
    typing-extensions
    # Both uncertainties and numpy are not necessarily needed for every
    # function of pint, but needed for the pint-convert executable which we
    # necessarily distribute with this package as it is.
    uncertainties
    numpy
  ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-subtests
    pytest-benchmark
    numpy
    matplotlib
    uncertainties
  ];

  pytestFlagsArray = [ "--benchmark-disable" ];