From 5bf672a270d167a8f05f647be20e2a509f07df20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 20 Sep 2025 07:19:35 -0700 Subject: [PATCH] poetryPlugins.poetry-plugin-up: skip tests broken by Poetry 2.2.0 --- pkgs/by-name/po/poetry/plugins/poetry-plugin-up.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/po/poetry/plugins/poetry-plugin-up.nix b/pkgs/by-name/po/poetry/plugins/poetry-plugin-up.nix index c6c5acf0fec5..58bf3b5b575f 100644 --- a/pkgs/by-name/po/poetry/plugins/poetry-plugin-up.nix +++ b/pkgs/by-name/po/poetry/plugins/poetry-plugin-up.nix @@ -6,6 +6,7 @@ pytestCheckHook, pytest-mock, poetry, + writableTmpDirAsHomeHook, }: buildPythonPackage rec { @@ -31,11 +32,14 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-mock + writableTmpDirAsHomeHook ]; - preCheck = '' - export HOME=$TMPDIR - ''; + disabledTests = [ + # https://github.com/MousaZeidBaker/poetry-plugin-up/issues/78 + "test_command_preserve_wildcard_project" + "test_command_with_latest_project" + ]; meta = { description = "Poetry plugin to simplify package updates";