unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: 68023@debbugs.gnu.org
Cc: me@bonfacemunyoki.com, Mathieu Othacehe <othacehe@gnu.org>,
	me@tobias.gr, lars@6xq.net, efraim@flashner.co.il,
	leo@famulari.name, vagrant@debian.org, jgart@dismail.de,
	marius@gnu.org, Lars-Dominik Braun <lars@6xq.net>,
	Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	jgart <jgart@dismail.de>
Subject: [bug#68023] [PATCH 11/13] gnu: python-jsonschema: Update to 4.17.3.
Date: Mon, 25 Dec 2023 10:09:27 +0100	[thread overview]
Message-ID: <a6d363ae73dd21932f6696de85cfc4fee954b4ee.1703494195.git.othacehe@gnu.org> (raw)
In-Reply-To: <cover.1703494195.git.othacehe@gnu.org>

* gnu/packages/python-xyz.scm (python-jsonschema): Update to 4.17.3.
[arguments]: Do not replace the 'check phase.
[native-inputs]: Add python-hatchling, python-hatch-fancy-pypi-readme,
python-hatch-vcs, python-jsonschema-specifications, python-pytest,
python-rpds-py, python-trove-classifiers.
[propagated-inputs]: Add python-referencing, python-rpds-py.

Change-Id: I39e5128d851470d25ef31edf3baefcdf6d690fa6
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/python-xyz.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c4d6d20751..2e74befa1c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4949,15 +4949,13 @@ (define-public python-ddlparse
 (define-public python-jsonschema
   (package
     (name "python-jsonschema")
-    ;; XXX: Update to the latest version requires new build system - Hatch
-    ;; https://hatch.pypa.io/
-    (version "4.5.1")
+    (version "4.17.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "jsonschema" version))
        (sha256
-        (base32 "1z0x22691jva7lwfcfh377jdmlz68zhiawxzl53k631l34k8hvbw"))))
+        (base32 "03dnxhvzfxmnpn53zsc0598hsslaz7w3wi87cyx7cq4bmcvl91hg"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -4968,17 +4966,21 @@ (define-public python-jsonschema
             ;; without the git metadata available, the version string is set to
             ;; '0.0.0'.
             (lambda _
-              (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (setenv "JSON_SCHEMA_TEST_SUITE" "json")
-                (invoke "trial" "jsonschema")))))))
-    (native-inputs (list python-setuptools-scm python-twisted))
+              (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
+    (native-inputs (list python-hatchling
+                         python-hatch-fancy-pypi-readme
+                         python-hatch-vcs
+                         python-jsonschema-specifications
+                         python-pytest
+                         python-setuptools-scm
+                         python-trove-classifiers
+                         python-twisted))
     (propagated-inputs
      (list python-attrs
            python-importlib-metadata
            python-pyrsistent
+           python-referencing
+           python-rpds-py
            python-typing-extensions))
     (home-page "https://github.com/Julian/jsonschema")
     (synopsis "Implementation of JSON Schema for Python")
-- 
2.41.0





  parent reply	other threads:[~2023-12-25  9:11 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-25  9:06 [bug#68023] [PATCH 00/13] Add support for Linux `make dtbs_check` Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 01/13] gnu: dtc: Update to 1.7.0 Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 02/13] gnu: python-trove-classifiers: Update to 2023.11.29 Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 03/13] gnu: Add rust-unsize-1 Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 04/13] gnu: Add rust-triomphe-0.1 Mathieu Othacehe
2023-12-28  7:54   ` Efraim Flashner
2023-12-25  9:09 ` [bug#68023] [PATCH 05/13] gnu: Add rust-compiletest-rs-0.10 Mathieu Othacehe
2023-12-28  7:54   ` Efraim Flashner
2023-12-25  9:09 ` [bug#68023] [PATCH 06/13] gnu: Add rust-archery-1 Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 07/13] gnu: Add rust-rpds-1 Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 08/13] gnu: Add python-rpds-py Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 09/13] gnu: Add python-referencing Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 10/13] gnu: Add python-jsonschema-specifications Mathieu Othacehe
2023-12-25  9:09 ` Mathieu Othacehe [this message]
2023-12-25  9:09 ` [bug#68023] [PATCH 12/13] gnu: Add python-dtschema Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 13/13] gnu: linux-libre: " Mathieu Othacehe
2023-12-28  7:54 ` [bug#68023] [PATCH 00/13] Add support for Linux `make dtbs_check` Efraim Flashner
2023-12-28  9:14   ` Mathieu Othacehe
2023-12-28 19:04 ` Leo Famulari
2023-12-28 20:00   ` Mathieu Othacehe
2023-12-29 20:04     ` Leo Famulari
2024-01-09  8:06       ` Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a6d363ae73dd21932f6696de85cfc4fee954b4ee.1703494195.git.othacehe@gnu.org \
    --to=othacehe@gnu.org \
    --cc=68023@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=leo@famulari.name \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    --cc=me@tobias.gr \
    --cc=vagrant@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).