From c284e4be6cf8f6b15d41ed3d1609b91f9ed8b315 Mon Sep 17 00:00:00 2001 From: Alessio Caiazza Date: Thu, 2 Apr 2026 12:54:39 +0200 Subject: [PATCH] python3Packages.plux: disable test incompatible with pytest 9 test_resolve_distribution_information fails with pytest >= 9.0.2 because pytest now uses PEP 639 License-Expression metadata instead of the legacy License field. Upstream pins pytest==8.4.1 in CI and has not encountered this yet. Upstream fix: https://github.com/localstack/plux/pull/46 --- pkgs/development/python-modules/plux/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/plux/default.nix b/pkgs/development/python-modules/plux/default.nix index 3a469665f582..329e81f4d2bb 100644 --- a/pkgs/development/python-modules/plux/default.nix +++ b/pkgs/development/python-modules/plux/default.nix @@ -34,6 +34,13 @@ buildPythonPackage rec { export HOME=$TMPDIR ''; + disabledTests = [ + # Fails with pytest >= 9 which uses PEP 639 License-Expression metadata + # instead of legacy License field. Upstream pins pytest==8.4.1 in CI. + # https://github.com/localstack/plux/pull/46 + "test_resolve_distribution_information" + ]; + pythonImportsCheck = [ "plugin.core" ]; meta = {