open-webui: 0.5.20 -> 0.6.0 (#395086)
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
}:
|
||||
let
|
||||
pname = "open-webui";
|
||||
version = "0.5.20";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-webui";
|
||||
repo = "open-webui";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-GVUEKAuuLrVTVreEeGcIAsDSOltiQAHmWGM67C5RYt4=";
|
||||
hash = "sha256-YCob6Tgnpdbt9QqnwakorXGlyaxy4wo2QCp4EMGHTrU=";
|
||||
};
|
||||
|
||||
frontend = buildNpmPackage rec {
|
||||
@@ -30,7 +30,7 @@ let
|
||||
url = "https://github.com/pyodide/pyodide/releases/download/${pyodideVersion}/pyodide-${pyodideVersion}.tar.bz2";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-A84u/IMZX8JlyKXltvQFHZYFXSWPXsx2mr2WwT0Lraw=";
|
||||
npmDepsHash = "sha256-lWVkZDlPDCmiNMj+7K47wSFwTKRJkS762uGtcBfx59s=";
|
||||
|
||||
# Disabling `pyodide:fetch` as it downloads packages during `buildPhase`
|
||||
# Until this is solved, running python packages from the browser will not work.
|
||||
@@ -133,11 +133,23 @@ python312.pkgs.buildPythonApplication rec {
|
||||
opencv-python-headless
|
||||
openpyxl
|
||||
opensearch-py
|
||||
opentelemetry-api
|
||||
opentelemetry-sdk
|
||||
opentelemetry-exporter-otlp
|
||||
opentelemetry-instrumentation
|
||||
opentelemetry-instrumentation-fastapi
|
||||
opentelemetry-instrumentation-sqlalchemy
|
||||
opentelemetry-instrumentation-redis
|
||||
opentelemetry-instrumentation-requests
|
||||
opentelemetry-instrumentation-logging
|
||||
opentelemetry-instrumentation-httpx
|
||||
opentelemetry-instrumentation-aiohttp-client
|
||||
pandas
|
||||
passlib
|
||||
peewee
|
||||
peewee-migrate
|
||||
pgvector
|
||||
pillow
|
||||
playwright
|
||||
psutil
|
||||
psycopg2-binary
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
hatchling,
|
||||
httpx,
|
||||
opentelemetry-api,
|
||||
opentelemetry-instrumentation,
|
||||
opentelemetry-util-http,
|
||||
opentelemetry-test-utils,
|
||||
pytestCheckHook,
|
||||
respx,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
inherit (opentelemetry-instrumentation) version src;
|
||||
pname = "opentelemetry-instrumentation-httpx";
|
||||
pyproject = true;
|
||||
|
||||
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-httpx";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
httpx
|
||||
opentelemetry-api
|
||||
opentelemetry-instrumentation
|
||||
opentelemetry-util-http
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
respx
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.instrumentation.httpx" ];
|
||||
|
||||
meta = opentelemetry-instrumentation.meta // {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-httpx";
|
||||
description = "Allows tracing HTTP requests made by the httpx library";
|
||||
};
|
||||
}
|
||||
@@ -10291,6 +10291,10 @@ self: super: with self; {
|
||||
callPackage ../development/python-modules/opentelemetry-instrumentation-grpc
|
||||
{ };
|
||||
|
||||
opentelemetry-instrumentation-httpx =
|
||||
callPackage ../development/python-modules/opentelemetry-instrumentation-httpx
|
||||
{ };
|
||||
|
||||
opentelemetry-instrumentation-logging =
|
||||
callPackage ../development/python-modules/opentelemetry-instrumentation-logging
|
||||
{ };
|
||||
|
||||
Reference in New Issue
Block a user