From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sBebKY+DjmOGgQEAbAwnHQ (envelope-from ) for ; Tue, 06 Dec 2022 00:49:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uNqjKI+DjmOX5AAAG6o9tA (envelope-from ) for ; Tue, 06 Dec 2022 00:49:35 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 33D1F33329 for ; Tue, 6 Dec 2022 00:49:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2LCq-0003Q3-0C; Mon, 05 Dec 2022 18:49:04 -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 1p2LCp-0003Pq-4i for guix-patches@gnu.org; Mon, 05 Dec 2022 18:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2LCo-0001Sh-NI for guix-patches@gnu.org; Mon, 05 Dec 2022 18:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2LCo-00035Y-In for guix-patches@gnu.org; Mon, 05 Dec 2022 18:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59848] [PATCH] gnu: python-jsonschema-next: Simplify package. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Dec 2022 23:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59848 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59848@debbugs.gnu.org Cc: Sharlatan Hellseher X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167028410411862 (code B ref -1); Mon, 05 Dec 2022 23:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Dec 2022 23:48:24 +0000 Received: from localhost ([127.0.0.1]:39116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2LCB-00035G-L2 for submit@debbugs.gnu.org; Mon, 05 Dec 2022 18:48:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:59796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2LCA-00035A-3u for submit@debbugs.gnu.org; Mon, 05 Dec 2022 18:48:22 -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 1p2LC9-0003NL-Uy for guix-patches@gnu.org; Mon, 05 Dec 2022 18:48:21 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2LC8-0001Q6-5g for guix-patches@gnu.org; Mon, 05 Dec 2022 18:48:21 -0500 Received: by mail-wr1-x42a.google.com with SMTP id h12so21165101wrv.10 for ; Mon, 05 Dec 2022 15:48:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0sTFli9/+qQLpwiJu03kQ5Yo5TFBbkyrjAQJ2POekbE=; b=aedzry5MKEXKiXQ2fB9+VAdiBQRv8POo8YQfHlEjwFZUurMlET2JOBVXVIbOwF1p2/ xdeg9azrGOIGAWewA11XQOiN6xYJQA5yURhd3xnFPiMwJH6MqIbfE9cBCmHBnXCfw2Q1 /RCzvvhadiSqQrTE5ro64p4mQEtmrXmkPYNgKi9iz6habca/YuUlbgiXyMOgKT+rVIiB 8Uxpq1+eN1zH7glHrAuSgn5UMm367yzB9fraBMoAJ18kPnW+akSe0oE5SINZbutERp3x uNnTszwUnsdlIzDFVEbZUYeYB+75vqlYdg/xf0ydZTPT70ilBC3HWGZfpCu9IHB69KAY JJMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0sTFli9/+qQLpwiJu03kQ5Yo5TFBbkyrjAQJ2POekbE=; b=aliw0LNuzTfZGStJirViayieWN5HzUdNmbmbp/HC8D91AKNI16cLqii7fWKAKZl1iY BWYhA4o597goNvdN4zfl33zP+ZY/xTPQDum82miXkTtUVMToZFAZVrHOiliY4ZPT90Jy lqR14V8DpUd4LznQPLg1+vTLI4v+c/sIXOGgRhIYEcrgQ7G0XvL4Z7jGgvwVzVn5pM48 m9gTHz3CDSKW5auOKtmVH1yKhSqM5gACbtKo8juffRHPug/Y5F5oKlTyUPsHE7txt0z4 KPmzJzACFE6omE1TtDo5fIadLcd5kHDivjpQ9iPKUMO0WZmKm0rU6phXsAyzprsrvlJU e2cQ== X-Gm-Message-State: ANoB5pn0gypXjspoY1Vn5RZ9Xv+jq4HKf+F3C8ZzZEvC9YwaDFB3J1oM Gtk+ktYQs8/rsoSY1ZANK/o4LnNWCwU= X-Google-Smtp-Source: AA0mqf6lUdswOQYhOj5R/QqqLhdOK4QiCf+SqOvCG3z397MZf/IRD0l5GE1LGCBSxvjWI3+cfS3W3A== X-Received: by 2002:a5d:4887:0:b0:242:1b2e:a8c3 with SMTP id g7-20020a5d4887000000b002421b2ea8c3mr23074719wrq.296.1670284097133; Mon, 05 Dec 2022 15:48:17 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id az39-20020a05600c602700b003cf78aafdd7sm19763493wmb.39.2022.12.05.15.48.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 15:48:16 -0800 (PST) From: Sharlatan Hellseher Date: Mon, 5 Dec 2022 23:48:14 +0000 Message-Id: <20221205234814.10430-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670284175; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0sTFli9/+qQLpwiJu03kQ5Yo5TFBbkyrjAQJ2POekbE=; b=StcQWUVgwFUL+U2ohtFUL41l6UX9S9TapOVpXhXT51wzoXXL3IyHuvfmcFauT3KKcCPA0O bs2dsLF63q2WYeMYZC6tiaWB/fbCVKYhgIP37Bl8G439L3i9TheDE/MIOuDXzPYPFEdhFi GdBBvUeDJCN+Pph6yL2NZhQcbTGRDWdXdEMmIh23nWTGhl74w8hJYyNKYPHT5Jd3HCyKYW mNixf//mjCgoLmgeu4j2XMpY0nxDvqlSJvKirCkavko21Lh2KvLDXj2Sz3AaS4P+ZoKUCQ Hrz0oz3rYrtbbqiY5aJrmIVCfJtq8OYWd40tUVkrf6+ozRbMQxSLzyBOYWvnGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670284175; a=rsa-sha256; cv=none; b=mJEZ47wxTtn82clkrwAC3SuohKTSPERb5GxGOxXoqwjLgaShpFOxeZ7NRmXrQwmk/Gv+mw Y6lbfXKCJiEbmMlcHGqG89TGXSKOC3sWfM501b9guNqYHXcmYBUoEt7QkmoEIikTDi7O2l ZkmQ/HsreRtLMY3ncYfG/dMOOp9aptNqEsfl9xG4fVkqS5YaCj5gynlNWBaFQ70h90WUpV PruxqbDkS85HHq8XI+jBe/WT3aJjunY6pqTEct8aZutupgqBSIG1CmuyAblItoyyaEh44N H2luAZqJ7aXBhQM1KtgKuf74NBV5lu51NupW9IryH0L9ixcqWM1ILxh8qgdnrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=aedzry5M; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=aedzry5M; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 33D1F33329 X-Spam-Score: 7.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6HZnKi8aEB1Z To have this package on the latest version Guix needs to have new Python build procedure with Hatch https://hatch.pypa.io/. * gnu/packages/python-xyz.scm (python-jsonschema-next): [build-system]: Use pyproject-build-system to simplify package. [native-inputs]: Remove python-pypa-build. --- gnu/packages/python-xyz.scm | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9a0821aebf..0e7b1bdeef 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3803,6 +3803,8 @@ (define-public python-jsonschema (define-public python-jsonschema-next (package (inherit python-jsonschema) + ;; XXX: Update to the latest version requires new build system - Hatch + ;; https://hatch.pypa.io/ (version "4.5.1") (source (origin @@ -3810,25 +3812,9 @@ (define-public python-jsonschema-next (uri (pypi-uri "jsonschema" version)) (sha256 (base32 "1z0x22691jva7lwfcfh377jdmlz68zhiawxzl53k631l34k8hvbw")))) - (arguments - (substitute-keyword-arguments (package-arguments python-jsonschema) - ((#:phases phases) - #~(modify-phases #$phases - ;; XXX: PEP 517 manual build/install procedures copied from - ;; python-isort. - (replace 'build - (lambda _ - ;; ZIP does not support timestamps before 1980. - (setenv "SOURCE_DATE_EPOCH" "315532800") - (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((whl (car (find-files "dist" "\\.whl$")))) - (invoke "pip" "--no-cache-dir" "--no-input" - "install" "--no-deps" "--prefix" #$output whl)))))))) - (native-inputs (list python-pypa-build - python-setuptools-scm - python-twisted)) + (build-system pyproject-build-system) + (native-inputs + (list python-setuptools-scm python-twisted)) (propagated-inputs (list python-attrs python-importlib-metadata -- 2.38.1