lol

python3Packages.aiogithubapi: relax backoff constraint, use legacy asyncio-mode for tests

authored by

Martin Weinelt and committed by
Sandro Jäckel
b79055e5 54aea047

+11 -6
+11 -6
pkgs/development/python-modules/aiogithubapi/default.nix
··· 25 25 hash = "sha256-5gKANZtDhIoyfyLdS15JDWTxHBFkaHDUlbVVhRs7MSE="; 26 26 }; 27 27 28 + postPatch = '' 29 + # Upstream is releasing with the help of a CI to PyPI, GitHub releases 30 + # are not in their focus 31 + substituteInPlace pyproject.toml \ 32 + --replace 'version = "0"' 'version = "${version}"' \ 33 + --replace 'backoff = "^1.10.0"' 'backoff = "*"' 34 + ''; 35 + 28 36 nativeBuildInputs = [ 29 37 poetry-core 30 38 ]; ··· 41 49 pytestCheckHook 42 50 ]; 43 51 44 - postPatch = '' 45 - # Upstream is releasing with the help of a CI to PyPI, GitHub releases 46 - # are not in their focus 47 - substituteInPlace pyproject.toml \ 48 - --replace 'version = "0"' 'version = "${version}"' 49 - ''; 52 + pytestFlagsArray = [ 53 + "--asyncio-mode=legacy" 54 + ]; 50 55 51 56 pythonImportsCheck = [ 52 57 "aiogithubapi"