From 134faf38acbce019c764d44d900d4b917a6a6808 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Thu, 25 Dec 2025 02:02:00 +0100 Subject: [PATCH 1/2] python313Packages.hikari: 2.4.1 -> 2.5.0 Co-Authored-by: SkohTV --- pkgs/development/python-modules/hikari/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/hikari/default.nix b/pkgs/development/python-modules/hikari/default.nix index 588a03a97892..be1c47043ecd 100644 --- a/pkgs/development/python-modules/hikari/default.nix +++ b/pkgs/development/python-modules/hikari/default.nix @@ -17,14 +17,14 @@ }: buildPythonPackage (finalAttrs: { pname = "hikari"; - version = "2.4.1"; + version = "2.5.0"; pyproject = true; src = fetchFromGitHub { owner = "hikari-py"; repo = "hikari"; tag = finalAttrs.version; - hash = "sha256-lkJICN5uXFIKUZwxZI82FSYZLWFa7Cb6tDs6wV9DsY0="; + hash = "sha256-dOYaGWxhLefWIhaaIPM80cpYtcB/ywibFBzWDr3hKsw="; # The git commit is part of the `hikari.__git_sha1__` original output; # leave that output the same in nixpkgs. Use the `.git` directory # to retrieve the commit SHA, and remove the directory afterwards, @@ -66,9 +66,6 @@ buildPythonPackage (finalAttrs: { postPatch = '' substituteInPlace hikari/_about.py \ --replace-fail "__git_sha1__: typing.Final[str] = \"HEAD\"" "__git_sha1__: typing.Final[str] = \"$(cat $src/COMMIT)\"" - # XXX: Remove once pytest-asyncio is updated to 0.24+ - substituteInPlace pyproject.toml \ - --replace-fail "asyncio_default_fixture_loop_scope = \"func\"" "" ''; meta = { From 4bbe4042c639ac3126f16c519fdc9897b7aac6d0 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Wed, 14 Jan 2026 01:27:40 +0100 Subject: [PATCH 2/2] python313Packages.hikari-crescent: disable bot tests --- pkgs/development/python-modules/hikari-crescent/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/hikari-crescent/default.nix b/pkgs/development/python-modules/hikari-crescent/default.nix index 2f876df33965..595b68c9427c 100644 --- a/pkgs/development/python-modules/hikari-crescent/default.nix +++ b/pkgs/development/python-modules/hikari-crescent/default.nix @@ -43,6 +43,8 @@ buildPythonPackage (finalAttrs: { disabledTests = [ "test_handle_resp" ]; + disabledTestPaths = [ "tests/test_bot/test_bot.py" ]; + meta = { description = "Command handler for Hikari that keeps your project neat and tidy"; license = lib.licenses.mit;