python3Packages.hikari: fix build

Remove the `asyncio_default_fixture_loop_scope` from pyproject.toml

(cherry picked from commit f278e7f42c)
This commit is contained in:
Noa Aarts 2024-11-14 12:22:47 +01:00 committed by github-actions[bot]
parent 6b47f2c016
commit f654eacd99

View File

@ -63,6 +63,9 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace hikari/_about.py \ substituteInPlace hikari/_about.py \
--replace-fail "__git_sha1__: typing.Final[str] = \"HEAD\"" "__git_sha1__: typing.Final[str] = \"$(cat $src/COMMIT)\"" --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 = { meta = {