From patchwork Mon Dec 25 09:09:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58061 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E562027BBEA; Mon, 25 Dec 2023 09:11:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4F0ED27BBE2 for ; Mon, 25 Dec 2023 09:11:47 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzE-0003Ng-Jq; Mon, 25 Dec 2023 04:11:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzD-0003M5-2U for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzC-000197-Qt; Mon, 25 Dec 2023 04:10:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzJ-0003jW-6Q; Mon, 25 Dec 2023 04:11:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 11/13] gnu: python-jsonschema: Update to 4.17.3. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , 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 , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349541914207 (code B ref 68023); Mon, 25 Dec 2023 09:11:05 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:19 +0000 Received: from localhost ([127.0.0.1]:53960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyZ-0003gz-6M for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyS-0003fy-9w for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgyG-0000kh-I1; Mon, 25 Dec 2023 04:10:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=jD9nm2D7LuFtsqMUum72FE7CX8WULsK8+uNYBnCd8qU=; b=EgQpo/VVmZn5rACDijBv okWuXmXah/vE9neMgzsf5SdPER611V81tGFm2IHZ0ZdGaEcrp0R95zcRSSYlERxSWAHlkszXvJpAo wyAHGfg1gRE1coJdbFbXFVyRn70CkYyXXM2wFkqs2Lm9+Wn60KgXXd9Ax+UGmm/yhjyS1wSE65smB cCzlS1j/KVuRreeQIYTtDQWG0efq1XDPRfqWN7QpIvceS52MO7dF9yV0s2LlMNmLVsGRYt5x3mCMj sBUhwOOnRZlKr1b4x3e7QS+6w//SONIXLcrR+RdY4sfDrWUO7fQDhRZv0Oy7ql6YR307DlB/ot8wc TOymVlAUhRB5pw==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:27 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 --- 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")