gnu: python-openapi-schema-validator: Relax requirements.

* gnu/packages/python-web.scm (python-openapi-schema-validator)[arguments]:
Add phase 'relax-requirements.

Change-Id: I57dcc2030bca914af730922f9c511fab286f9d7d
This commit is contained in:
Ricardo Wurmus 2025-01-01 07:30:13 +01:00
parent 7a5003a8b9
commit ee60ed4892
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2540,7 +2540,13 @@ (define-public python-openapi-schema-validator
(add-after 'unpack 'remove-coverage-pytest-options
(lambda _
(substitute* "pyproject.toml"
(("^--cov.*") "")))))))
(("^--cov.*") ""))))
;; See https://github.com/python-openapi/openapi-schema-validator/issues/204
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "pyproject.toml"
(("jsonschema-specifications.*")
"jsonschema-specifications = \">=2023.5.2\"\n")))))))
(native-inputs (list python-poetry-core python-pytest))
(propagated-inputs
(list python-isodate