[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: python-multipart: Fix test failure due to PyYAML 6.
From: |
guix-commits |
Subject: |
01/06: gnu: python-multipart: Fix test failure due to PyYAML 6. |
Date: |
Fri, 6 May 2022 04:17:57 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit b95e3dc17cc8f4ba4f7796a12c34837dd4af164b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu May 5 12:27:51 2022 +0200
gnu: python-multipart: Fix test failure due to PyYAML 6.
* gnu/packages/python-xyz.scm (python-multipart)[arguments]: Patch instance
of
yaml.load.
---
gnu/packages/python-xyz.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 82d297af3b..a37dc5e9e2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29393,7 +29393,11 @@ writing STL files. It supports both the text and
binary forms of STL.")
(lambda _
(substitute* "setup.py"
(("test_suite = 'multipart.tests.suite'")
- "test_suite =
'multipart.tests.test_multipart.suite'")))))))
+ "test_suite =
'multipart.tests.test_multipart.suite'"))
+ ;; Needed by PyYAML 6.0.
+ (substitute* "multipart/tests/test_multipart.py"
+ (("yaml_data = yaml.load\\(f\\)")
+ "yaml_data = yaml.load(f,
Loader=yaml.SafeLoader)")))))))
(home-page "https://github.com/andrew-d/python-multipart")
(synopsis "Streaming multipart parser for Python")
(description
- branch master updated (312879fddc -> a2fb35e43d), guix-commits, 2022/05/06
- 04/06: gnu: Add python-kneed., guix-commits, 2022/05/06
- 05/06: gnu: python-traitlets: Update to 5.1.1., guix-commits, 2022/05/06
- 03/06: gnu: Add python-databases., guix-commits, 2022/05/06
- 01/06: gnu: python-multipart: Fix test failure due to PyYAML 6.,
guix-commits <=
- 02/06: gnu: python-anyio: Update to 3.5.0., guix-commits, 2022/05/06
- 06/06: gnu: python-ipython: Add missing input., guix-commits, 2022/05/06