Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot]
2025-02-08 06:04:11 +00:00
committed by GitHub
16 changed files with 66 additions and 57 deletions
+5
View File
@@ -18,6 +18,11 @@ import ./make-test-python.nix (
# For the sessionPath subtest.
services.xserver.desktopManager.cinnamon.sessionPath = [ pkgs.gpaste ];
# For OCR test.
services.xserver.displayManager.lightdm.greeters.slick.extraConfig = ''
enable-hidpi = on
'';
};
enableOCR = true;
+1 -2
View File
@@ -69,8 +69,7 @@ import ./make-test-python.nix (
# https://github.com/elementary/gala/pull/2140
for i in ["gala", "io.elementary.wingpanel", "io.elementary.dock", "gsd-media-keys", "gsd-xsettings", "io.elementary.desktop.agent-polkit"]:
machine.wait_until_succeeds(f"pgrep -f {i}")
for i in ["io.elementary.files.xdg-desktop-portal.service"]:
machine.wait_for_unit(i, "${user.name}")
machine.wait_until_succeeds("pgrep -xf ${pkgs.pantheon.elementary-files}/libexec/io.elementary.files.xdg-desktop-portal")
with subtest("Check if various environment variables are set"):
cmd = "xargs --null --max-args=1 echo < /proc/$(pgrep -xf ${pkgs.pantheon.gala}/bin/gala)/environ"
+1 -2
View File
@@ -60,8 +60,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
machine.wait_until_succeeds(f"pgrep -f {i}")
for i in ["gala", "io.elementary.wingpanel", "io.elementary.dock"]:
machine.wait_for_window(i)
for i in ["io.elementary.files.xdg-desktop-portal.service"]:
machine.wait_for_unit(i, "${user.name}")
machine.wait_until_succeeds("pgrep -xf ${pkgs.pantheon.elementary-files}/libexec/io.elementary.files.xdg-desktop-portal")
with subtest("Check if various environment variables are set"):
cmd = "xargs --null --max-args=1 echo < /proc/$(pgrep -xf ${pkgs.pantheon.gala}/bin/gala)/environ"
+2
View File
@@ -30,6 +30,8 @@ stdenvNoCC.mkDerivation rec {
gtk3
];
# FIXME: https://hydra.nixos.org/build/287344480/nixlog/5
dontCheckForBrokenSymlinks = true;
dontDropIconThemeCache = true;
installPhase = ''
@@ -27,6 +27,11 @@ buildNpmPackage rec {
runHook postBuild
'';
postInstall = ''
mkdir $out/bin
ln -s $out/lib/node_modules/neovim/node_modules/.bin/neovim-node-host $out/bin/neovim-node-host
'';
meta = {
mainProgram = "neovim-node-host";
description = "Nvim msgpack API client and remote plugin provider";
@@ -39,6 +39,8 @@ lib.checkListOfEnum "${pname}: color variants" [ "standard" "dark" "all" ] color
propagatedBuildInputs = [ hicolor-icon-theme ];
# FIXME: https://hydra.nixos.org/build/286997490/nixlog/5
dontCheckForBrokenSymlinks = true;
dontDropIconThemeCache = true;
# These fixup steps are slow and unnecessary.
@@ -24,6 +24,7 @@
rustc,
rustfmt,
xdotool,
pipewire,
}:
let
@@ -146,6 +147,7 @@ flutter319.buildFlutterApplication rec {
libva
libvdpau
libvpx
pipewire
libxkbcommon
libyuv
pam
@@ -22,13 +22,13 @@
stdenv.mkDerivation rec {
pname = "wingpanel";
version = "8.0.1";
version = "8.0.2";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "sha256-c77ebUTs4D5M3//AfvtWI643n1a1sPb5Z70P+4tX3y8=";
sha256 = "sha256-WUl6O3Mtw8Blsxe4Gm7NwRQXFurTNyOv+ZO1Fm1SkVg=";
};
patches = [
@@ -9,21 +9,18 @@
pytestCheckHook,
langgraph-sdk,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "langgraph-checkpoint-duckdb";
version = "2.0.1";
version = "2.0.2";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
tag = "checkpointduckdb==${version}";
hash = "sha256-wSrlFBfTcTgyE46uwv9GCyxRT1xVafgWyP2g87KUTAU=";
hash = "sha256-ppgViNRkkCTOGPfdB04DOnEzFgHN1KGDLLVjuwhRgNE=";
};
sourceRoot = "${src.name}/libs/checkpoint-duckdb";
@@ -49,10 +46,9 @@ buildPythonPackage rec {
disabledTests = [ "test_basic_store_ops" ]; # depends on networking
passthru = {
updateScript = langgraph-sdk.updateScript;
inherit (langgraph-sdk) updateScript;
# multiple tags confuse the bulk updater
skipBulkUpdate = true;
skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898
};
meta = {
@@ -8,21 +8,18 @@
pytestCheckHook,
langgraph-sdk,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "langgraph-checkpoint-sqlite";
version = "2.0.1";
version = "2.0.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
tag = "checkpointsqlite==${version}";
hash = "sha256-dh+cjcOp6rGFntz82VNfVyetcrQBdBFdXk5xFb0aR5c=";
hash = "sha256-u3tKh63bOu+Ko2YynEfxQ/nGElEfwwTQ6Z1RhqF51Qs=";
};
sourceRoot = "${src.name}/libs/checkpoint-sqlite";
@@ -45,10 +42,8 @@ buildPythonPackage rec {
];
passthru = {
updateScript = langgraph-sdk.updateScript;
# multiple tags confuse the bulk updater
skipBulkUpdate = true;
inherit (langgraph-sdk) updateScript;
skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898
};
meta = {
@@ -10,21 +10,18 @@
pytest-asyncio,
pytest-mock,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "langgraph-checkpoint";
version = "2.0.8";
version = "2.0.10";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
tag = "checkpoint==${version}";
hash = "sha256-obDK6wn+oo8zDQsidogwKTIgT5wuUH/l4y+12cttkd0=";
hash = "sha256-Bs8XWSyI/6a756iWXT40vvNIe/XZ/vnMsZbXjTW3770=";
};
sourceRoot = "${src.name}/libs/checkpoint";
@@ -53,9 +50,7 @@ buildPythonPackage rec {
passthru = {
updateScript = langgraph-sdk.updateScript;
# multiple tags confuse the bulk updater
skipBulkUpdate = true;
skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898
};
meta = {
@@ -3,16 +3,22 @@
buildPythonPackage,
click,
fetchFromGitHub,
nix-update-script,
poetry-core,
# for update script
langgraph-sdk,
# testing
pytest-asyncio,
pytestCheckHook,
docker-compose,
pythonOlder,
}:
buildPythonPackage rec {
pname = "langgraph-cli";
version = "0.1.52";
version = "0.1.71";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -21,7 +27,7 @@ buildPythonPackage rec {
owner = "langchain-ai";
repo = "langgraph";
tag = "cli==${version}";
hash = "sha256-zTBeDJB1Xu/rWsvEC/L4BRzxyh04lPYV7HQNHoJcskk=";
hash = "sha256-bTW+je4wuoR0YX5T1wdAee4w/T2jMTQybLLpCxouJxA=";
};
sourceRoot = "${src.name}/libs/cli";
@@ -33,6 +39,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
docker-compose
];
pytestFlagsArray = [ "tests/unit_tests" ];
@@ -48,18 +55,15 @@ buildPythonPackage rec {
"test_config_to_compose_end_to_end"
"test_config_to_compose_simple_config"
"test_config_to_compose_watch"
# Tests exit value, needs to happen in a passthru test
"test_dockerfile_command_with_docker_compose"
];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"cli==(.*)"
];
passthru = {
inherit (langgraph-sdk) updateScript;
skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898
};
# multiple tags confuse the bulk updater
passthru.skipBulkUpdate = true;
meta = {
description = "Official CLI for LangGraph API";
homepage = "https://github.com/langchain-ai/langgraph/libs/cli";
@@ -10,6 +10,7 @@
httpx,
httpx-sse,
orjson,
typing-extensions,
# passthru
writeScript,
@@ -17,14 +18,14 @@
buildPythonPackage rec {
pname = "langgraph-sdk";
version = "0.1.43";
version = "0.1.51";
pyproject = true;
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
tag = "sdk==${version}";
hash = "sha256-mG04V36Aa5Df5pUgr+xWej8i2XYx+O/N61sSzxwN9Go=";
hash = "sha256-BkwH9O59gG/OtnFWYEFe2WD0sIidptlkPACX9i7kCb8=";
};
sourceRoot = "${src.name}/libs/sdk-py";
@@ -35,6 +36,7 @@ buildPythonPackage rec {
httpx
httpx-sse
orjson
typing-extensions
];
disabledTests = [ "test_aevaluate_results" ]; # Compares execution time to magic number
@@ -54,9 +56,7 @@ buildPythonPackage rec {
nix-update --commit --version-regex 'checkpointpostgres==(.*)' python3Packages.langgraph-checkpoint-postgres
nix-update --commit --version-regex 'checkpointsqlite==(.*)' python3Packages.langgraph-checkpoint-sqlite
'';
# multiple tags confuse the bulk updater
skipBulkUpdate = true;
skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898
};
meta = {
@@ -35,14 +35,14 @@
buildPythonPackage rec {
pname = "langgraph";
version = "0.2.56";
version = "0.2.70";
pyproject = true;
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
tag = version;
hash = "sha256-X/IMNEmggu9bSJFUaTohbFYxGZBguf+eFb3ObmQGplk=";
tag = "${version}";
hash = "sha256-Vz2ZoikEZuMvt3j9tvBIcXCwWSrCV8MI7x9PIHodl8Y=";
};
postgresqlTestSetupPost = ''
@@ -112,12 +112,14 @@ buildPythonPackage rec {
# psycopg.errors.InsufficientPrivilege: permission denied to create database
"tests/test_pregel_async.py"
"tests/test_pregel.py"
"tests/test_large_cases.py"
"tests/test_large_cases_async.py"
];
passthru.updateScript = langgraph-sdk.updateScript;
# multiple tags confuse the bulk updater
passthru.skipBulkUpdate = true;
passthru = {
inherit (langgraph-sdk) updateScript;
skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898
};
meta = {
description = "Build resilient language agents as graphs";
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
mkdocs,
pytestCheckHook,
}:
@@ -9,7 +10,7 @@
buildPythonPackage rec {
pname = "mkdocs-redirects";
version = "1.2.2";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "mkdocs";
@@ -18,6 +19,8 @@ buildPythonPackage rec {
hash = "sha256-YsMA00yajeGSqSB6CdKxGqyClC9Cgc3ImRBTucHEHhs=";
};
build-system = [ hatchling ];
propagatedBuildInputs = [ mkdocs ];
nativeCheckInputs = [ pytestCheckHook ];
@@ -41,14 +41,14 @@
buildPythonPackage rec {
pname = "python-lsp-server";
version = "1.12.1";
version = "1.12.2";
pyproject = true;
src = fetchFromGitHub {
owner = "python-lsp";
repo = "python-lsp-server";
tag = "v${version}";
hash = "sha256-1jWui48QmnTw18Dvl24lgxsUkm0/mxyjIZP6+ScjGY4=";
hash = "sha256-tdhYLAXs1Yf3DqCzf/pLOlJvr/zYRkSlAF6hsavSu+A=";
};
pythonRelaxDeps = [