Commit 3b186c2b authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.mistral-common: use sentencepiece as an optional dependency

Not listed as a primary dependency in pyproject.toml.
parent 2ce4146b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@
  pydantic,
  pydantic-extra-types,
  requests,
  sentencepiece,
  tiktoken,
  typing-extensions,

@@ -26,6 +25,7 @@
  pycountry,
  pydantic-settings,
  pytestCheckHook,
  sentencepiece,
  soundfile,
  soxr,
  uvicorn,
@@ -53,7 +53,6 @@ buildPythonPackage rec {
    pydantic
    pydantic-extra-types
    requests
    sentencepiece
    tiktoken
    typing-extensions
  ];
@@ -97,7 +96,8 @@ buildPythonPackage rec {
    soundfile
    soxr
    uvicorn
  ];
  ]
  ++ lib.flatten (lib.attrValues optional-dependencies);

  disabledTests = [
    # Require internet