From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8OSEKOycQGRkbAAASxT56A (envelope-from ) for ; Thu, 20 Apr 2023 04:01:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ANCOKOycQGRd1gAAauVa8A (envelope-from ) for ; Thu, 20 Apr 2023 04:01:16 +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 22AB21100B for ; Thu, 20 Apr 2023 04:01:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppJTt-0007sb-7m; Wed, 19 Apr 2023 21:53:05 -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 1ppJTq-0007rj-Ub for guix-patches@gnu.org; Wed, 19 Apr 2023 21:53:02 -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 1ppJTp-0001k8-U7 for guix-patches@gnu.org; Wed, 19 Apr 2023 21:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ppJTp-0007Gk-MA for guix-patches@gnu.org; Wed, 19 Apr 2023 21:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62801] [PATCH 0/4]: gnu: python-astroalign: Update to 2.4.2. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Apr 2023 01:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sharlatan Hellseher Cc: 62801@debbugs.gnu.org Received: via spool by 62801-submit@debbugs.gnu.org id=B62801.168195557627932 (code B ref 62801); Thu, 20 Apr 2023 01:53:01 +0000 Received: (at 62801) by debbugs.gnu.org; 20 Apr 2023 01:52:56 +0000 Received: from localhost ([127.0.0.1]:36159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppJTk-0007GS-9f for submit@debbugs.gnu.org; Wed, 19 Apr 2023 21:52:56 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:49608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppJTh-0007GB-Ab for 62801@debbugs.gnu.org; Wed, 19 Apr 2023 21:52:54 -0400 Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-3e8b3aed55bso855031cf.3 for <62801@debbugs.gnu.org>; Wed, 19 Apr 2023 18:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681955567; x=1684547567; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=KQxjAOLWigSaAfC3cOfjMKTIoaB4wlhz3XXKECvxhks=; b=LUx0/Rfm/drcZmKKtyLYifOG3KmehrZsfRo44y6Yahi1Zr1hPGUYeSKi3bT9Xu12N3 oZLjGMTCpwlZrk4wbPqqwOo8Lm/h4WB7n6DGVuH2lI6iwfeqs9hBVqcnul40/y2LzslF ECvaj7YKqxb3Xs1D9ETYoOl9d7BLhzvQ2PAcTp3beDH26xpw5rUo295Hp3TR1fFZ1X7i D2g3lKKC6P6E4ifhF+VDgtUCf55OcAPwg6arfkxUV+DeQhKX7KU+YCPLR2wB+C6nH/ua S+OMXCj5EDMCLjtfTHow5YcpKQS13brr268y2eEtygaOH11Aaa8um0N0kw/1ypggVyR9 Zn5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681955567; x=1684547567; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KQxjAOLWigSaAfC3cOfjMKTIoaB4wlhz3XXKECvxhks=; b=EyG/5U/f8Ftyy2xZcd3N8qPmsZHEC2LRr2e2wzK9B4afr/AczHnKgvEtN9xaAmNcSE fvrJRyWIESGCEeXJNzkBUI/0rI50Y+dgQaKLIbLfovP2jeKRvrE/axe6qzcUXLZQuixa v/MICk1TW2PKKnDvQ9kMs6lrrdcfpV59yZav2TVGnV8v+6tqya5+zqi32YDp/GqpRbaT vBxNFi/YCCrQYT/oW3loN3kXlGlr+hMkxpyAcDmJYT/Jw6eYvGJJ57FMkirJzFsj7ZHx 5NW/h1SNOTZ3JEb69aqbT+Whdkju19KOAxBgq3sLr9wizan3uml748W7X28RtuHkokjI xMkA== X-Gm-Message-State: AAQBX9fjkyKDIOeZnggyaD24Ej6dmZMEBvpngUy70Fnr8OKsa7LjGDKu Y4xYwV24AkhTq2y+u+ptFJa/MQtOlE0= X-Google-Smtp-Source: AKy350ZoF4sPQzPKB8AA1Ujt2qH7JtkK28AaXqaEbixEeBSMr7HpVashyYsaAfRXwHfzHAP3Zys7aA== X-Received: by 2002:a05:622a:54a:b0:3e7:ddd5:a3d1 with SMTP id m10-20020a05622a054a00b003e7ddd5a3d1mr1170276qtx.5.1681955567690; Wed, 19 Apr 2023 18:52:47 -0700 (PDT) Received: from hurd (dsl-155-56.b2b2c.ca. [66.158.155.56]) by smtp.gmail.com with ESMTPSA id c24-20020ac81118000000b003c033b23a9asm179780qtj.12.2023.04.19.18.52.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 18:52:47 -0700 (PDT) From: Maxim Cournoyer References: <20230412210529.30189-1-sharlatanus@gmail.com> <20230412210529.30189-2-sharlatanus@gmail.com> Date: Wed, 19 Apr 2023 21:52:46 -0400 In-Reply-To: <20230412210529.30189-2-sharlatanus@gmail.com> (Sharlatan Hellseher's message of "Wed, 12 Apr 2023 22:05:27 +0100") Message-ID: <87jzy71frl.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681956076; a=rsa-sha256; cv=none; b=ozRP2At3cPPSWMvpbVWhYVpJI4t9OX5dozUk+qG4LpatGgqeDyXdzYYagrbyG3MipOane0 pXxMxDH+eVTSSDRIKa9iH6LN7yQMCINjum96EXYQYTT6AYp5Mg7Z0DDfpvK8Vg4JXUwzFG jNSfHJ8ui0iVyeRtjhFOVuQZwW0qwK8KpHH8cGqh2sqFKYToKlFyVtaCcqZ/7ScSqezzZF PK3lBrXg0A6XjWlO+RrczgDVmmonbHhuc7geZLQzhvjaSmoWRM4HUbpzksYVvdfQCfmw4B 8YIAQsDk6mFOLedGEhE85ykybbGE/JXYnfkx5cuWwlRjFXxkdmidQqE0Ycefag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="LUx0/Rfm"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681956076; 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: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=KQxjAOLWigSaAfC3cOfjMKTIoaB4wlhz3XXKECvxhks=; b=cTjiv/8JinZZlWot7968xEgWIJtWB/GosEHqTyfIZpkToAKMDxfc/KJdY84i5McVxdidcM XaHJiORB8gRr1Xsi1UHebeWgIkUFG0qST2FGi5m0y90Q0CYGD1cyQwf09RcPRfOactt6sA SOUwGROWWrGMlvzydZXx4awXq8rMQQ8ZdtDmQGn2t5wQT/2Cvha52eaHMe8eqCXM6GNFNB GQHnMyuDtzmutJmWhjSJpiZFHxT+4jJeOukxkZ27wjaWVGmNOW8Wx+4HAgfEZLViQ2prn1 9owqqRiSMnRkI8OubEKzNtAkXa6ZcNMIk7TosGR2w/bp7z5YOZTUwOEV3mYIdQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.11 X-Spam-Score: -2.11 X-Migadu-Queue-Id: 22AB21100B Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="LUx0/Rfm"; 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-TUID: h9cRRsDCoM2/ Hello, Sharlatan Hellseher writes: > * gnu/packages/python-check.scm (python-memory-profiler): New variable. > --- > gnu/packages/python-check.scm | 49 +++++++++++++++++++++++++++++++++++ > 1 file changed, 49 insertions(+) > > diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm > index 41a6997190..0affd2896b 100644 > --- a/gnu/packages/python-check.scm > +++ b/gnu/packages/python-check.scm > @@ -1771,6 +1771,55 @@ (define-public python-atpublic > (license (list license:asl2.0 > license:lgpl3)))) ; only for setup_helpers.py > > +(define-public python-memory-profiler > + (package > + (name "python-memory-profiler") > + (version "0.61") > + (source > + (origin > + ;; PyPi tarball lacks tests. > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/pythonprofilers/memory_profiler") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0n6g47qqmnn7abh3v25535hd8bmfvhf9bnp72m7bkd89f715m7xh")))) > + (build-system pyproject-build-system) > + (arguments > + (list > + #:phases > + #~(modify-phases %standard-phases > + ;; XXX: @profile is not loaded in some test files and there are 3 tests > + ;; which were failed, disable them for now. ^fail > + (add-after 'unpack 'disable-fialing-tests ^failing > + (lambda _ > + (with-directory-excursion "test" > + (for-each delete-file > + '("test_as.py" > + "test_func.py" > + "test_gen.py" > + "test_loop.py" > + "test_loop_decorated.py" > + "test_mprofile.py" > + "test_nested.py" > + "test_precision_command_line.py" > + "test_unicode.py"))) > + (substitute* "test/test_attributes.py" > + (("def test_with_profile") "def __off_test_with_profile")) > + (substitute* "test/test_stream_unicode.py" > + (("def test_unicode") "def __off_test_unicode")) > + (substitute* "test/test_tracemalloc.py" > + (("def test_memory_profiler") "def __off_test_memory_profiler"))))))) > + (native-inputs (list python-pytest-7.1 python-pytest-fixture-config python-safety)) Please wrap lines to 80 characters. -- Thanks, Maxim