aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-04-21 19:34:38 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-04-22 11:29:31 +0200
commitc0c713be66d31a4be951acf0c2c09d0824531816 (patch)
treeb4a289f7398f389010d92a025a3764ed23a254e3 /gnu
parenta78de8f7920415ab582ca7899a43c45ca80fa9ef (diff)
downloadguix-c0c713be66d31a4be951acf0c2c09d0824531816.tar.gz
guix-c0c713be66d31a4be951acf0c2c09d0824531816.zip
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm7
1 files 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))