GNU bug report logs -
#34592
[PATCH] gnu: python-fenics-dijitso: Fix build.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34592 in the body.
You can then email your comments to 34592 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#34592
; Package
guix-patches
.
(Wed, 20 Feb 2019 16:15:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paul Garlick <pgarlick <at> tourbillion-technology.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 20 Feb 2019 16:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/simulation.scm (python-fenics-dijitso)[arguments]: Skip
parallel tests.
---
gnu/packages/simulation.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 20b62f3..3637cc3 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -268,6 +268,11 @@ problems for efficient solution on parallel systems.")
(setenv "PYTHONPATH"
(string-append (getcwd) ":" (getenv "PYTHONPATH")))
(with-directory-excursion "test"
+ ;; Disable parallel tests to avoid race condition. See
+ ;; https://github.com/pytest-dev/pytest-cov/issues/237.
+ (substitute* "runtests.sh"
+ (("for p in 1 4 8 16; do")
+ "for p in 1; do"))
(invoke "./runtests.sh"))
#t)))))
(home-page "https://bitbucket.org/fenics-project/dijitso/")
--
1.8.3.1
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Wed, 20 Feb 2019 20:41:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Paul Garlick <pgarlick <at> tourbillion-technology.com>
:
bug acknowledged by developer.
(Wed, 20 Feb 2019 20:41:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 34592-done <at> debbugs.gnu.org (full text, mbox):
Paul Garlick <pgarlick <at> tourbillion-technology.com> writes:
> * gnu/packages/simulation.scm (python-fenics-dijitso)[arguments]: Skip
> parallel tests.
> ---
> gnu/packages/simulation.scm | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
> index 20b62f3..3637cc3 100644
> --- a/gnu/packages/simulation.scm
> +++ b/gnu/packages/simulation.scm
> @@ -268,6 +268,11 @@ problems for efficient solution on parallel systems.")
> (setenv "PYTHONPATH"
> (string-append (getcwd) ":" (getenv "PYTHONPATH")))
> (with-directory-excursion "test"
> + ;; Disable parallel tests to avoid race condition. See
> + ;; https://github.com/pytest-dev/pytest-cov/issues/237.
> + (substitute* "runtests.sh"
> + (("for p in 1 4 8 16; do")
> + "for p in 1; do"))
> (invoke "./runtests.sh"))
> #t)))))
> (home-page "https://bitbucket.org/fenics-project/dijitso/")
I wondered if we could use the #:parallel-tests? argument instead, but
the python-build-system does not support it. This approach looks fine
to me.
Thanks!
I pushed it to the master branch with commit 7a82074ca6.
--
Ricardo
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 21 Mar 2019 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 149 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.