[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
185/233: gnu: python-multipart: Fix build with PyYAML 6.
From: |
guix-commits |
Subject: |
185/233: gnu: python-multipart: Fix build with PyYAML 6. |
Date: |
Sun, 24 Apr 2022 23:40:03 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 934e4e7ad33201dfe77642b3ba21952bb14b99f6
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 7ffe3a65ce..dde6748cf1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30559,6 +30559,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'")))))))
- 149/233: gnu: python-fakeredis: Update to 1.7.1., (continued)
- 149/233: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/04/24
- 159/233: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/04/24
- 160/233: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/04/24
- 163/233: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/04/24
- 165/233: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/24
- 169/233: gnu: xeus: Update to 2.4.1., guix-commits, 2022/04/24
- 172/233: gnu: python-readme-renderer: Update to 34.0., guix-commits, 2022/04/24
- 176/233: gnu: Add python-bson., guix-commits, 2022/04/24
- 183/233: gnu: Add python-toolrack., guix-commits, 2022/04/24
- 173/233: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/04/24
- 185/233: gnu: python-multipart: Fix build with PyYAML 6.,
guix-commits <=
- 188/233: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/04/24
- 191/233: gnu: Add python-crccheck., guix-commits, 2022/04/24
- 196/233: gnu: python-miio: Update to 0.5.11., guix-commits, 2022/04/24
- 198/233: gnu: Add python-pydyf., guix-commits, 2022/04/24
- 202/233: gnu: libgrss: Use libsoup-minimal-2 to fix build., guix-commits, 2022/04/24
- 200/233: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/04/24
- 201/233: gnu: markets: Add python-wrapper to fix build., guix-commits, 2022/04/24
- 205/233: gnu: python-keyring: Fix test suite., guix-commits, 2022/04/24
- 206/233: gnu: Remove python2-keyring., guix-commits, 2022/04/24
- 210/233: snippets: Add a 'remove' snippet., guix-commits, 2022/04/24