[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
185/242: gnu: python-multipart: Fix build with PyYAML 6.
From: |
guix-commits |
Subject: |
185/242: gnu: python-multipart: Fix build with PyYAML 6. |
Date: |
Thu, 12 May 2022 14:14:31 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit abca2b804740ec28d56f4ef291b07dfe913b5361
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 97eb3651a5..e86be67ddb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30677,6 +30677,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'"))
- 162/242: gnu: python-umap-learn: Update to 0.5.3., (continued)
- 162/242: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/05/12
- 167/242: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/05/12
- 174/242: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/05/12
- 175/242: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/05/12
- 172/242: gnu: python-readme-renderer: Update to 34.0., guix-commits, 2022/05/12
- 183/242: gnu: Add python-toolrack., guix-commits, 2022/05/12
- 197/242: gnu: Remove python-orator due to being broken and unmaintained., guix-commits, 2022/05/12
- 161/242: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/05/12
- 194/242: gnu: Remove python2-jmespath., guix-commits, 2022/05/12
- 195/242: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/05/12
- 185/242: gnu: python-multipart: Fix build with PyYAML 6.,
guix-commits <=
- 180/242: gnu: python-celery: Update to 5.2.6 and enable tests., guix-commits, 2022/05/12
- 179/242: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/05/12
- 191/242: gnu: Add python-crccheck., guix-commits, 2022/05/12
- 203/242: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/05/12
- 200/242: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/12
- 210/242: snippets: Add a 'remove' snippet., guix-commits, 2022/05/12
- 221/242: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/05/12
- 223/242: gnu: Add python-nptyping., guix-commits, 2022/05/12
- 220/242: gnu: python-sphinx-argparse: Update to 0.3.1., guix-commits, 2022/05/12
- 213/242: gnu: python-numpydoc: Update to 1.2.1., guix-commits, 2022/05/12