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; 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 = {