guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

96/187: gnu: python-openapi-schema-validator: Relax requirements.


From: guix-commits
Subject: 96/187: gnu: python-openapi-schema-validator: Relax requirements.
Date: Wed, 8 Jan 2025 10:15:52 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit 5d796c45eb9eeea9d0303fb55a34988ea0d0fadd
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jan 1 07:30:13 2025 +0100

    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 6995c9fc15..918832c2da 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]