From be63334c99a59c059ec3165b7f99d8c9efc0678e Mon Sep 17 00:00:00 2001 From: Reno Dakota Date: Sat, 21 Dec 2024 16:58:02 -0800 Subject: [PATCH] python313Packages.pyzmq: disable flaky tests 3 tests are marked as flaky and fail periodically on hydra, disable them. Alternatively, adding pytest-rerunfailures package will enable the tests to be rerun (they are marked as `rerun=3`) but just disable them all together. before: collected 364 items / 81 deselected / 1 skipped / 283 selected after: collected 364 items / 84 deselected / 1 skipped / 280 selected https://github.com/pytest-dev/pytest-rerunfailures https://cache.nixos.org/log/ja0w2jni5qzlgrzp2sjl67rcjzrxxz0r-python3.13-pyzmq-26.2.0.drv --- pkgs/development/python-modules/pyzmq/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pyzmq/default.nix b/pkgs/development/python-modules/pyzmq/default.nix index e47570dd9b06d..6f7ecf6b10b6b 100644 --- a/pkgs/development/python-modules/pyzmq/default.nix +++ b/pkgs/development/python-modules/pyzmq/default.nix @@ -63,6 +63,11 @@ buildPythonPackage rec { rm -r zmq ''; + pytestFlagsArray = [ + "-m" + "'not flaky'" + ]; + disabledTests = [ # Tests hang "test_socket"