diff options
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 41 |
1 files changed, 13 insertions, 28 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d90b9e9c40c..ef7c5ba47b8 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -3608,17 +3608,6 @@ other HTTP libraries.") | |||
| 3608 | (build-system pyproject-build-system) | 3608 | (build-system pyproject-build-system) |
| 3609 | (arguments | 3609 | (arguments |
| 3610 | (list | 3610 | (list |
| 3611 | #:phases | ||
| 3612 | #~(modify-phases %standard-phases | ||
| 3613 | (add-after 'unpack 'patch-pyproject | ||
| 3614 | (lambda _ | ||
| 3615 | (substitute* "pyproject.toml" | ||
| 3616 | (("\"cherrypy.scaffold\",") | ||
| 3617 | (string-join | ||
| 3618 | (list "\"cherrypy.scaffold\"" | ||
| 3619 | "\"cherrypy._private_api\"" | ||
| 3620 | "\"cherrypy._private_api.compat\",") | ||
| 3621 | ",\n ")))))) | ||
| 3622 | #:test-flags | 3611 | #:test-flags |
| 3623 | #~(map | 3612 | #~(map |
| 3624 | (lambda (test) | 3613 | (lambda (test) |
| @@ -3633,35 +3622,31 @@ other HTTP libraries.") | |||
| 3633 | "test_session.py::SessionTest::test_2_File_Concurrency" | 3622 | "test_session.py::SessionTest::test_2_File_Concurrency" |
| 3634 | ;; assert b'RamSession' == b'FileSession' or FileNotFoundError | 3623 | ;; assert b'RamSession' == b'FileSession' or FileNotFoundError |
| 3635 | "test_session.py::SessionTest::test_3_Redirect" | 3624 | "test_session.py::SessionTest::test_3_Redirect" |
| 3636 | "test_session.py::SessionTest::test_4_File_deletion" | 3625 | "test_session.py::SessionTest::test_4_File_deletion")) |
| 3637 | ;; XXX: Unraisable exceptions. | ||
| 3638 | "test_conn.py::LimitedRequestQueueTests::test_queue_full" | ||
| 3639 | "test_config_server.py::ServerConfigTests::testMaxRequestSize" | ||
| 3640 | "test_core.py::CoreRequestHandlingTest::testRanges" | ||
| 3641 | "test_core.py::CoreRequestHandlingTest::testRedirect" | ||
| 3642 | "test_encoding.py::EncodingTests::\ | ||
| 3643 | test_multipart_decoding_bigger_maxrambytes" | ||
| 3644 | "test_encoding.py::EncodingTests::\ | ||
| 3645 | test_test_http.py::HTTPTests::test_post_filename_with_special_characters" | ||
| 3646 | "test_http.py::HTTPTests::test_post_multipart" | ||
| 3647 | "test_http.py::HTTPTests::test_post_filename_with_special_characters" | ||
| 3648 | "test_mime.py::SafeMultipartHandlingTest::test_Flash_Upload" | ||
| 3649 | "test_tutorials.py::TutorialTest::test09Files")) | ||
| 3650 | #:phases | 3626 | #:phases |
| 3651 | #~(modify-phases %standard-phases | 3627 | #~(modify-phases %standard-phases |
| 3652 | (add-after 'unpack 'fix-pytest-config | 3628 | (add-after 'unpack 'fix-pytest-config |
| 3653 | (lambda _ | 3629 | (lambda _ |
| 3654 | ;; See: <https://codeberg.org/guix/guix/issues/7476>. | 3630 | ;; See: <https://codeberg.org/guix/guix/issues/7476>. |
| 3655 | (delete-file "pytest.ini")))))) | 3631 | (delete-file "pytest.ini"))) |
| 3632 | (add-after 'unpack 'patch-pyproject | ||
| 3633 | (lambda _ | ||
| 3634 | (substitute* "pyproject.toml" | ||
| 3635 | (("\"cherrypy.scaffold\",") | ||
| 3636 | (string-join | ||
| 3637 | (list "\"cherrypy.scaffold\"" | ||
| 3638 | "\"cherrypy._private_api\"" | ||
| 3639 | "\"cherrypy._private_api.compat\",") | ||
| 3640 | ",\n ")))))))) | ||
| 3656 | (propagated-inputs | 3641 | (propagated-inputs |
| 3657 | (list python-cheroot | 3642 | (list python-cheroot |
| 3643 | python-filelock | ||
| 3658 | python-jaraco-collections | 3644 | python-jaraco-collections |
| 3659 | python-more-itertools | 3645 | python-more-itertools |
| 3660 | python-portend | 3646 | python-portend |
| 3661 | python-zc-lockfile)) | 3647 | python-zc-lockfile)) |
| 3662 | (native-inputs | 3648 | (native-inputs |
| 3663 | (list python-filelock | 3649 | (list python-flaky |
| 3664 | python-flaky | ||
| 3665 | python-objgraph | 3650 | python-objgraph |
| 3666 | python-path | 3651 | python-path |
| 3667 | python-pytest | 3652 | python-pytest |
