guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: python-chaospy: Ignore deprecation warnings.


From: guix-commits
Subject: branch master updated: gnu: python-chaospy: Ignore deprecation warnings.
Date: Wed, 24 Jan 2024 06:50:00 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 420692482f gnu: python-chaospy: Ignore deprecation warnings.
420692482f is described below

commit 420692482fdcd2488e030d9bdc9b7cc278f665d0
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jan 24 12:11:26 2024 +0100

    gnu: python-chaospy: Ignore deprecation warnings.
    
    * gnu/packages/statistics.scm (python-chaospy)[arguments]: Add phase
    'dont-treat-deprecation-warnings-as-error.
    
    Change-Id: Id06404f9e47f7084fefc2e72032882d49e5b546b
---
 gnu/packages/statistics.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index d649971839..f4b63247dc 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2250,6 +2250,15 @@ inference (VI) algorithms.")
                (base32
                 "1bn4jmwygs5h0dskbniivj20qblgm75pyi9hcjf47r25kawd730m"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; The deprecation warnings break the tests.
+          (add-after 'unpack 'dont-treat-deprecation-warnings-as-error
+            (lambda _
+              (substitute* "pyproject.toml"
+                (("\"error::DeprecationWarning\",") "")))))))
     (propagated-inputs (list python-importlib-metadata python-numpoly
                              python-numpy python-scipy))
     (native-inputs (list python-pytest python-scikit-learn))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]