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
This commit is contained in:
Sharlatan Hellseher 2024-11-06 15:14:47 +00:00
parent 7d14602a60
commit d4a202cab6
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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