From 7b607fe8650e336dec8cfa627edef17e04ed1e80 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 12 Jul 2026 00:38:00 +0200 Subject: [PATCH] python3Packages.paho-mqtt: disable failing tests Upstream let key material used in tests exprie. --- pkgs/development/python-modules/paho-mqtt/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/paho-mqtt/default.nix b/pkgs/development/python-modules/paho-mqtt/default.nix index b0ea0015bb42..93e3d3fc5b5e 100644 --- a/pkgs/development/python-modules/paho-mqtt/default.nix +++ b/pkgs/development/python-modules/paho-mqtt/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildPythonPackage, fetchFromGitHub, hatchling, @@ -63,6 +62,15 @@ buildPythonPackage rec { "test_01_zero_length_clientid" ]; + disabledTestPaths = [ + # Expired key material + # https://github.com/eclipse-paho/paho.mqtt.python/pull/854 + "tests/lib/test_08_ssl_connect_alpn.py" + "tests/lib/test_08_ssl_connect_cert_auth.py" + "tests/lib/test_08_ssl_connect_cert_auth_pw.py" + "tests/lib/test_08_ssl_connect_no_auth.py" + ]; + meta = { changelog = "https://github.com/eclipse/paho.mqtt.python/blob/${src.rev}/ChangeLog.txt"; description = "MQTT version 5.0/3.1.1 client class";