Loading pkgs/development/python-modules/cohere/default.nix +14 −5 Original line number Diff line number Diff line Loading @@ -9,25 +9,29 @@ # dependencies fastavro, httpx, httpx-sse, pydantic, pydantic-core, requests, tokenizers, types-requests, typing-extensions, # optional-dependencies aiohttp, httpx-aiohttp, oci, }: buildPythonPackage rec { pname = "cohere"; version = "5.21.1"; version = "6.1.0"; pyproject = true; src = fetchFromGitHub { owner = "cohere-ai"; repo = "cohere-python"; tag = version; hash = "sha256-RT4Sxk9fKunuyEXl2pvKgS6U82fPKjMPmSl9jwm+GBk="; hash = "sha256-be6vhTGXnf1/iaD13VYjey/to+HX28VfmYlUPE2eFT4="; }; build-system = [ poetry-core ]; Loading @@ -35,7 +39,6 @@ buildPythonPackage rec { dependencies = [ fastavro httpx httpx-sse pydantic pydantic-core requests Loading @@ -44,7 +47,13 @@ buildPythonPackage rec { typing-extensions ]; pythonRelaxDeps = [ "httpx-sse" ]; optional-dependencies = { aiohttp = [ aiohttp httpx-aiohttp ]; oci = [ oci ]; }; # tests require CO_API_KEY doCheck = false; Loading Loading
pkgs/development/python-modules/cohere/default.nix +14 −5 Original line number Diff line number Diff line Loading @@ -9,25 +9,29 @@ # dependencies fastavro, httpx, httpx-sse, pydantic, pydantic-core, requests, tokenizers, types-requests, typing-extensions, # optional-dependencies aiohttp, httpx-aiohttp, oci, }: buildPythonPackage rec { pname = "cohere"; version = "5.21.1"; version = "6.1.0"; pyproject = true; src = fetchFromGitHub { owner = "cohere-ai"; repo = "cohere-python"; tag = version; hash = "sha256-RT4Sxk9fKunuyEXl2pvKgS6U82fPKjMPmSl9jwm+GBk="; hash = "sha256-be6vhTGXnf1/iaD13VYjey/to+HX28VfmYlUPE2eFT4="; }; build-system = [ poetry-core ]; Loading @@ -35,7 +39,6 @@ buildPythonPackage rec { dependencies = [ fastavro httpx httpx-sse pydantic pydantic-core requests Loading @@ -44,7 +47,13 @@ buildPythonPackage rec { typing-extensions ]; pythonRelaxDeps = [ "httpx-sse" ]; optional-dependencies = { aiohttp = [ aiohttp httpx-aiohttp ]; oci = [ oci ]; }; # tests require CO_API_KEY doCheck = false; Loading