Subject: bug#66389: closed (Re: [bug#66389] [PATCH] gnu: Add python-emcee.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 03 Nov 2023 22:47:02 +0000

Your bug report

#66389: [PATCH] gnu: Add python-emcee.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
66389: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66389
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#66389] [PATCH] gnu: Add python-emcee.
From: Vinicius Monego <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Fri, 3 Nov 2023 22:45:46 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Em 23/10/2023 18:53, Ludovic Courtès escreveu:
> Vinicius Monego <[email-masked]> skribis:
>
>> * gnu/packages/statistics.scm (python-emcee): New variable.
> LGTM!

Applied, thanks!

Subject: [PATCH] gnu: Add python-emcee.
From: Vinicius Monego <[email-masked]>
To: [email-masked]
Cc: Vinicius Monego <[email-masked]>
Date: Sat, 7 Oct 2023 12:08:41 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/statistics.scm (python-emcee): New variable.
---
 gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index df6ae4497c..e100593284 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2354,6 +2354,29 @@ (define-public python-mapie
 conformal prediction methods intervals.")
     (license license:bsd-3)))
 
+(define-public python-emcee
+  (package
+    (name "python-emcee")
+    (version "3.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "emcee" version))
+       (sha256
+        (base32 "1vbz67cwzig28dlndkm6g246p1vcvj6yy2w65z8cdyffigf1j3lf"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-numpy))
+    (native-inputs (list python-coverage
+                         python-pytest
+                         python-pytest-cov
+                         python-setuptools-scm))
+    (home-page "https://emcee.readthedocs.io/en/stable/")
+    (synopsis "Ensemble sampling toolkit for MCMC")
+    (description
+     "@code{emcee} is a Python implementation of the affine-invariant ensemble
+sampler for Markov chain Monte Carlo (MCMC).")
+    (license license:expat)))
+
 (define-public python-statsmodels
   (package
     (name "python-statsmodels")

base-commit: 6d5a75c70e32f563f0ec6bbaf65596c15c6ac10f
-- 
2.39.2