[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
350/361: gnu: python-graphviz: Update to 0.20.3.
From: |
guix-commits |
Subject: |
350/361: gnu: python-graphviz: Update to 0.20.3. |
Date: |
Thu, 21 Nov 2024 06:29:49 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 0a2b0038389c0b0782605106be0365c1da03b3b3
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 17 21:26:59 2024 +0000
gnu: python-graphviz: Update to 0.20.3.
* gnu/packages/graphviz.scm (python-graphviz): Update to 0.20.3.
[arguments]<phases>: Remove 'prepare-chec phase. Add
'patch-pytest-options phase. Use custom 'check phase.
Change-Id: I8ebd1277e9b53b3ad267f567c449e6efc01b0653
---
gnu/packages/graphviz.scm | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 10fde9c943..defd53df73 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -138,21 +138,28 @@ interfaces for other technical domains.")
(define-public python-graphviz
(package
(name "python-graphviz")
- (version "0.20.1")
+ (version "0.20.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "graphviz" version ".zip"))
(sha256
(base32
- "1y1b956r01kg7qarkkrivhn71q64k0gbq6bcybd4gfd3v95g2n4c"))))
+ "0pcjnnhprs1hb4r9jr7r4qjxc7lzsjlka8d5gcp3kym9ws0vrmh9"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
- '(modify-phases %standard-phases
- (add-before 'check 'prepare-chec
- ;; Needed for fontconfig cache directories
- (lambda _ (setenv "HOME" (getcwd)))))))
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'pathch-pytest-options
+ (lambda _
+ (substitute* "setup.cfg"
+ ((".*doctest.*") "")
+ (("--cov.*") ""))))
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (apply invoke "python" "run-tests.py" test-flags)))))))
(native-inputs
(list unzip
;; For tests.
- 299/361: gnu: python-pytest: Update to 8.3.3., (continued)
- 299/361: gnu: python-pytest: Update to 8.3.3., guix-commits, 2024/11/21
- 308/361: gnu: python-pytest-mock: Update to 3.14.0., guix-commits, 2024/11/21
- 313/361: gnu: python-pytest-xprocess: Update to 1.0.2., guix-commits, 2024/11/21
- 311/361: gnu: python-coverage: Update to 7.6.7., guix-commits, 2024/11/21
- 315/361: gnu: python-cffi: Update to 1.17.1., guix-commits, 2024/11/21
- 314/361: gnu: python-openpyxl: Update to 3.1.5., guix-commits, 2024/11/21
- 331/361: gnu: python-attrs: Update to 24.2.0., guix-commits, 2024/11/21
- 347/361: gnu: python-blinker: Update to 1.9.0., guix-commits, 2024/11/21
- 342/361: gnu: python-matplotlib: Disable more failing tests., guix-commits, 2024/11/21
- 346/361: gnu: python-cloudpickle: Update to 3.1.0., guix-commits, 2024/11/21
- 350/361: gnu: python-graphviz: Update to 0.20.3.,
guix-commits <=
- 352/361: gnu: python-apispec: Update to 6.7.1., guix-commits, 2024/11/21
- 353/361: gnu: python-flask-restful: Update to 0.3.10., guix-commits, 2024/11/21
- 355/361: gnu: Remove python-flask-jwt., guix-commits, 2024/11/21
- 357/361: gnu: python-httpbin: Update to 0.10.2., guix-commits, 2024/11/21
- 360/361: gnu: python-dirty-equals: Update to 0.8.0., guix-commits, 2024/11/21
- 89/361: gnu: python-nbformat: Update to 5.10.4., guix-commits, 2024/11/21
- 54/361: gnu: python-versioneer: Add missing input and use minimal git., guix-commits, 2024/11/21
- 68/361: gnu: Add python-isoduration., guix-commits, 2024/11/21
- 224/361: gnu: python-kiwisolver: Update to 1.4.6., guix-commits, 2024/11/21
- 234/361: gnu: python-jsonpickle: Adjust inputs., guix-commits, 2024/11/21