From 4efcb504789f3d6ae40d2477a59a0db093fddd7c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 5 Jul 2023 18:05:02 +0200 Subject: [PATCH] python311Packages.slack-sdk: disalbe failing tests In the Python 3.11.4 release the address parser was changed to fix a security issue. This regressed this test. > E ValueError: 'Filtered' does not appear to be an IPv4 or IPv6 address This was fixed upstream in newer releases already. --- pkgs/development/python-modules/sentry-sdk/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix index a43716b9edc5..37396671df3c 100644 --- a/pkgs/development/python-modules/sentry-sdk/default.nix +++ b/pkgs/development/python-modules/sentry-sdk/default.nix @@ -28,6 +28,7 @@ , pytest-localserver , pytest-watch , pytestCheckHook +, pythonAtLeast , pythonOlder , rq , sanic @@ -131,6 +132,9 @@ buildPythonPackage rec { disabledTests = [ # Issue with the asseration "test_auto_enabling_integrations_catches_import_error" + ] ++ lib.optionals (pythonAtLeast "3.11") [ + # Backwards incompatible changes in ipadddress parsing + "test_parse_url" ]; disabledTestPaths = [