[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
185/232: gnu: python-multipart: Fix build with PyYAML 6.
From: |
guix-commits |
Subject: |
185/232: gnu: python-multipart: Fix build with PyYAML 6. |
Date: |
Sun, 24 Apr 2022 23:59:10 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 2a144c420865ee9f42c2e65c73afa8f3c454833b
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'")))))))
- 92/232: gnu: Add python-untangle., (continued)
- 92/232: gnu: Add python-untangle., guix-commits, 2022/04/24
- 93/232: gnu: python-black: Update to 22.3.0., guix-commits, 2022/04/24
- 105/232: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/24
- 110/232: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/04/24
- 119/232: gnu: Add python-docrepr., guix-commits, 2022/04/24
- 145/232: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/24
- 171/232: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/04/24
- 178/232: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/04/24
- 180/232: gnu: python-celery: Update to 5.2.6 and enable tests., guix-commits, 2022/04/24
- 181/232: gnu: Add python-argparse-addons., guix-commits, 2022/04/24
- 185/232: gnu: python-multipart: Fix build with PyYAML 6.,
guix-commits <=
- 190/232: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/04/24
- 77/232: gnu: Add python-fonttools-next., guix-commits, 2022/04/24
- 151/232: gnu: Add python-dictpath., guix-commits, 2022/04/24
- 163/232: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/04/24
- 176/232: gnu: Add python-bson., guix-commits, 2022/04/24
- 195/232: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/04/24
- 205/232: gnu: python-keyring: Fix test suite., guix-commits, 2022/04/24
- 214/232: gnu: python-sphinx: Update to 4.5.0., guix-commits, 2022/04/24
- 218/232: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., guix-commits, 2022/04/24
- 221/232: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/04/24