From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YNWlLrwNdWTfMQAASxT56A (envelope-from ) for ; Mon, 29 May 2023 22:40:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6F3RLrwNdWRLIAAAauVa8A (envelope-from ) for ; Mon, 29 May 2023 22:40:28 +0200 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 9EEADFB6E for ; Mon, 29 May 2023 22:40:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3jf3-000513-UR; Mon, 29 May 2023 16:40:15 -0400 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 1q3jev-0004yl-Bj for guix-patches@gnu.org; Mon, 29 May 2023 16:40:06 -0400 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 1q3jev-0001aY-2B for guix-patches@gnu.org; Mon, 29 May 2023 16:40:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3jet-0007oU-T8 for guix-patches@gnu.org; Mon, 29 May 2023 16:40:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v3 01/32] gnu: python-cysignals: Update to 1.11.2. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 May 2023 20:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56729@debbugs.gnu.org Cc: Andreas Enge Received: via spool by 56729-submit@debbugs.gnu.org id=B56729.168539278529862 (code B ref 56729); Mon, 29 May 2023 20:40:03 +0000 Received: (at 56729) by debbugs.gnu.org; 29 May 2023 20:39:45 +0000 Received: from localhost ([127.0.0.1]:59254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jeb-0007lK-4q for submit@debbugs.gnu.org; Mon, 29 May 2023 16:39:45 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.131]:42907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jeU-0007jM-Ux for 56729@debbugs.gnu.org; Mon, 29 May 2023 16:39:40 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685392777; cv=none; d=strato.com; s=strato-dkim-0002; b=NtvpggkVL8S/gXE6nh8Zx1jKA/25UX6K6TCP3TDjIdiiEXZrSL7dLrEfCalXh+xi6G BqkjEy9RreEOtrv7BzqWK8wVL236yPXdxvMPbCPFSLepAbAX1HJrdjUlEz7zQoI+pV+t T0aIfT+FRom9oTL4ch9hbmMRkNvC2QvMIWw8QmMuzxNIIBf0HDD+JSQ04JgUGpZjijEM bzDpqIfiviMZk5WqObShvYvx7G3uNEQ/bjGiUH2edMX9lAIDCNutRXiz+uQ2CRMmiBzn 1E9UCkszD/tv40s5sc88nUtJDpFpnxGVwlJkS6CA3nc+Xh423PP9sVmqC2WGUCYhYEZq sIdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392777; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=z/GPt4HqiT8d/ZDkBO5gmOnZGcFfQtAgV9cWxcpr0aY=; b=ZsnREHiWF3sJLF7ypn23ZyeWjtZ5TIrn9W9qX69ZxW7bgPW0g1p8i0B3l3tVA+JXaC LHtQrxwHt9Q6xzSulSQIMpWlCY/QdT7seO1xpz5DkO5/3Cazc0bph/V7AIGtgdqM1soG EQ+tLgjKz+gs4AcsxVsr0P5xswFsLJyOiohoWqLYy2zfdWDzWKzPzHeiqNumslJ4tVbN 2YtEjlEf6ZzTDObETQw1x8dpeMha4PjWgfbwxEHuP7umEJRSiv5OAzWQC6XRoIgc0BaZ GkA7qSGbTSsyGybFhVpV94DJqHsYrK4xqWYApxbmvRpuK8iuh/IsT/vrZXwX3Mom5iMc QSAw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392777; s=strato-dkim-0002; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=z/GPt4HqiT8d/ZDkBO5gmOnZGcFfQtAgV9cWxcpr0aY=; b=sJVcuo5ECdzjT1OGr1y8jsnKS620FkQna4t9Iio7nPsAWzMAbRgiKnozYtcjB2eWYi IWA7zoYgG1EEaxKfof3ZN3LSFbL+ogrgT9SFJKKV/ALb03EevfG8uiHPC6cGoXCnS39n +U7wPM+/cTyzS6zlh2PFJTBwMDBBJSykzlHfy4l40TtzPvTQ1+NMYTLeTUIi1BfL0q+r PKSRn14gsC5n8K4jciIMXlvciPshFMQtgjACFzIbE/9cdA/sqv54Kyy26AexFA6K7Khe OzN6s40R5HScSJIH8w8s/hL0azysqTyHN8VkytXi9BIlECRDpkkJtQ7gx99ybi5OguDJ o3Ew== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1685392777; s=strato-dkim-0003; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=z/GPt4HqiT8d/ZDkBO5gmOnZGcFfQtAgV9cWxcpr0aY=; b=ChfqNrhsOki8sb+44YYI9B9de49OVfz7acKZI3GlsiL3zoBadK0L9kLfGLo7qRs4h+ xjEXcpMHQcRgo4EYpICw== X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9elHkvI0r6JTEEwPZQIGpITRHJw3QBV19xfC5caujhgQnTJiaYr" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 49.4.0 AUTH) with ESMTPSA id z055e6z4TKdbn7E (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 29 May 2023 22:39:37 +0200 (CEST) From: vicvbcun Date: Mon, 29 May 2023 22:38:10 +0200 Message-Id: <86ba5974544d96d9f8371447609ecfd19a92b2de.1685391447.git.guix@ikherbers.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="us-ascii" 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-Seal: i=2; s=key1; d=yhetil.org; t=1685392827; a=rsa-sha256; cv=fail; b=XA4WpH08om2MXmV9kTr+V/QEbVt9h0JYbheoPq4FO+ooil5GnDLJMvqifeuKBgR7RMCAoV G/nML1yg7bSUsm2o/lefTAp+pL0SWNvdfWK+34mU+4f52ERDg3rKAP77Lqr4eSXjACqOqv oZsIOy1yq1mKFSkk8U/jDpeOr6Sv8IQByn9uw1S0yQxgm/c7zfBxryG+/tRWp9U6pqXS2N njMAgu6zqqBmupbVtru3gALw8NAQOGdYLVlWjikxypX6azyU0Doq670qzwTlOhw1Hn/9qr vbvI1vqXnaoM+x3EqBZsTNVsz0RlZveg4pNaU/gmaYAu824kAXerYT/DJ5m97A== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=sJVcuo5E; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=ChfqNrhs; dmarc=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"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685392827; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=z/GPt4HqiT8d/ZDkBO5gmOnZGcFfQtAgV9cWxcpr0aY=; b=pj+jcgA4Rbi9ghOC/S8CGYM+t/D97exuRbzWChJohcu6Z3YRysdJYxr71EkZjtrdgbXCjU wcQlOow4VH3TM/ZkULay4C8BedNy7qKluRVQHH+7EMxGVwAaCbvy1HdD3PTRCvraAOODAP 9LVCcz6OMDLIviI6tQAHeeBRV4qtYmsOBLkUztFUMx/iH9AY3jSflfjRE0c+8X3ny8EI/N bTn8TCu5jOZtHBpMK1e1zW5MG1WjtEL6dT2rVj9aJKl6l/ODRTBb+5q1J5ualM+Hn2Wtio 6VygScq58Ks6pSfndnWF0ayfsuv125KoZr2oOu+4SidviHvRrbFpx2f7Ny6WDQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=sJVcuo5E; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=ChfqNrhs; dmarc=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"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") X-Migadu-Spam-Score: 2.86 X-Spam-Score: 2.86 X-Migadu-Queue-Id: 9EEADFB6E X-TUID: mgZumdiw18YK * gnu/packages/python-xyz.scm (python-cysignals): Update to 1.11.2. [native-inputs]: Add autoconf and gdb. [arguments]<#:tests?>: Run tests. [arguments]<#:phases>: Remove phase 'configure, add phase 'set-shell-for-configure-script, add phase 'fix-testgdb.py. --- gnu/packages/python-xyz.scm | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f7e3f6f538..d07561b185 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -160,6 +160,7 @@ (define-module (gnu packages python-xyz) #:use-module (gnu packages adns) #:use-module (gnu packages aidc) #:use-module (gnu packages attr) + #:use-module (gnu packages autotools) #:use-module (gnu packages backup) #:use-module (gnu packages bash) #:use-module (gnu packages check) @@ -17712,32 +17713,35 @@ (define-public python-future (define-public python-cysignals (package (name "python-cysignals") - (version "1.9.0") + (version "1.11.2") (source (origin (method url-fetch) (uri (pypi-uri "cysignals" version)) (sha256 (base32 - "15ix8crpad26cfl1skyg7qajqqfdrm8q5ahhmlfmqi1aw0jqj2g2")))) + "19kgba662s3s942k3mzkr92mmb37793b49mq460q88dy1xvb2n2q")))) (build-system python-build-system) (native-inputs - (list python-cython python-sphinx)) + (list autoconf gdb python-cython python-sphinx)) (inputs (list pari-gp)) (arguments - `(#:modules ((guix build python-build-system) - ((guix build gnu-build-system) #:prefix gnu:) - (guix build utils)) - ;; FIXME: Tests are executed after installation and currently fail - ;; when not installing into standard locations; the author is working - ;; on a fix. - #:tests? #f - #:phases - (modify-phases %standard-phases - (add-before - 'build 'configure - (assoc-ref gnu:%standard-phases 'configure))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-shell-for-configure-script + (lambda _ + (setenv "CONFIG_SHELL" (which "sh")))) + (add-after 'unpack 'fix-testgdb.py + (lambda _ + (substitute* "testgdb.py" + (("assertIn\\(b") + "assertIn(") + (("__pyx_pf_9cysignals_5tests_46unguarded_dereference_null_pointer\\(\\)") + "unguarded_dereference_null_pointer") + (("cdef void dereference_null_pointer\\(\\) nogil:") + "dereference_null_pointer"))))))) (home-page "https://github.com/sagemath/cysignals") (synopsis -- 2.40.1