diff --git a/pkgs/development/python-modules/drf-extra-fields/default.nix b/pkgs/development/python-modules/drf-extra-fields/default.nix index a96ef316fbaa..431ad99e0d19 100644 --- a/pkgs/development/python-modules/drf-extra-fields/default.nix +++ b/pkgs/development/python-modules/drf-extra-fields/default.nix @@ -11,6 +11,7 @@ pytestCheckHook, pythonAtLeast, setuptools, + pytz, }: buildPythonPackage rec { @@ -42,6 +43,7 @@ buildPythonPackage rec { psycopg2 pytestCheckHook pytest-django + pytz ] ++ optional-dependencies.Base64ImageField; pythonImportsCheck = [ "drf_extra_fields" ]; @@ -49,6 +51,12 @@ buildPythonPackage rec { disabledTests = lib.optionals (pythonAtLeast "3.13") [ # https://github.com/Hipo/drf-extra-fields/issues/210 "test_read_source_with_context" + + # pytz causes the following tests to fail + "test_create" + "test_create_with_base64_prefix" + "test_create_with_webp_image" + "test_remove_with_empty_string" ]; meta = {