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
This commit is contained in:
Ricardo Wurmus 2024-04-21 19:34:38 +02:00
parent a78de8f792
commit c0c713be66
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -17579,8 +17579,11 @@ (define-public python-omegaconf
(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))