python313Packages.drf-extra-fields: disable failing test on Python 3.13

This commit is contained in:
Fabian Affolter
2025-01-07 12:02:40 +01:00
parent 7d6edd1442
commit 5ea9b7404e
@@ -1,15 +1,16 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
django,
djangorestframework,
fetchFromGitHub,
filetype,
pillow,
psycopg2,
pytestCheckHook,
pytest-django,
pytestCheckHook,
pythonAtLeast,
setuptools,
}:
buildPythonPackage rec {
@@ -20,7 +21,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "hipo";
repo = "drf-extra-fields";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-Ym4vnZ/t0ZdSxU53BC0ducJl1YiTygRSWql/35PNbOU";
};
@@ -45,6 +46,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "drf_extra_fields" ];
disabledTests = lib.optionals (pythonAtLeast "3.13") [
# https://github.com/Hipo/drf-extra-fields/issues/210
"test_read_source_with_context"
];
meta = {
description = "Extra Fields for Django Rest Framework";
homepage = "https://github.com/Hipo/drf-extra-fields";