sharlatan pushed a commit to branch python-team
in repository guix.
commit 05bff04ccc3903c67748b2718db374db20c8e7a6
Author: Sharlatan Hellseher <[email protected]>
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