From 0b74289fd6859c30962b03bd7e3ac3a5f8762f1e Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 17 Aug 2026 21:12:15 +0200 Subject: gnu: python-snakemake-interface-common: Update to 1.23.0-0.d585b5c. * gnu/packages/python-science.scm (python-snakemake-interface-common): Update to 1.23.0-0.d585b5c. [arguments]{phases}: Replace them with {test-backend, test-flags}. [propagated-inputs]: Add python-packaging. [native-inputs]: Replace python-poetry-core by python-setuptools. Relates-to: guix/guix!10625 Reviewed-by: Hugo Buddelmeijer Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-science.scm | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index ead1b29fcb4..28f13268b77 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -5774,26 +5774,33 @@ SLURM jobs (meant for internal use by python-snakemake-executor-plugin-slurm).") (define-public python-snakemake-interface-common (package (name "python-snakemake-interface-common") - (version "1.17.4") + ;; This commit fixes a python-packaging sanity-check failure. + (properties '((commit . "d585b5c0c7c0ec0df60a1a26d5d413f3ee88e63f") + (revision . "0"))) + (version (git-version "1.23.0" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/snakemake/snakemake-interface-common") - (commit (string-append "v" version)))) + (url "https://github.com/snakemake/snakemake-interface-common") + (commit (assoc-ref properties 'commit)))) (file-name (git-file-name name version)) (sha256 - (base32 "19fyqs048zdvrmq5sdayzch850kwsyv2x6xn57cjjzcm4zpjrh9w")))) + (base32 "1zxks3jjwc5addx5wxgfb5zn2y2jzxz53n739b9w8qba3nwnzyj2")))) (build-system pyproject-build-system) (arguments - (list #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python3" "tests/tests.py"))))))) - (native-inputs (list python-poetry-core python-pytest)) - (propagated-inputs (list python-argparse-dataclass python-configargparse)) + (list + #:test-backend #~'custom + #:test-flags #~(list "tests/tests.py"))) + (propagated-inputs + (list python-argparse-dataclass + python-configargparse + python-packaging)) + (native-inputs + (list python-pytest + python-setuptools)) (home-page "https://github.com/snakemake/snakemake-interface-common") (synopsis "Common functions and classes for Snakemake and its plugins") (description "This package provides common functions and classes -- cgit v1.2.3