lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 0d9e7d92cb7f2767db4b211d0811af3f6982403f
Author: Lars-Dominik Braun <[email protected]>
AuthorDate: Wed Dec 29 19:15:32 2021 +0100
gnu: python-pytest-remotedata: Disable tests.
* gnu/packages/python-check.scm (python-pytest-remotedata)[arguments]:
Migrate custom #:phases to #:test-flags, but disable tests.
---
gnu/packages/python-check.scm | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 15d37a2b39..54a3dfcac3 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -655,17 +655,9 @@ were inadvertently left open at the end of a unit test.")
(base32 "1h6g6shib6z07azf12rnsa053470ggbd7hy3bnbw8nf3nza5h372"))))
(build-system python-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; Make the installed plugin discoverable by Pytest.
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv" "-k"
- (string-append
- ;; These tests require internet access. Disable them.
- "not test_default_behavior"
- " and not test_strict_with_decorator")))))))
+ '(#:tests? #f ; TODO: Tests never terminate.
+ #:test-flags '("-vvv" "-k"
+ "not test_default_behavior and not
test_strict_with_decorator")))
(native-inputs
(list python-pytest))
(propagated-inputs