guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 93fc81db2cffee8397c620c85da90ead06cb4c03
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Mon Aug 24 09:50:24 2026 +0200

    gnu: python-sphinx-inline-tabs: Update to 2025.12.21.14-0.cd6ba39.
    
    * gnu/packages/sphinx.scm (python-sphinx-inline-tabs): Update to
    2025.12.21.14-0.cd6ba39.
    [arguments]<#:tests?>: Enable tests.
    <#:test-flags>: Disable failing tests.
    [native-inputs]: Add python-beautifulsoup4, python-myst-parser, 
python-pytest,
    and python-pytest-regressions.
    
    Relates-to: guix/guix!10772
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/sphinx.scm | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index eca3b4f109..f19bf49794 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -807,17 +807,35 @@ Blog, News or Announcements section to a Sphinx website.")
 (define-public python-sphinx-inline-tabs
   (package
     (name "python-sphinx-inline-tabs")
-    (version "2023.4.21")
+    ;; Tests of latest release are not compatible with Sphinx 9.
+    (properties '((commit . "cd6ba391a3e9a0f0917c483c0a9aa27f3655adc7")
+                  (revision . "0")))
+    (version (git-version "2025.12.21.14"
+                          (assoc-ref properties 'revision)
+                          (assoc-ref properties 'commit)))
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "sphinx_inline_tabs" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/pradyunsg/sphinx-inline-tabs";)
+              (commit (assoc-ref properties 'commit))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1g5yhdk208i8maippnbnijd1knpai809wl3cbwzqy59cc0zz3wjx"))))
+        (base32 "0ckp5hsxy1fdf5scrkc4fbymqh5awbcpq0y8acv2pnyrb4ga3hdx"))))
     (build-system pyproject-build-system)
     (arguments
-     (list #:tests? #f)) ; no tests in the release, only in the main branch
-    (native-inputs (list python-flit-core
+     (list
+      #:test-flags
+      #~(list
+         ;; All xml related tests fail with this difference:
+         ;; -        <container classes="tab-content" is_div="True">
+         ;; +        <container classes="tab-content" is_div="1">
+         "-k not basic-xml and not multiple-xml")))
+    (native-inputs (list python-beautifulsoup4
+                         python-flit-core
+                         python-myst-parser
+                         python-pytest
+                         python-pytest-regressions
                          python-sphinx))
     (home-page "https://github.com/pradyunsg/sphinx-inline-tabs";)
     (synopsis "Add inline tabbed content to your Sphinx documentation")

Reply via email to