mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python3Packages.hikari: fix build
Remove the `asyncio_default_fixture_loop_scope` from pyproject.toml
This commit is contained in:
parent
d4246a0c90
commit
f278e7f42c
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user