From patchwork Sat Jul 20 22:40:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 29443 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 58BC727BBE9; Sat, 20 Jul 2024 23:43:56 +0100 (BST) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 2142927BBE2 for ; Sat, 20 Jul 2024 23:43:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVInU-0004mm-7i; Sat, 20 Jul 2024 18:43:24 -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 1sVInN-0004cA-Cl for guix-patches@gnu.org; Sat, 20 Jul 2024 18:43:17 -0400 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 1sVInL-0004NM-Ad; Sat, 20 Jul 2024 18:43:16 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVInK-0001nx-Bj; Sat, 20 Jul 2024 18:43:14 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72219] [PATCH 24/34] gnu: python-fast-histogram: Adjust inputs. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sat, 20 Jul 2024 22:43:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72219 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72219@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 72219-submit@debbugs.gnu.org id=B72219.17215153706588 (code B ref 72219); Sat, 20 Jul 2024 22:43:14 +0000 Received: (at 72219) by debbugs.gnu.org; 20 Jul 2024 22:42:50 +0000 Received: from localhost ([127.0.0.1]:54112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVImw-0001i5-9z for submit@debbugs.gnu.org; Sat, 20 Jul 2024 18:42:50 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:59835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVImd-0001eQ-Dj for 72219@debbugs.gnu.org; Sat, 20 Jul 2024 18:42:31 -0400 Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-3687f8fcab5so1101581f8f.3 for <72219@debbugs.gnu.org>; Sat, 20 Jul 2024 15:42:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721515285; x=1722120085; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BxCpse596DZ21fx7ClKBUX14sl3olBdDPjNIqrIWmU8=; b=eO7tN6rAbu8CbEwXSHrs5Egh+3aH3TyfsmWpSzrS6A4TH4V+WQOhnq2px3eldhBio/ d2H7tmISe/5gJj1zJtWyarFM97GfytxIkZBWZGEcrvnPxzKgkHg4rzDe+glwinawmnB2 gaHRX3OmGuIWRvPIcsLHRfPcXdVktP1CBCnGSNVL6RqFt/FPerdnZuBL+i8549vcB9Vm WflXm9ukmFvRZjWnmR3wgS+tlmYIPLd5B+Uk5kCBYqgfYj8nsfCtHhii15T9Jxkh4NsD fKZW+/0ah04ClR3So1EFVDAYt6PMc1MFOT4mJOA2549eShthjCdNBM+eOT9jomOynrqV JOIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721515285; x=1722120085; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BxCpse596DZ21fx7ClKBUX14sl3olBdDPjNIqrIWmU8=; b=B7wELeVlep+3TLMEvwKwHhHl+sG850CxpSZprsjNk1RQ4es5WyLO8+sUwZzHzvkYwu VFIeWGEqFX2ddF9id/g3eU+CdFCMuFDWucqx7dgWWnT4erQtmVklUb5x6UJ5zTpugUIa QnelMTJyzjA2uu5y/pjLBR0YypYoLg93akRfRYPCJUR2koSrZKSWFZQ7uWcLUCfe3O5B hr1FRMdFLClKMo4aFJa3UnWgyP4h25HfrhZqeNV+M2z6CBPkJF2BZGmP+0glD4fG8Hlt xXx8//PlxwP1+NcbcnYWdRg0xZBur2w1f2+Ax/nnV6rfTFUELoEJMCM7AoB3ggRWt+JX yoIg== X-Gm-Message-State: AOJu0Yw7fX/e58DShc6F+R1afvFqhViIJE5KUuebAz8bFMZAViZrcJAp almbgRytwZUfkqCoZ4hjAXEA56t/YmMBfImcmjS3GKaqynU8sBl4yCvrJAAf X-Google-Smtp-Source: AGHT+IHEfKCN9AlAZVphiiPWIfYyvusmXNz2TY64pl8krc4akGYFQSAyJ1ewJuIB+UekjBAtnP8NCw== X-Received: by 2002:adf:e58e:0:b0:369:5d7d:ee96 with SMTP id ffacd0b85a97d-369bae3577fmr1812224f8f.27.1721515284806; Sat, 20 Jul 2024 15:41:24 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-368787cec6bsm4690294f8f.71.2024.07.20.15.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jul 2024 15:41:24 -0700 (PDT) From: Sharlatan Hellseher Date: Sat, 20 Jul 2024 23:40:47 +0100 Message-ID: <5606b510e79a09fe64edfab6b8ab66bb9bc7f9eb.1721514686.git.sharlatanus@gmail.com> 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-science.scm (python-fast-histogram): Fix lint warnings and adjust inputs. [native-inputs]: Add python-setuptools-scm. Change-Id: Ic51660d7542114f2bb45be4720ab4d899633e56d --- gnu/packages/python-science.scm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 8ba3432637..7012a942d3 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1551,17 +1551,20 @@ (define-public python-fast-histogram (lambda _ (invoke "python" "setup.py" "build_ext" "--inplace")))))) (propagated-inputs (list python-numpy)) - (native-inputs (list python-hypothesis python-pytest)) + (native-inputs + (list python-hypothesis + python-pytest + python-setuptools-scm)) (home-page "https://github.com/astrofrog/fast-histogram") (synopsis "Fast simple 1D and 2D histograms") (description "The fast-histogram mini-package aims to provide simple and fast -histogram functions for regular bins that don't compromise on performance. It +histogram functions for regular bins that don't compromise on performance. It doesn't do anything complicated - it just implements a simple histogram -algorithm in C and keeps it simple. The aim is to have functions that are fast -but also robust and reliable. The result is a 1D histogram function here that -is 7-15x faster than @code{numpy.histogram}, and a 2D histogram function that -is 20-25x faster than @code{numpy.histogram2d}.") +algorithm in C and keeps it simple. The aim is to have functions that are +fast but also robust and reliable. The result is a 1D histogram function here +that is 7-15x faster than @code{numpy.histogram}, and a 2D histogram function +that is 20-25x faster than @code{numpy.histogram2d}.") (license license:bsd-3))) (define-public python-fastcluster