From da3311fba0913fccb70c412a9f8bd701b9c8a7fb Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 15 Oct 2024 19:51:46 +0200 Subject: [PATCH] python312Packages.flask-restx: disable broken tests --- pkgs/development/python-modules/flask-restx/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/flask-restx/default.nix b/pkgs/development/python-modules/flask-restx/default.nix index 85f0218fd91b..a817e75cb91b 100644 --- a/pkgs/development/python-modules/flask-restx/default.nix +++ b/pkgs/development/python-modules/flask-restx/default.nix @@ -73,6 +73,12 @@ buildPythonPackage rec { # broken in werkzeug 2.3 upgrade "test_media_types_method" "test_media_types_q" + # erroneous use of pytz + # https://github.com/python-restx/flask-restx/issues/620 + # two fixes are proposed: one fixing just tests, and one removing pytz altogether. + # we disable the tests in the meanwhile and let upstream decide + "test_rfc822_value" + "test_iso8601_value" ]; pythonImportsCheck = [ "flask_restx" ];