python3Packages.hyperion-py: fix pytest-asyncio compatibility

This commit is contained in:
Martin Weinelt 2022-01-17 03:29:41 +01:00
parent ebcfdb4d62
commit e02cea2d69

View file

@ -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" ""