me
/
guix
Archived
1
0
Fork 0

gnu: python-multipart: Fix test failure due to PyYAML 6.

* gnu/packages/python-xyz.scm (python-multipart)[arguments]: Patch instance of
yaml.load.
Ricardo Wurmus 2022-05-05 12:27:51 +02:00
parent 312879fddc
commit b95e3dc17c
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 1 deletions

View File

@ -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