Merge pull request #326337 from NixOS/open-webui/bump/0-3-8

open-webui: 0.3.7 -> 0.3.8
This commit is contained in:
Pol Dellaiera 2024-07-12 14:36:57 +02:00 committed by GitHub
commit e23552c8fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 7 deletions

View File

@ -7,19 +7,19 @@
}:
let
pname = "open-webui";
version = "0.3.7";
version = "0.3.8";
src = fetchFromGitHub {
owner = "open-webui";
repo = "open-webui";
rev = "v${version}";
hash = "sha256-tsJILQ+CuVy8LYSixYNJAwSIZtRegrXXvGzvyf7Knd0=";
hash = "sha256-kUdy8zSt8RvGlMKa0gxp0tnZbo7/igDeFV2zsel5LXA=";
};
frontend = buildNpmPackage {
inherit pname version src;
npmDepsHash = "sha256-fB5gvC2sLfH2dJJi+CYyF7PRg+GhZDavhKgeRStaR7I=";
npmDepsHash = "sha256-sjQJn94GmSdOY1B2bmFTsxjLrc7LSBgDpWNrXIHunsg=";
# Disabling `pyodide:fetch` as it downloads packages during `buildPhase`
# Until this is solved, running python packages from the browser will not work.
@ -63,6 +63,7 @@ python3.pkgs.buildPythonApplication rec {
dependencies = with python3.pkgs; [
aiohttp
alembic
anthropic
apscheduler
argon2-cffi

View File

@ -13,7 +13,6 @@
# tests
pytestCheckHook,
tensorflow-bin,
torch,
transformers,
wurlitzer,
@ -48,7 +47,6 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
tensorflow-bin
torch
transformers
wurlitzer
@ -64,6 +62,16 @@ buildPythonPackage rec {
disabledTests = [
# AssertionError: assert 'int8' in {'float32'}
"test_get_supported_compute_types"
# Tensorflow (tf) not available in Python 3.12 yet
# To remove when https://github.com/NixOS/nixpkgs/pull/325224 is fixed
"test_opennmt_tf_model_conversion"
"test_opennmt_tf_model_quantization"
"test_opennmt_tf_model_conversion_invalid_vocab"
"test_opennmt_tf_model_conversion_invalid_dir"
"test_opennmt_tf_shared_embeddings_conversion"
"test_opennmt_tf_postnorm_transformer_conversion"
"test_opennmt_tf_gpt_conversion"
"test_opennmt_tf_multi_features"
];
disabledTestPaths = [

View File

@ -6,7 +6,6 @@
pythonOlder,
aiohttp,
dataclasses-json,
duckdb-engine,
langchain,
langchain-core,
langsmith,
@ -65,7 +64,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "langchain_community" ];
nativeCheckInputs = [
duckdb-engine
lark
pandas
pytest-asyncio
@ -88,6 +86,10 @@ buildPythonPackage rec {
disabledTests = [
# Test require network access
"test_ovhcloud_embed_documents"
# duckdb-engine needs python-wasmer which is not yet available in Python 3.12
# See https://github.com/NixOS/nixpkgs/pull/326337 and https://github.com/wasmerio/wasmer-python/issues/778
"test_table_info"
"test_sql_database_run"
];
meta = {