From 5866d82470a85ca623fb5a37fd61558a246dfd18 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 3 Apr 2025 22:25:27 +0200 Subject: [PATCH] python312Packages.mizani: 0.13.1 -> 0.13.2 Diff: https://github.com/has2k1/mizani/compare/refs/tags/v0.13.1...v0.13.2 Changelog: https://github.com/has2k1/mizani/releases/tag/v0.13.2 --- .../development/python-modules/mizani/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/mizani/default.nix b/pkgs/development/python-modules/mizani/default.nix index 1bee4a9f29fb..5b450374ddb2 100644 --- a/pkgs/development/python-modules/mizani/default.nix +++ b/pkgs/development/python-modules/mizani/default.nix @@ -13,19 +13,20 @@ scipy, # tests + pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { pname = "mizani"; - version = "0.13.1"; + version = "0.13.2"; pyproject = true; src = fetchFromGitHub { owner = "has2k1"; repo = "mizani"; tag = "v${version}"; - hash = "sha256-3eEOkrF3Sn5ZETnxgc5spwHlbJAiDhkJkd5LwMl0QEY="; + hash = "sha256-ccw6GvwB23D0nHjbyAthm4pX7u2MpJM1N3EL2eRnZHI="; }; build-system = [ setuptools-scm ]; @@ -37,12 +38,10 @@ buildPythonPackage rec { scipy ]; - nativeCheckInputs = [ pytestCheckHook ]; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=mizani --cov-report=xml" "" - ''; + nativeCheckInputs = [ + pytest-cov-stub + pytestCheckHook + ]; pythonImportsCheck = [ "mizani" ];