about summary refs log tree commit diff
diff options
context:
space:
mode:
authornatsukium <tomoya.otabi@gmail.com>2023-10-22 16:12:19 +0900
committerYt <happysalada@tuta.io>2023-10-22 16:59:28 +0000
commitb3d95c4c3bfa51892a98fffbe9c4b60f8edfb5f0 (patch)
tree49bed46cd92169ec3080a540e6174eb505567c71
parent437e11619ff4ebcd31599188c7b25288d3431773 (diff)
python311Packages.bentoml: 1.1.6 -> 1.1.7
Diff: https://github.com/bentoml/BentoML/compare/refs/tags/v1.1.6...v1.1.7

Changelog: https://github.com/bentoml/BentoML/releases/tag/v1.1.7
-rw-r--r--pkgs/development/python-modules/bentoml/default.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/bentoml/default.nix b/pkgs/development/python-modules/bentoml/default.nix
index d6827f5b50bad..a5bf6608fe061 100644
--- a/pkgs/development/python-modules/bentoml/default.nix
+++ b/pkgs/development/python-modules/bentoml/default.nix
@@ -12,6 +12,7 @@
 , cloudpickle
 , deepmerge
 , fs
+, httpx
 , inflection
 , jinja2
 , numpy
@@ -68,7 +69,7 @@
 }:
 
 let
-  version = "1.1.6";
+  version = "1.1.7";
   aws = [ fs-s3fs ];
   grpc = [
     grpcio
@@ -104,9 +105,15 @@ buildPythonPackage {
     owner = "bentoml";
     repo = "BentoML";
     rev = "refs/tags/v${version}";
-    hash = "sha256-SDahF4oAewWzCofErgYJDId/TBv74gLCxYT/jKEAgpU=";
+    hash = "sha256-xuUfdVa0d4TzJqPBNJvUikIPsjSgn+VdhdZidHMnAxA=";
   };
 
+  # https://github.com/bentoml/BentoML/pull/4227 should fix this test
+  postPatch = ''
+    substituteInPlace tests/unit/_internal/utils/test_analytics.py \
+      --replace "requests" "httpx"
+  '';
+
   pythonRelaxDeps = [
     "opentelemetry-semantic-conventions"
   ];
@@ -126,6 +133,7 @@ buildPythonPackage {
     cloudpickle
     deepmerge
     fs
+    httpx
     inflection
     jinja2
     numpy