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