unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67572: tests fail for python-sphinx-prompt
@ 2023-12-01 20:31 Vagrant Cascadian
  2023-12-01 21:17 ` Vagrant Cascadian
  2023-12-02  7:10 ` Lars-Dominik Braun
  0 siblings, 2 replies; 3+ messages in thread
From: Vagrant Cascadian @ 2023-12-01 20:31 UTC (permalink / raw)
  To: 67572; +Cc: lars-dominik braun, jgart, marius bakke, munyoki kilyungi

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

X-Debbugs-Cc: Lars-Dominik Braun <lars@6xq.net>, jgart@dismail.de, Marius Bakke <marius@gnu.org>, Munyoki Kilyungi <me@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#67572: tests fail for python-sphinx-prompt
  2023-12-01 20:31 bug#67572: tests fail for python-sphinx-prompt Vagrant Cascadian
@ 2023-12-01 21:17 ` Vagrant Cascadian
  2023-12-02  7:10 ` Lars-Dominik Braun
  1 sibling, 0 replies; 3+ messages in thread
From: Vagrant Cascadian @ 2023-12-01 21:17 UTC (permalink / raw)
  To: 67572; +Cc: Munyoki Kilyungi, jgart, Lars-Dominik Braun, Marius Bakke

[-- Attachment #1: Type: text/plain, Size: 1939 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#67572: tests fail for python-sphinx-prompt
  2023-12-01 20:31 bug#67572: tests fail for python-sphinx-prompt Vagrant Cascadian
  2023-12-01 21:17 ` Vagrant Cascadian
@ 2023-12-02  7:10 ` Lars-Dominik Braun
  1 sibling, 0 replies; 3+ messages in thread
From: Lars-Dominik Braun @ 2023-12-02  7:10 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: munyoki kilyungi, jgart, 67572-done, marius bakke

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-02  7:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-01 20:31 bug#67572: tests fail for python-sphinx-prompt Vagrant Cascadian
2023-12-01 21:17 ` Vagrant Cascadian
2023-12-02  7:10 ` Lars-Dominik Braun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).