From patchwork Mon Feb 21 04:59:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "vasilii.smirnov--- via Guix-patches\" via" X-Patchwork-Id: 37383 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 1ADA527BBEA; Mon, 21 Feb 2022 05:03:42 +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=unavailable 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 8BD2527BBE9 for ; Mon, 21 Feb 2022 05:03:41 +0000 (GMT) Received: from localhost ([::1]:52276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nM0rM-0001Ly-MK for patchwork@mira.cbaines.net; Mon, 21 Feb 2022 00:03:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nM0ns-0000mg-54 for guix-patches@gnu.org; Mon, 21 Feb 2022 00:00:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nM0nr-00016t-Lb for guix-patches@gnu.org; Mon, 21 Feb 2022 00:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nM0nr-0006q8-GH for guix-patches@gnu.org; Mon, 21 Feb 2022 00:00:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54083] [PATCH] gnu: python-importlib-metadata: Update to 4.11.1. Resent-From: kiasoc5@tutanota.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Feb 2022 05:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54083 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54083@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.164541957126176 (code B ref -1); Mon, 21 Feb 2022 05:00:03 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2022 04:59:31 +0000 Received: from localhost ([127.0.0.1]:34537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM0nK-0006o7-Ov for submit@debbugs.gnu.org; Sun, 20 Feb 2022 23:59:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:58666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM0nJ-0006o0-Hw for submit@debbugs.gnu.org; Sun, 20 Feb 2022 23:59:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nM0nJ-0000XD-AT for guix-patches@gnu.org; Sun, 20 Feb 2022 23:59:29 -0500 Received: from w1.tutanota.de ([81.3.6.162]:50546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nM0nH-0000zj-C6 for guix-patches@gnu.org; Sun, 20 Feb 2022 23:59:28 -0500 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id DE21EFBF895 for ; Mon, 21 Feb 2022 04:59:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1645419563; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=QqNbc7TYFfLxNDMK2dgusJzODX32qk0DcRM1VLMvXR4=; b=es90FV8KDmAcV3LWe9R72Lx/xaiMEP+rIm+9ZFiwwgZyP/Y8n1xZR9eyUksfTsz3 WpjgvhXlfrERhGbGRzgSERbQmu/4nOBaLRSqfO64y8cBTyTDpui+nShBtixSGad2Xzp dG20xoOalvSWRO8+eZwj6S6ZZSwzN1LHoHGppMjSJNbZUxG2sRMmY0SzzRWJb7ddwME EMYia09E5ABcoZUWdkZX3VR5l2/0PfVvlAQ9Ir94iiVI9Bz025ZiA9i2c/57eb0Itz7 beoqLLlxLQ3xkuv3kPTgpzL5M1PcGfs1gHp5t6kNWyvb/L857wBrbDWERkh9w4ldVVq MYg7aMpjIg== Date: Mon, 21 Feb 2022 05:59:23 +0100 (CET) Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=81.3.6.162; envelope-from=kiasoc5@tutanota.com; helo=w1.tutanota.de 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: kiasoc5@tutanota.com X-ACL-Warn: , kiasoc5--- via Guix-patches X-Patchwork-Original-From: kiasoc5--- via Guix-patches via From: "vasilii.smirnov--- via Guix-patches\" via" X-getmail-retrieved-from-mailbox: Patches Tested update with the following command: guix refresh -l python-importlib-metadata | tr ' ' '\n' | grep '@' | xargs ./pre-inst-env guix build --keep-going --check Most dependents build fine, there are some more to be fixed. ``` guix build: error: build of `/gnu/store/23zz3gkbcp7rhngx5kqqkifgllnnn87d-orange-3.31.1.drv', `/gnu/store/8g57fz279rsfbp7ygyfdkkigxz6alsd9-python-dolfin-adjoint-2019.1.0.drv', `/gnu/store/hpp2hysd3rjwy9kzbfrip1mjsp7cw42x-jrnl-1.9.7.drv', `/gnu/store/im8523db69cn0zn8d6357fljvnj9h51v-python-pytest-virtualenv-1.7.0.drv', `/gnu/store/jb7dhh6qyl1ywfl560g2fdincqln0j0m-python-behave-web-api-1.0.6.drv', `/gnu/store/k0yar63qm2h4kv8qbl0dbp04c6lvm8kz-python-pysnptools-0.4.11.drv', `/gnu/store/nr9isakhk3bxkl6p5v65gvqahy4n5fmy-dosage-2.17.drv', `/gnu/store/pf79l2hn6brzwl0b1q0bynlh42501s3v-electrum-4.1.5.drv', `/gnu/store/pvnxfjfr9fg0ap8lwia60vs53rgdclrh-gr-satellites-4.2.0.drv', `/gnu/store/qg7mfxcn2ayyq4v4lc1bkxddayfj54bp-gnss-sdr-0.0.15.drv', `/gnu/store/qgc7prgchmwn9hyy36hsn12cyraixvcf-electron-cash-4.2.6.drv', `/gnu/store/sc72sngxh0fbklbn66hly6k6r7zy6fcl-gqrx-2.15.8.drv', `/gnu/store/ympmpv7ci9xav22jaisq9kwrp1qq8w00-onionshare-2.4.drv' failed ``` From 346546faf492951b2b1226615d5cdd738f8dab83 Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Sun, 20 Feb 2022 15:56:18 -0500 Subject: [PATCH] gnu: python-importlib-metadata: Update to 4.11.1. * gnu/packages/python-xyz.scm (python-importlib-metadata): Update to 4.11.1. --- gnu/packages/python-xyz.scm | 47 +++++++++++++++++++++++++++---------- 1 file changed, 35 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 516fa4057f..f6bbbb408e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8212,19 +8212,42 @@ (define-public python2-importlib-resources-bootstrap (define-public python-importlib-metadata (package (name "python-importlib-metadata") - (version "1.5.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "importlib_metadata" version)) - (sha256 - (base32 - "00ikdj4gjhankdljnz7g5ggak4k9lql2926x0x117ir9j2lv7x86")))) + (version "4.11.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "importlib_metadata" version)) + (sha256 + (base32 + "0b05r23934nj0yqd4nm6f1hk34wzhvagidw1imp7ycd083j4wpqp")))) (build-system python-build-system) - (propagated-inputs - (list python-zipp)) - (native-inputs - (list python-setuptools-scm python-pyfakefs python-packaging)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-source-file-times-to-1980 ; make unzip work + (lambda _ + (setenv "SOURCE_DATE_EPOCH" "315532800"))) + (add-before 'check 'fix-tests ; this file uses a python module no distro has packaged + (lambda _ + (delete-file "exercises.py"))) + (replace 'build + (lambda _ + (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (whl (car (find-files "dist" "\\.whl$")))) + (invoke "pip" "--no-cache-dir" "--no-input" "install" "--no-deps" "--prefix" + out whl)))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-v"))))))) + (propagated-inputs (list python-zipp)) + (native-inputs (list python-setuptools-scm + python-pyfakefs + python-packaging + python-pytest + python-pypa-build)) (home-page "https://importlib-metadata.readthedocs.io/") (synopsis "Read metadata from Python packages") (description -- 2.35.1