[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: python-pyzmq: Enable the draft test.
From: |
guix-commits |
Subject: |
branch master updated: gnu: python-pyzmq: Enable the draft test. |
Date: |
Sat, 08 Jul 2023 01:20:12 -0400 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 697e7d6324 gnu: python-pyzmq: Enable the draft test.
697e7d6324 is described below
commit 697e7d632418ba024c505a5a60d1273e4732a389
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jul 8 01:18:08 2023 -0400
gnu: python-pyzmq: Enable the draft test.
* gnu/packages/python-xyz.scm (python-pyzmq) [arguments]: Delete the
disable-problematic-tests phase and add a configure phase.
---
gnu/packages/python-xyz.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a89f25b5b6..f196d7a816 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11973,11 +11973,11 @@ applications.")
(list (string-append "--zmq=" (assoc-ref %build-inputs "zeromq")))
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'disable-problematic-tests
+ (add-before 'build 'configure
(lambda _
- ;; FIXME: The test_draft.TestDraftSockets test fails with:
- ;; zmq.error.Again: Resource temporarily unavailable
- (delete-file "zmq/tests/test_draft.py")))
+ ;; Our zeromq package is built with '--enable-drafts'; also
+ ;; enable draft support for pyzmq so the draft test passes.
+ (setenv "ZMQ_DRAFT_API" "1")))
(add-before 'check 'build-extensions
(lambda _
;; Cython extensions have to be built before running the tests.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: python-pyzmq: Enable the draft test.,
guix-commits <=