aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-06 15:14:47 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:19:03 +0000
commitd4a202cab6eaa22c10a68bbf5ce1fb0b32eb053f (patch)
tree63432fa723f7dbc5cd34f385487f20861e5402c4
parent7d14602a609bc049689af39bfc0f342dae0d883d (diff)
downloadguix-d4a202cab6eaa22c10a68bbf5ce1fb0b32eb053f.tar.gz
guix-d4a202cab6eaa22c10a68bbf5ce1fb0b32eb053f.zip
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
-rw-r--r--gnu/packages/python-xyz.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7a9fb2774b..985ff7b0c4 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