diff --git a/nixos/tests/cinnamon.nix b/nixos/tests/cinnamon.nix index e52146568ae5..34777f8ee7b2 100644 --- a/nixos/tests/cinnamon.nix +++ b/nixos/tests/cinnamon.nix @@ -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; diff --git a/nixos/tests/pantheon-wayland.nix b/nixos/tests/pantheon-wayland.nix index 2a99c6cb1272..74bc57eae78c 100644 --- a/nixos/tests/pantheon-wayland.nix +++ b/nixos/tests/pantheon-wayland.nix @@ -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" diff --git a/nixos/tests/pantheon.nix b/nixos/tests/pantheon.nix index 7a19d6432fb0..b29c6ca6ce8b 100644 --- a/nixos/tests/pantheon.nix +++ b/nixos/tests/pantheon.nix @@ -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" diff --git a/pkgs/by-name/mi/mint-l-icons/package.nix b/pkgs/by-name/mi/mint-l-icons/package.nix index 63692168c262..953fd87fdb6d 100644 --- a/pkgs/by-name/mi/mint-l-icons/package.nix +++ b/pkgs/by-name/mi/mint-l-icons/package.nix @@ -30,6 +30,8 @@ stdenvNoCC.mkDerivation rec { gtk3 ]; + # FIXME: https://hydra.nixos.org/build/287344480/nixlog/5 + dontCheckForBrokenSymlinks = true; dontDropIconThemeCache = true; installPhase = '' diff --git a/pkgs/by-name/ne/neovim-node-client/package.nix b/pkgs/by-name/ne/neovim-node-client/package.nix index d4113c263141..5fe372124b4c 100644 --- a/pkgs/by-name/ne/neovim-node-client/package.nix +++ b/pkgs/by-name/ne/neovim-node-client/package.nix @@ -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"; diff --git a/pkgs/by-name/qo/qogir-icon-theme/package.nix b/pkgs/by-name/qo/qogir-icon-theme/package.nix index 97ce4e435935..179b138e60fa 100644 --- a/pkgs/by-name/qo/qogir-icon-theme/package.nix +++ b/pkgs/by-name/qo/qogir-icon-theme/package.nix @@ -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. diff --git a/pkgs/by-name/ru/rustdesk-flutter/package.nix b/pkgs/by-name/ru/rustdesk-flutter/package.nix index 2b0e553d1609..6004513d2f4f 100644 --- a/pkgs/by-name/ru/rustdesk-flutter/package.nix +++ b/pkgs/by-name/ru/rustdesk-flutter/package.nix @@ -24,6 +24,7 @@ rustc, rustfmt, xdotool, + pipewire, }: let @@ -146,6 +147,7 @@ flutter319.buildFlutterApplication rec { libva libvdpau libvpx + pipewire libxkbcommon libyuv pam diff --git a/pkgs/desktops/pantheon/desktop/wingpanel/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel/default.nix index 392611e6dd45..7a11c2536b49 100644 --- a/pkgs/desktops/pantheon/desktop/wingpanel/default.nix +++ b/pkgs/desktops/pantheon/desktop/wingpanel/default.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/langgraph-checkpoint-duckdb/default.nix b/pkgs/development/python-modules/langgraph-checkpoint-duckdb/default.nix index a140a10b74ab..a0ca4c328599 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint-duckdb/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint-duckdb/default.nix @@ -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 = { diff --git a/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix b/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix index 97c9959c536e..149eaf5a2547 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix @@ -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 = { diff --git a/pkgs/development/python-modules/langgraph-checkpoint/default.nix b/pkgs/development/python-modules/langgraph-checkpoint/default.nix index 02d936c7f17a..d8b74d1e8ec5 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint/default.nix @@ -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 = { diff --git a/pkgs/development/python-modules/langgraph-cli/default.nix b/pkgs/development/python-modules/langgraph-cli/default.nix index 9fbad3120837..ea74852e47d4 100644 --- a/pkgs/development/python-modules/langgraph-cli/default.nix +++ b/pkgs/development/python-modules/langgraph-cli/default.nix @@ -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"; diff --git a/pkgs/development/python-modules/langgraph-sdk/default.nix b/pkgs/development/python-modules/langgraph-sdk/default.nix index beadf9aedf71..71a8e443c88d 100644 --- a/pkgs/development/python-modules/langgraph-sdk/default.nix +++ b/pkgs/development/python-modules/langgraph-sdk/default.nix @@ -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 = { diff --git a/pkgs/development/python-modules/langgraph/default.nix b/pkgs/development/python-modules/langgraph/default.nix index 251da435a1ee..c2a4326df3d2 100644 --- a/pkgs/development/python-modules/langgraph/default.nix +++ b/pkgs/development/python-modules/langgraph/default.nix @@ -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"; diff --git a/pkgs/development/python-modules/mkdocs-redirects/default.nix b/pkgs/development/python-modules/mkdocs-redirects/default.nix index 6ffc9d975689..6a2d973b1af6 100644 --- a/pkgs/development/python-modules/mkdocs-redirects/default.nix +++ b/pkgs/development/python-modules/mkdocs-redirects/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/python-lsp-server/default.nix b/pkgs/development/python-modules/python-lsp-server/default.nix index e3b81e6f8103..b670eb569231 100644 --- a/pkgs/development/python-modules/python-lsp-server/default.nix +++ b/pkgs/development/python-modules/python-lsp-server/default.nix @@ -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 = [