From 26cb33cc6e690ecacff00d2b763e677a8b1d5a27 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 1 Jan 2025 07:30:13 +0100 Subject: [PATCH] gnu: python-openapi-schema-validator: Relax requirements. * gnu/packages/python-web.scm (python-openapi-schema-validator)[arguments]: Add phase 'relax-requirements. Change-Id: I57dcc2030bca914af730922f9c511fab286f9d7d --- gnu/packages/python-web.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 63addcb94f0ca26f880a2ba60d3fd2451cbb78b7..1deaa2af132f91a5bea126aa6da28ee2cace5dee 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