From a22923c82bb23475df4bf1af1e4cc7010b8601ca Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 21 Sep 2024 22:10:34 +0200 Subject: [PATCH] python312Packages.aiortm: 0.8.29 -> 0.9.0 Diff: https://github.com/MartinHjelmare/aiortm/compare/refs/tags/v0.8.29...v0.9.0 Changelog: https://github.com/MartinHjelmare/aiortm/blob/v0.9.0/CHANGELOG.md --- .../python-modules/aiortm/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/aiortm/default.nix b/pkgs/development/python-modules/aiortm/default.nix index 404bd12e15b7..7056d56f8599 100644 --- a/pkgs/development/python-modules/aiortm/default.nix +++ b/pkgs/development/python-modules/aiortm/default.nix @@ -9,29 +9,29 @@ mashumaro, poetry-core, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, + rich, + typer, yarl, }: buildPythonPackage rec { pname = "aiortm"; - version = "0.8.29"; + version = "0.9.0"; pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.12"; src = fetchFromGitHub { owner = "MartinHjelmare"; repo = "aiortm"; rev = "refs/tags/v${version}"; - hash = "sha256-mhtU+M4kjKdvmNFr0+HoZjDj1Hf2qYk3nPOWtdPRP/0="; + hash = "sha256-fGUD0Ne7S2MyR4ilKy6GGzuWE+nO/DWMnBex4YZbXc8="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail " --cov=aiortm --cov-report=term-missing:skip-covered" "" - ''; + pythonRelaxDeps = [ "typer" ]; build-system = [ poetry-core ]; @@ -40,12 +40,15 @@ buildPythonPackage rec { ciso8601 click mashumaro + rich + typer yarl ]; nativeCheckInputs = [ aioresponses pytest-asyncio + pytest-cov-stub pytestCheckHook ];