From d9bb1b4ab9f001964d28b136c6316d5f6d2de9ab Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 3 Apr 2024 20:57:48 +0300 Subject: [PATCH 1/2] python311Packages.astropy: Disable another flakey test Fixes #300820 --- pkgs/development/python-modules/astropy/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix index be3519491eae..5cf47304e873 100644 --- a/pkgs/development/python-modules/astropy/default.nix +++ b/pkgs/development/python-modules/astropy/default.nix @@ -82,6 +82,7 @@ buildPythonPackage rec { # More flaky tests, see: https://github.com/NixOS/nixpkgs/issues/294392 "test_sidereal_lon_independent" "test_timedelta_full_precision_arithmetic" + "test_datetime_to_timedelta" ]; meta = { From 6e3e787e0fa137a7dc609b55e70edfe9106b2951 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 4 Apr 2024 20:40:16 +0300 Subject: [PATCH 2/2] python311Packages.astropy: Disable on Darwin a flaky test --- pkgs/development/python-modules/astropy/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix index 5cf47304e873..10076ca6d9ae 100644 --- a/pkgs/development/python-modules/astropy/default.nix +++ b/pkgs/development/python-modules/astropy/default.nix @@ -12,6 +12,7 @@ , wheel # testing , pytestCheckHook +, stdenv , pytest-xdist , pytest-astropy @@ -83,6 +84,8 @@ buildPythonPackage rec { "test_sidereal_lon_independent" "test_timedelta_full_precision_arithmetic" "test_datetime_to_timedelta" + ] ++ lib.optionals stdenv.isDarwin [ + "test_sidereal_lat_independent" ]; meta = {