[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: |
Wed, 11 May 2022 18:03:25 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 6ba01efd6c098c2c8a2384730ca5ef4b540b1560
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 5cb45305b5..1ce59d0e6b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30665,6 +30665,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'"))
- 163/242: gnu: python-jupyter-server: Update to 1.16.0., (continued)
- 163/242: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/05/11
- 164/242: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/05/11
- 165/242: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/05/11
- 173/242: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/05/11
- 175/242: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/05/11
- 178/242: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/05/11
- 166/242: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/05/11
- 172/242: gnu: python-readme-renderer: Update to 34.0., guix-commits, 2022/05/11
- 176/242: gnu: Add python-bson., guix-commits, 2022/05/11
- 169/242: gnu: xeus: Update to 2.4.1., guix-commits, 2022/05/11
- 185/242: gnu: python-multipart: Fix build with PyYAML 6.,
guix-commits <=
- 174/242: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/05/11
- 184/242: gnu: sshoot: Update to 1.5.1., guix-commits, 2022/05/11
- 189/242: gnu: Add python-mdx-gh-links., guix-commits, 2022/05/11
- 194/242: gnu: Remove python2-jmespath., guix-commits, 2022/05/11
- 192/242: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/05/11
- 203/242: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/05/11
- 205/242: gnu: python-keyring: Fix test suite., guix-commits, 2022/05/11
- 195/242: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/05/11
- 200/242: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/11
- 201/242: gnu: markets: Add python-wrapper to fix build., guix-commits, 2022/05/11