diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-17 03:29:41 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-23 01:09:34 +0100 |
commit | e02cea2d69d548710d6412845b68520e7d053803 (patch) | |
tree | 187c95d6a85bbf5e2f2a9dc874901e0821ea2f02 | |
parent | ebcfdb4d62cfcc42fed091e1b3847530c9169c1d (diff) |
python3Packages.hyperion-py: fix pytest-asyncio compatibility
-rw-r--r-- | pkgs/development/python-modules/hyperion-py/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/hyperion-py/default.nix b/pkgs/development/python-modules/hyperion-py/default.nix index c282be29c6559..719efb92d1da7 100644 --- a/pkgs/development/python-modules/hyperion-py/default.nix +++ b/pkgs/development/python-modules/hyperion-py/default.nix @@ -36,6 +36,11 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + # pytest-asyncio 0.17.0 compat + "--asyncio-mode=auto" + ]; + postPatch = '' substituteInPlace pyproject.toml \ --replace " --timeout=9 --cov=hyperion" "" |