python313Packages.drf-extra-fields: add pytz dependency (#385255)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user