diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2025-01-01 07:30:13 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:29 +0100 |
commit | 26cb33cc6e690ecacff00d2b763e677a8b1d5a27 (patch) | |
tree | ef65d022ac92a26658f9f098782e5ff4c2b08ef5 | |
parent | 1f2f56c2ed7016f9dfeb83533f492cfcb7ebaa4d (diff) |
gnu: python-openapi-schema-validator: Relax requirements.
* gnu/packages/python-web.scm (python-openapi-schema-validator)[arguments]:
Add phase 'relax-requirements.
Change-Id: I57dcc2030bca914af730922f9c511fab286f9d7d
-rw-r--r-- | gnu/packages/python-web.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 63addcb94f..1deaa2af13 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2540,7 +2540,13 @@ OpenAI API.") (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 |