python313Packages.hikari: 2.4.1 -> 2.5.0 (#473974)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user