GNU bug report logs - #67643
[PATCH 0/2] Add python-bambi.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Tue, 5 Dec 2023 15:29:01 UTC

Severity: normal

Tags: patch

Full log


Message #11 received at 67643 <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: 67643 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 1/2] gnu: Add python-formulae.
Date: Tue,  5 Dec 2023 15:30:18 +0000
* 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





This bug report was last modified 1 year and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.