guix-commits
[Top][All Lists]
Advanced

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

56/57: gnu: python-omegaconf: Fix build system errors.


From: guix-commits
Subject: 56/57: gnu: python-omegaconf: Fix build system errors.
Date: Mon, 22 Apr 2024 05:36:35 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit c0c713be66d31a4be951acf0c2c09d0824531816
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Apr 21 19:34:38 2024 +0200

    gnu: python-omegaconf: Fix build system errors.
    
    * gnu/packages/python-xyz.scm (python-omegaconf)[arguments]: Fix syntax 
error
    in version specification; do not trigger errors on deprecation warnings.
    
    Change-Id: Ida873c11255ffb65d888378cdd77a9205163016a
---
 gnu/packages/python-xyz.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4996bdce0f..9c76271118 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17579,8 +17579,11 @@ config files.")
                (add-after 'unpack 'loosen-requirements
                  (lambda _
                    (substitute* "requirements/base.txt"
-                     (("antlr4-python3-runtime==")
-                      "antlr4-python3-runtime>=")))))))
+                     (("antlr4-python3-runtime==.*")
+                      "antlr4-python3-runtime >=4.9\n"))
+                   ;; Ignore deprecation warnings.
+                   (substitute* "pyproject.toml"
+                     (("-Werror") "")))))))
     (propagated-inputs (list java-antlr4-runtime-python
                              python-pydevd
                              python-pyyaml))



reply via email to

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