Unverified Commit ebd6ee36 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.huggingface-hub: add versionCheckHook (#445655)

parents 2458def7 bf50dab4
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -36,6 +36,9 @@
  graphviz,
  # tensorflow-testing
  keras,

  # tests
  versionCheckHook,
}:

buildPythonPackage rec {
@@ -100,8 +103,10 @@ buildPythonPackage rec {
    ];
  };

  # Tests require network access.
  doCheck = false;
  nativeCheckInputs = [
    versionCheckHook
  ];
  versionCheckProgramArg = "version";

  pythonImportsCheck = [ "huggingface_hub" ];