gnu: python-openapi-core: Add missing input.
* gnu/packages/python-web.scm (python-openapi-core)[build-system]: Use pyproject-build-system. [arguments]: Do not override 'check phase; specify #:test-flags. [native-inputs]: Add python-mock.
This commit is contained in:
parent
d8fe2e4735
commit
0dc7f773fd
1 changed files with 11 additions and 14 deletions
|
@ -1848,25 +1848,22 @@ compliance with the specification.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1npsibyf8zx6z230yl19kyap8g25kqvgm7z1w6rm6jxv58yqsp7r"))))
|
"1npsibyf8zx6z230yl19kyap8g25kqvgm7z1w6rm6jxv58yqsp7r"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:test-flags
|
||||||
#~(modify-phases %standard-phases
|
'(list "tests/unit"
|
||||||
(replace 'check
|
;; Ignore Pytest configuration in setup.cfg that adds
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
;; unwanted flake8 and coverage options.
|
||||||
(when tests?
|
"-c" "/dev/null"
|
||||||
(invoke "pytest" "-vv" "tests/unit"
|
;; This tests fails due to changes in Pytest; fixed
|
||||||
;; Ignore Pytest configuration in setup.cfg that adds
|
;; but not yet released upstream
|
||||||
;; unwanted flake8 and coverage options.
|
;; (https://github.com/p1c2u/openapi-core/issues/158).
|
||||||
"-c" "/dev/null"
|
"-k" "not test_string_format_invalid_value")))
|
||||||
;; This tests fails due to changes in Pytest; fixed
|
|
||||||
;; but not yet released upstream
|
|
||||||
;; (https://github.com/p1c2u/openapi-core/issues/158).
|
|
||||||
"-k" "not test_string_format_invalid_value")))))))
|
|
||||||
(native-inputs (list python-django
|
(native-inputs (list python-django
|
||||||
python-falcon
|
python-falcon
|
||||||
python-flask
|
python-flask
|
||||||
|
python-mock
|
||||||
python-poetry-core
|
python-poetry-core
|
||||||
python-pypa-build
|
python-pypa-build
|
||||||
python-pytest
|
python-pytest
|
||||||
|
|
Reference in a new issue