python3Packages.openapi-core: disable failing tests

This commit is contained in:
Fabian Affolter 2022-03-26 22:41:26 +01:00
parent 3f484044b0
commit 2a82607679

View file

@ -1,34 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isodate
, dictpath
, openapi-spec-validator
, openapi-schema-validator
, six
, lazy-object-proxy
, attrs
, werkzeug
, parse
, more-itertools
, pytestCheckHook
, falcon
, flask
, buildPythonPackage
, dictpath
, django
, djangorestframework
, responses
, falcon
, fetchFromGitHub
, flask
, isodate
, lazy-object-proxy
, mock
, more-itertools
, openapi-schema-validator
, openapi-spec-validator
, parse
, pytestCheckHook
, pythonOlder
, responses
, six
, webob
, werkzeug
, python
}:
buildPythonPackage rec {
pname = "openapi-core";
version = "0.14.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "p1c2u";
repo = "openapi-core";
rev = version;
sha256 = "1npsibyf8zx6z230yl19kyap8g25kqvgm7z1w6rm6jxv58yqsp7r";
hash = "sha256-+VyNPSq7S1Oz4eGf+jaeRTx0lZ8pUA+G+KZ/5PyK+to=";
};
postPatch = ''
@ -36,31 +42,34 @@ buildPythonPackage rec {
'';
propagatedBuildInputs = [
isodate
dictpath
openapi-spec-validator
openapi-schema-validator
six
lazy-object-proxy
attrs
werkzeug
parse
dictpath
isodate
lazy-object-proxy
more-itertools
openapi-schema-validator
openapi-spec-validator
parse
six
werkzeug
];
checkInputs = [
pytestCheckHook
falcon
flask
django
djangorestframework
responses
falcon
flask
mock
pytestCheckHook
responses
webob
];
disabledTestPaths = [
# AttributeError: 'str' object has no attribute '__name__'
"tests/integration/validation"
# Unable to detect SECRET_KEY and ROOT_URLCONF
"tests/integration/contrib/test_django.py"
];
disabledTests = [