[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates updated: gnu: python-geventhttpclient: Disable test
From: |
guix-commits |
Subject: |
branch core-updates updated: gnu: python-geventhttpclient: Disable test that fails with Python 3.8. |
Date: |
Fri, 24 Apr 2020 18:25:26 -0400 |
This is an automated email from the git hooks/post-receive script.
mbakke pushed a commit to branch core-updates
in repository guix.
The following commit(s) were added to refs/heads/core-updates by this push:
new 6ac6c1d gnu: python-geventhttpclient: Disable test that fails with
Python 3.8.
6ac6c1d is described below
commit 6ac6c1d28d8a89d0f9b0f15e7df2a011f24aa091
Author: Marius Bakke <address@hidden>
AuthorDate: Sat Apr 25 00:11:53 2020 +0200
gnu: python-geventhttpclient: Disable test that fails with Python 3.8.
* gnu/packages/python-web.scm (python-geventhttpclient)[arguments]: In the
check phase, add pytest flag to filter broken test. While at it, don't
reorder the phase, as it now runs after install by default.
---
gnu/packages/python-web.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5423aa9..a73128a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1978,14 +1978,16 @@ library.")
(lambda _
(delete-file "src/geventhttpclient/tests/test_client.py")
#t))
- (delete 'check)
- (add-after 'install 'check
+ (replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(invoke "py.test" "src/geventhttpclient/tests" "-v"
;; Append the test modules to sys.path to avoid
;; namespace conflict which breaks SSL tests.
- "--import-mode=append")
+ "--import-mode=append"
+ ;; XXX: Disable test fails with Python 3.8:
+ ;; https://github.com/gwik/geventhttpclient/issues/119
+ "-k" (string-append "not test_cookielib_compatibility"))
#t)))))
(native-inputs
`(("python-pytest" ,python-pytest)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates updated: gnu: python-geventhttpclient: Disable test that fails with Python 3.8.,
guix-commits <=