[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
179/204: gnu: python-multipart: Fix build with PyYAML 6.
From: |
guix-commits |
Subject: |
179/204: gnu: python-multipart: Fix build with PyYAML 6. |
Date: |
Wed, 20 Apr 2022 02:03:43 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 0a92c650059fe9c6e3cd6d65880e6dedd7b77957
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 19 16:17:49 2022 -0400
gnu: python-multipart: Fix build with PyYAML 6.
* gnu/packages/python-xyz.scm (python-multipart)
[phases]{patch-test-suite}: Substitute yaml.load for yaml.safe_load.
---
gnu/packages/python-xyz.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7fa5f9ca88..5e299054b0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30563,6 +30563,10 @@ writing STL files. It supports both the text and
binary forms of STL.")
;; There is a bug in the test_suit specification.
(add-after 'unpack 'patch-test-suite
(lambda _
+ ;; Make compatible with PyYAML 6.
+ (substitute* "multipart/tests/test_multipart.py"
+ (("yaml.load")
+ "yaml.safe_load"))
(substitute* "setup.py"
(("test_suite = 'multipart.tests.suite'")
"test_suite =
'multipart.tests.test_multipart.suite'")))))))
- 131/204: gnu: Add python-openapi-spec-validator., (continued)
- 131/204: gnu: Add python-openapi-spec-validator., guix-commits, 2022/04/20
- 138/204: gnu: Add python-socksio., guix-commits, 2022/04/20
- 151/204: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/04/20
- 154/204: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/04/20
- 160/204: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/04/20
- 162/204: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/04/20
- 163/204: gnu: xeus: Update to 2.4.1., guix-commits, 2022/04/20
- 168/204: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/04/20
- 172/204: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/04/20
- 173/204: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/04/20
- 179/204: gnu: python-multipart: Fix build with PyYAML 6.,
guix-commits <=
- 182/204: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/04/20
- 185/204: gnu: Add python-crccheck., guix-commits, 2022/04/20
- 186/204: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/04/20
- 187/204: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/04/20
- 191/204: gnu: Remove python-orator due to being broken and unmaintained., guix-commits, 2022/04/20
- 192/204: gnu: Add python-pydyf., guix-commits, 2022/04/20
- 194/204: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/04/20
- 196/204: gnu: libgrss: Use libsoup-minimal-2 to fix build., guix-commits, 2022/04/20
- 161/204: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/04/20