Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open-webui: 0.3.7 -> 0.3.8 #326337

Merged
merged 3 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions pkgs/by-name/op/open-webui/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -63,6 +63,7 @@ python3.pkgs.buildPythonApplication rec {

dependencies = with python3.pkgs; [
aiohttp
alembic
anthropic
apscheduler
argon2-cffi
Expand Down
12 changes: 10 additions & 2 deletions pkgs/development/python-modules/ctranslate2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

# tests
pytestCheckHook,
tensorflow-bin,
torch,
transformers,
wurlitzer,
Expand Down Expand Up @@ -48,7 +47,6 @@ buildPythonPackage rec {

nativeCheckInputs = [
pytestCheckHook
tensorflow-bin
torch
transformers
wurlitzer
Expand All @@ -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 = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
pythonOlder,
aiohttp,
dataclasses-json,
duckdb-engine,
langchain,
langchain-core,
langsmith,
Expand Down Expand Up @@ -65,7 +64,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "langchain_community" ];

nativeCheckInputs = [
duckdb-engine
lark
pandas
pytest-asyncio
Expand All @@ -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 = {
Expand Down