GNU bug report logs -
#70997
[PATCH] gnu: python-scikit-image: Disable test_ellipse_parameter_stability.
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Fri, 17 May 2024 08:02:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70997 in the body.
You can then email your comments to 70997 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#70997
; Package
guix-patches
.
(Fri, 17 May 2024 08:02:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christopher Baines <mail <at> cbaines.net>
:
New bug report received and forwarded. Copy sent to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org
.
(Fri, 17 May 2024 08:02:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
As it's flaky, see https://github.com/scikit-image/scikit-image/issues/7061
* gnu/packages/python-science.scm (python-scikit-image)[arguments]: Add 'patch
phase.
Change-Id: Ic1fc301eb0fad5330c34780ce096c446c1076824
---
gnu/packages/python-science.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 861badad2e..d1a43b23ed 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -475,6 +475,13 @@ (define-public python-scikit-image
(list
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda _
+ ;; Disable flaky test
+ (substitute* "skimage/measure/tests/test_fit.py"
+ (("def test_ellipse_parameter_stability():")
+ "@pytest.mark.xfail(reason=\"https://github.com/scikit-image/scikit-image/issues/7061\")
+def test_ellipse_parameter_stability():"))))
(add-before 'build 'change-home-dir
(lambda _
;; Change from /homeless-shelter to /tmp for write permission.
base-commit: 0846eaecd45783bf40e8dc67b0c16f71068524b7
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#70997
; Package
guix-patches
.
(Fri, 17 May 2024 16:03:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 70997 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Christopher
I think you may add the test to ignore list without substituting it.
--8<---------------cut here---------------start------------->8---
#:test-flags #~(list "-k" "test_ellipse_parameter_stability")
--8<---------------cut here---------------end--------------->8---
--
Oleg
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Christopher Baines <mail <at> cbaines.net>
:
You have taken responsibility.
(Sun, 26 May 2024 16:22:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Christopher Baines <mail <at> cbaines.net>
:
bug acknowledged by developer.
(Sun, 26 May 2024 16:22:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 70997-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:
> I think you may add the test to ignore list without substituting it.
>
> --8<---------------cut here---------------start------------->8---
> #:test-flags #~(list "-k" "test_ellipse_parameter_stability")
> --8<---------------cut here---------------end--------------->8---
Thanks for the suggestion, I think that actually selects the test to
run, but adding not to the start seems to skip the named test, so I've
pushed this as a4a45669c76f80d5126add818df22f42547bb4a2.
Chris
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 24 Jun 2024 11:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.