GNU bug report logs - #67572
tests fail for python-sphinx-prompt

Previous Next

Package: guix;

Reported by: Vagrant Cascadian <vagrant <at> debian.org>

Date: Fri, 1 Dec 2023 20:33:02 UTC

Severity: normal

Done: Lars-Dominik Braun <lars <at> 6xq.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 67572 in the body.
You can then email your comments to 67572 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to lars <at> 6xq.net, jgart <at> dismail.de, marius <at> gnu.org, me <at> bonfacemunyoki.com, bug-guix <at> gnu.org:
bug#67572; Package guix. (Fri, 01 Dec 2023 20:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant <at> debian.org>:
New bug report received and forwarded. Copy sent to lars <at> 6xq.net, jgart <at> dismail.de, marius <at> gnu.org, me <at> bonfacemunyoki.com, bug-guix <at> gnu.org. (Fri, 01 Dec 2023 20:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: bug-guix <at> gnu.org
Subject: tests fail for python-sphinx-prompt
Date: Fri, 01 Dec 2023 12:31:58 -0800
[Message part 1 (text/plain, inline)]
X-Debbugs-Cc: Lars-Dominik Braun <lars <at> 6xq.net>, jgart <at> dismail.de, Marius Bakke <marius <at> gnu.org>, Munyoki Kilyungi <me <at> bonfacemunyoki.com>

All 12 of the tests for python-sphinx-prompt fail:

  https://ci.guix.gnu.org/build/2678884/log/raw

I tried updating python-sphinx-prompt to the newer 1.8.x version, which
switched to pyproject and poetry, but may require a newer version of
poetry. Someone else with more experience packaging python might want to
give it a try...

live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#67572; Package guix. (Fri, 01 Dec 2023 21:18:01 GMT) Full text and rfc822 format available.

Message #8 received at 67572 <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: 67572 <at> debbugs.gnu.org
Cc: Munyoki Kilyungi <me <at> bonfacemunyoki.com>, jgart <at> dismail.de,
 Lars-Dominik Braun <lars <at> 6xq.net>, Marius Bakke <marius <at> gnu.org>
Subject: Re: tests fail for python-sphinx-prompt
Date: Fri, 01 Dec 2023 13:17:14 -0800
[Message part 1 (text/plain, inline)]
On 2023-12-01, Vagrant Cascadian wrote:
> All 12 of the tests for python-sphinx-prompt fail:
>
>   https://ci.guix.gnu.org/build/2678884/log/raw
>
> I tried updating python-sphinx-prompt to the newer 1.8.x version, which
> switched to pyproject and poetry, but may require a newer version of
> poetry. Someone else with more experience packaging python might want to
> give it a try...

I also tried updating to the 1.7.0 version, and that managed to get
*some* of the tests to pass. I could not get 1.8.0 to build at all;
maybe needs new python-poetry-core version?

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index eee1f1c4a8..2a8f35d387 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -625,7 +625,7 @@ (define-public python-sphinx-repoze-autointerface
 (define-public python-sphinx-prompt
   (package
     (name "python-sphinx-prompt")
-    (version "1.5.0")
+    (version "1.7.0")
     (source
      (origin
        (method git-fetch)               ; no source release in PyPI
@@ -634,8 +634,8 @@ (define-public python-sphinx-prompt
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0x9wmgf04rzivbzp7jv1b7fkhkpi02lpk5w1qf4i7bcgih00ym8a"))))
-    (build-system python-build-system)
+        (base32 "0hq2apa5dgznbqnnlvykhwq74jcnjfl7gzmkncj8q1mwqm558z7x"))))
+    (build-system pyproject-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
@@ -645,7 +645,7 @@ (define-public python-sphinx-prompt
                (add-installed-pythonpath inputs outputs)
                (invoke "python" "-m" "pytest")))))))
     (native-inputs
-     (list python-pytest python-sphinx))
+     (list python-pytest python-sphinx python-poetry-core))
     (home-page "https://github.com/sbrunner/sphinx-prompt")
     (synopsis "Sphinx directive to add unselectable prompt")
     (description

live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

Reply sent to Lars-Dominik Braun <lars <at> 6xq.net>:
You have taken responsibility. (Sat, 02 Dec 2023 07:11:02 GMT) Full text and rfc822 format available.

Notification sent to Vagrant Cascadian <vagrant <at> debian.org>:
bug acknowledged by developer. (Sat, 02 Dec 2023 07:11:02 GMT) Full text and rfc822 format available.

Message #13 received at 67572-done <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Vagrant Cascadian <vagrant <at> debian.org>
Cc: munyoki kilyungi <me <at> bonfacemunyoki.com>, jgart <at> dismail.de,
 67572-done <at> debbugs.gnu.org, marius bakke <marius <at> gnu.org>
Subject: Re: bug#67572: tests fail for python-sphinx-prompt
Date: Sat, 2 Dec 2023 08:10:20 +0100
Hi,

> All 12 of the tests for python-sphinx-prompt fail:
> 
>   https://ci.guix.gnu.org/build/2678884/log/raw

fixed by commit 877086a8649a86f1556bddd430e9478b2562f365.

Cheers,
Lars





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 Dec 2023 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 231 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.