python3Packages.hikari: fix build

Remove the `asyncio_default_fixture_loop_scope` from pyproject.toml
This commit is contained in:
Noa Aarts 2024-11-14 12:22:47 +01:00
parent d4246a0c90
commit f278e7f42c
No known key found for this signature in database
GPG Key ID: 1850932741EFF672

View File

@ -63,6 +63,9 @@ buildPythonPackage rec {
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 = {