mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
python3Packages.hyperion-py: fix pytest-asyncio compatibility
This commit is contained in:
parent
ebcfdb4d62
commit
e02cea2d69
1 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,11 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
# pytest-asyncio 0.17.0 compat
|
||||||
|
"--asyncio-mode=auto"
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace " --timeout=9 --cov=hyperion" ""
|
--replace " --timeout=9 --cov=hyperion" ""
|
||||||
|
|
Loading…
Reference in a new issue