guix_mirror_bot pushed a commit to branch python-team in repository guix. commit 3fe174ee142a84c313e4ab80989ea328a940962e Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Wed Jul 16 23:28:10 2025 +0100
gnu: python-click: Update to 8.1.8. * gnu/packages/python-xyz.scm (python-click): Update to 8.1.8. [source]: Switch to git-fetch contacting tests. [build-system]: Use pyproject. [arguments] <phases>: Use default 'check. [native-inputs]: Add less and python-flit-core. Change-Id: I84caacb3461d3cef221c019975130343a812fe2a --- gnu/packages/python-xyz.scm | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b0b13bc56c..1fc85caef0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -238,6 +238,7 @@ #:use-module (gnu packages java) #:use-module (gnu packages jupyter) #:use-module (gnu packages kerberos) + #:use-module (gnu packages less) #:use-module (gnu packages libevent) #:use-module (gnu packages libffi) #:use-module (gnu packages libusb) @@ -6843,23 +6844,21 @@ interfaces.") (define-public python-click (package (name "python-click") - (version "8.1.7") + (version "8.1.8") (source (origin - (method url-fetch) - (uri (pypi-uri "click" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/pallets/click") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1pm6khdv88h764scik67jki98xbyj367h591j8hpwy4y8nnm766a")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv"))))))) - (native-inputs (list python-pytest)) + (base32 "1wqkkim5gmhdrc62c79s5gbzz2x60l1bf9aacpakfv6rr1zjl054")))) + (build-system pyproject-build-system) + (native-inputs + (list less + python-flit-core + python-pytest)) (home-page "https://palletsprojects.com/p/click/") (synopsis "Command line library for Python") (description