mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
python3Packages.hikari: fix build
Remove the `asyncio_default_fixture_loop_scope` from pyproject.toml
(cherry picked from commit f278e7f42c
)
This commit is contained in:
parent
6b47f2c016
commit
f654eacd99
@ -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