From 9929a854654970358542a3c210d55468758678e8 Mon Sep 17 00:00:00 2001 From: natsukium Date: Thu, 20 Jul 2023 02:01:16 +0900 Subject: [PATCH] python310Packages.cohere: 4.9.0 -> 4.16.0 Changelog: https://github.com/cohere-ai/cohere-python/blob/main/CHANGELOG.md#4160 --- pkgs/development/python-modules/cohere/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cohere/default.nix b/pkgs/development/python-modules/cohere/default.nix index 14c82fe059d7..dddb7e892e0c 100644 --- a/pkgs/development/python-modules/cohere/default.nix +++ b/pkgs/development/python-modules/cohere/default.nix @@ -3,21 +3,22 @@ , fetchPypi , poetry-core , pythonOlder -, requests , aiohttp , backoff +, importlib-metadata +, requests }: buildPythonPackage rec { pname = "cohere"; - version = "4.9.0"; + version = "4.16.0"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-4d89x+Pg5HZSUyxryH6OuMMGiMfeHXQX5Wy0XS++obY="; + hash = "sha256-i6kbjugulAcmmInFb+rH4WB50dM7SDO1HNW/JgD4OTQ="; }; nativeBuildInputs = [ @@ -25,9 +26,10 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - requests aiohttp backoff + importlib-metadata + requests ]; # tests require CO_API_KEY