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 hash = "sha256-5gKANZtDhIoyfyLdS15JDWTxHBFkaHDUlbVVhRs7MSE="; 26 }; 27 28 nativeBuildInputs = [ 29 poetry-core 30 ]; ··· 41 pytestCheckHook 42 ]; 43 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 - ''; 50 51 pythonImportsCheck = [ 52 "aiogithubapi"
··· 25 hash = "sha256-5gKANZtDhIoyfyLdS15JDWTxHBFkaHDUlbVVhRs7MSE="; 26 }; 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 + 36 nativeBuildInputs = [ 37 poetry-core 38 ]; ··· 49 pytestCheckHook 50 ]; 51 52 + pytestFlagsArray = [ 53 + "--asyncio-mode=legacy" 54 + ]; 55 56 pythonImportsCheck = [ 57 "aiogithubapi"