guix-commits
[Top][All Lists]
Advanced

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

247/361: gnu: python-jsonschema-3: Fix build.


From: guix-commits
Subject: 247/361: gnu: python-jsonschema-3: Fix build.
Date: Fri, 22 Nov 2024 06:00:51 -0500 (EST)

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

commit e304cef89e418795da0032391cecefed37c397ef
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Nov 6 15:14:47 2024 +0000

    gnu: python-jsonschema-3: Fix build.
    
    As seen in CI <https://ci.guix.gnu.org/build/6342439/log/raw>.
    
    * gnu/packages/python-xyz.scm (python-jsonschema-3)[arguments]<phases>:
    Do not modify not existing phase, disable tests instead.
    
    Change-Id: I7aadf51a0b5a7de36c93c981074b2c4f6bd0b3b4
---
 gnu/packages/python-xyz.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1cd755b503..f46a557b5e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6033,6 +6033,8 @@ and convert DDL to BigQuery JSON schema.")
      "Jsonschema is an implementation of JSON Schema for Python.")
     (license license:expat)))
 
+;; For docker-compose 1.29.2, remove when its updated to the latest 2.x
+;; version.
 (define-public python-jsonschema-3
   (package
     (inherit python-jsonschema)
@@ -6045,11 +6047,7 @@ and convert DDL to BigQuery JSON schema.")
                 "0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68"))))
     (arguments
      (substitute-keyword-arguments (package-arguments python-jsonschema)
-       ((#:phases phases)
-        #~(modify-phases #$phases
-            (replace 'pretend-version
-              (lambda _
-                (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))))
+       ((#:tests? _ #t) #f)))
     (propagated-inputs
      (list python-attrs
            python-importlib-metadata



reply via email to

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