~ruther/guix-local

26cb33cc6e690ecacff00d2b763e677a8b1d5a27 — Ricardo Wurmus 1 year, 3 months ago 1f2f56c
gnu: python-openapi-schema-validator: Relax requirements.

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

Change-Id: I57dcc2030bca914af730922f9c511fab286f9d7d
1 files changed, 7 insertions(+), 1 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +7 -1
@@ 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