guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 631fd912f1a7bd85a30e7c5083579b1c949d2e8a
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Aug 18 13:06:12 2026 +0200

    gnu: snakemake: Improve dependents bootstrap.
    
    * gnu/packages/python-science.scm
    (python-snakemake-interface-logger-plugins-bootstrap): Add package.
    (python-snakemake-logger-plugin-rich-bootstrap): Likewise.
    (python-snakemake-interface-logger-plugins)[native-inputs]: Replace
    python-snakemake-logger-plugin-rich by
    python-snakemake-logger-plugin-rich-bootstrap.
    (python-snakemake-logger-plugin-rich)[propagated-inputs]: Replace
    python-snakemake-interface-logger-plugins-bootstrap by
    python-snakemake-interface-logger-plugins.
    [native-inputs]: Remove unused python-pytest.
    
    Merges: guix/guix!10625
    Reviewed-by: Hugo Buddelmeijer <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-science.scm | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index d9ade7a7db..32d3568c27 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -5858,7 +5858,7 @@ its executor plugins.")
     (propagated-inputs (list python-snakemake-interface-common))
     (native-inputs
      (list python-hatchling
-           python-snakemake-logger-plugin-rich
+           python-snakemake-logger-plugin-rich-bootstrap
            python-pytest))
     (home-page (string-append "https://github.com/snakemake/";
                               "python-snakemake-interface-logger-plugins"))
@@ -5868,6 +5868,12 @@ its executor plugins.")
 its logger plugins.")
     (license license:expat)))
 
+(define-public python-snakemake-interface-logger-plugins-bootstrap
+  (package/inherit python-snakemake-interface-logger-plugins
+    (name "python-snakemake-interface-logger-plugins-bootstrap")
+    (arguments (list #:tests? #f))
+    (native-inputs (list python-hatchling))))
+
 (define-public python-snakemake-interface-report-plugins
   (package
     (name "python-snakemake-interface-report-plugins")
@@ -6027,13 +6033,9 @@ Snakemake and its storage plugins.")
      (list python-pydantic
            python-rich
            python-snakemake-interface-executor-plugins
-           (package/inherit python-snakemake-interface-logger-plugins
-             (name "python-snakemake-interface-logger-plugins-bootstrap")
-             (arguments (list #:tests? #f))
-             (native-inputs (list python-hatchling)))))
+           python-snakemake-interface-logger-plugins))
     (native-inputs
-     (list python-hatchling
-           python-pytest))
+     (list python-hatchling))
     (home-page "https://github.com/cademirch/snakemake-logger-plugin-rich";)
     (synopsis "Log plugin for snakemake using Rich")
     (description "This package provides a logging plugin for Snakemake
@@ -6041,6 +6043,14 @@ that utilizes @code{python-rich} for enhanced terminal 
styling and
 progress bars.")
     (license license:expat)))
 
+(define-public python-snakemake-logger-plugin-rich-bootstrap
+  (package/inherit python-snakemake-logger-plugin-rich
+    (name "python-snakemake-logger-plugin-rich-bootstrap")
+    (propagated-inputs
+     (modify-inputs propagated-inputs
+       (replace "python-snakemake-interface-logger-plugins"
+         python-snakemake-interface-logger-plugins-bootstrap)))))
+
 (define-public python-snakemake-software-deployment-plugin-container
   (package
     (name "python-snakemake-software-deployment-plugin-container")

Reply via email to