python313Packages.drf-spectacular: 0.27.2 -> 0.28.0
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "drf-spectacular";
|
||||
version = "0.27.2";
|
||||
version = "0.28.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -41,7 +41,7 @@ buildPythonPackage rec {
|
||||
owner = "tfranzel";
|
||||
repo = "drf-spectacular";
|
||||
tag = version;
|
||||
hash = "sha256-lOgFDkAY+PqSeyLSvWFT7KPVicSJZxd6yl17GAGHbRs=";
|
||||
hash = "sha256-+RXcCpsNAoGxK/taEf7+7QUDrHydvy5fIdBuEXi63DQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -52,6 +52,11 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/conftest.py \
|
||||
--replace-fail "'allauth.account'," "'allauth.account', 'allauth.socialaccount',"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
@@ -81,14 +86,22 @@ buildPythonPackage rec {
|
||||
psycopg2
|
||||
pytest-django
|
||||
pytestCheckHook
|
||||
];
|
||||
] ++ django-allauth.optional-dependencies.socialaccount;
|
||||
|
||||
disabledTests = [
|
||||
# Test requires django with gdal
|
||||
"test_rest_framework_gis"
|
||||
# Outdated test artifact
|
||||
"test_pydantic_decoration"
|
||||
"test_callbacks"
|
||||
# django-rest-knox is not packaged
|
||||
"test_knox_auth_token"
|
||||
# slightly different error messages which get asserted
|
||||
"test_model_choice_display_method_on_readonly"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Outdated test artifact
|
||||
"tests/contrib/test_pydantic.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "drf_spectacular" ];
|
||||
|
||||
Reference in New Issue
Block a user