From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UIWSGj1Cb2XmawAA9RJhRA:P1 (envelope-from ) for ; Tue, 05 Dec 2023 16:31:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UIWSGj1Cb2XmawAA9RJhRA (envelope-from ) for ; Tue, 05 Dec 2023 16:31:09 +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 4B8B93D7BA for ; Tue, 5 Dec 2023 16:31:09 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SutzNsGg; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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=1701790269; 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=h9kk4PRNo6M3nhqZKUgnQTrNx43XVPcMD+6LGnIb2QA=; b=sp247Hi33Io6CU6oil057XgQNYpLhq5f0mKH1OskXHKP1iVa207zK+AlSaF7RMTt7+RCtw tm0/DH3z80XlQ3JMc2LxhELSLa3XUdCzD0d1xIDP+1CThPlRMG/kOYM0FIThPYD+WB8y6D xkYLa6HYVrYxivtf/KDQBs9Zfvt/sevgFPjGjrKHGqF/va0KanZyWSRtHP0O7pcDv1zy9x HBZeityF2a6gnqXpZr90xWxFMy2AYKjcuTniTUft7qt76f1c2CtRvD20EFEHaFWxQDjb4F JfM5OUEu3yklv+LUvUhl5Z18Ny4niLQjmoKPSXMnaOeAMUss3WiZUIoMY+PZCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701790269; a=rsa-sha256; cv=none; b=SZaa2biWG2Bo72deEBSvcM8PXR2yk1mYPnUkjm4FVxYEmkLeSeUFtc0jsbHpJf56IV8j14 3LYdSEbI6HzQfDiag+heTyIDv5p0hK67VcugxCYo77YWtzjdGm3VSK18IqXIa2B2CD6FbT 4NnHs/1rCFSbsnwTfaWBhnrWpxfSpqpK8lFHUmLbsh4hNjI7hq7IegwYWGO1i8v5dTExAs Kbm4ZUjTCpIrWLQaDe1bBFhBKctHxkKI7TUR9iIrAw0/0IkdgA9MTkLkFiXcbBYnSXIfTG O96WaSO8JSrY4tevNRJtIbk5lA2ey8Qzg+rJLuCCR1hDW2YleFKB5A8xFUBc7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SutzNsGg; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAXNt-00006F-PW; Tue, 05 Dec 2023 10:30:53 -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 1rAXNs-00005e-8x for guix-patches@gnu.org; Tue, 05 Dec 2023 10:30:52 -0500 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 1rAXNr-0000sl-PF for guix-patches@gnu.org; Tue, 05 Dec 2023 10:30:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rAXO2-0006d0-TF for guix-patches@gnu.org; Tue, 05 Dec 2023 10:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67643] [PATCH 1/2] gnu: Add python-formulae. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Dec 2023 15:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67643 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67643@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 67643-submit@debbugs.gnu.org id=B67643.170179026125464 (code B ref 67643); Tue, 05 Dec 2023 15:31:02 +0000 Received: (at 67643) by debbugs.gnu.org; 5 Dec 2023 15:31:01 +0000 Received: from localhost ([127.0.0.1]:38087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAXO1-0006cX-BP for submit@debbugs.gnu.org; Tue, 05 Dec 2023 10:31:01 -0500 Received: from mout01.posteo.de ([185.67.36.65]:51261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAXNw-0006c7-2B for 67643@debbugs.gnu.org; Tue, 05 Dec 2023 10:31:00 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id ABBD5240029 for <67643@debbugs.gnu.org>; Tue, 5 Dec 2023 16:30:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1701790238; bh=cYdsvbueLyVastPYQYyiHOy6rjxWDcnIvMg7kAv0FG4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=SutzNsGgZaOEQeVF1yNESSVY859Et+U7oqY05+BFExoVUb2V7XUW5VtyaUyXKvXZP iB9fKcj2hOrazPrZctTQiD9GiTTtYDAtKCxSBPs04N3obgWJ8aApnuVTe/ExWLc3AX 2jYy4l9I1r5sZJDGiJr/h7YMSrNay5kq8zf2QRs9BP/rddmBbXxOniDwOLmElQx+hx aLWaoG4329qrS+wxdJ935vqZQhvV81VNl6Hs78+itWPLT3z5GuWqSSW5pQLQnKFGMS 7gT3gaHFXMFi7tohG2kaBUSjQ5BwXDWnQWBJCYMOX07t5AQo4Xyg+DoNnRMYSx/Qz8 c97ZaNiSUvFgA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Sl4HK5rPJz6trs; Tue, 5 Dec 2023 16:30:37 +0100 (CET) From: Vinicius Monego Date: Tue, 5 Dec 2023 15:30:18 +0000 Message-Id: <083385b33f32b09e11ef1bd4e1ce7063de8918fb.1701789886.git.monego@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.75 X-Spam-Score: -2.75 X-Migadu-Queue-Id: 4B8B93D7BA X-TUID: rj8LYsk+84r6 * gnu/packages/statistics.scm (python-formulae): New variable. Change-Id: I65f5c71fd30679b11fe370372d6992df54d86f19 --- gnu/packages/statistics.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 95cc948d9f..30c6a9483e 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2236,6 +2236,36 @@ (define-public python-pymc inference (VI) algorithms.") (license license:asl2.0))) +(define-public python-formulae + (package + (name "python-formulae") + (version "0.5.1") + (source (origin + (method git-fetch) ; PyPI is missing files required by tests + (uri (git-reference + (url "https://github.com/bambinos/formulae") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0s22ggsss1zrz3bdw1zm3kwbm07bdlp0v1af8xhw8ymcg9sqcsly")))) + (build-system pyproject-build-system) + (arguments + ;; AssertionError: approx() is not supported in a boolean context. + (list #:test-flags #~(list "-k" "not test_basic and not test_degree"))) + (propagated-inputs (list python-numpy python-pandas python-scipy)) + (native-inputs (list python-black + python-ipython + python-pylint + python-pytest + python-pytest-cov)) + (home-page "https://bambinos.github.io/formulae/") + (synopsis "Formulas for mixed-effects models in Python") + (description + "@code{formulae} is a Python library that implements Wilkinson’s formulas +for mixed-effects models.") + (license license:expat))) + (define-public python-chaospy (package (name "python-chaospy") -- 2.39.2