GNU bug report logs -
#77400
[PATCH python-team 00/26] Some further updates
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Mon, 31 Mar 2025 06:17:01 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/python-xyz.scm (python-mechanize): Update to 0.4.10.
[build-system]: Switch to pyproject-build-system.
[arguments]{tests?}: Disable them.
{phases}: Add 'configure-tests phase to setup GUIX_PYTHONPATH.
[native-inputs]: Add python-html5-parser, python-html5lib,
python-lxml, python-service-identity, python-setuptools, python-six,
python-twisted, python-wheel.
---
gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 015872902a..3d2bade3fc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5167,15 +5167,33 @@ (define-public python-scour
(define-public python-mechanize
(package
(name "python-mechanize")
- (version "0.4.7")
+ (version "0.4.10")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mechanize" version))
(sha256
- (base32
- "02b845y85ka5sl2cj93lll3v326d8bww07bq1q0y1643h7sshwqp"))))
- (build-system python-build-system)
+ (base32 "1pvxjnhqi6iq7nnjksnfvyzxcibbwfjc9fzp22v0msp7kdzr9shx"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; XXX: Unclear why tests are failing.
+ (list #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'configure-tests
+ (lambda _
+ (setenv "GUIX_PYTHONPATH"
+ (string-append (getcwd) "/test-tools:"
+ (getenv "GUIX_PYTHONPATH"))))))))
+ (native-inputs
+ (list python-html5-parser
+ python-html5lib
+ python-lxml
+ python-service-identity
+ python-setuptools
+ python-six
+ python-twisted
+ python-wheel))
(propagated-inputs
(list python-html5lib))
(home-page "https://github.com/python-mechanize/mechanize")
--
2.49.0
This bug report was last modified 52 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.