[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
349/474: gnu: python-graphviz: Update to 0.20.3.
From: |
guix-commits |
Subject: |
349/474: gnu: python-graphviz: Update to 0.20.3. |
Date: |
Sat, 30 Nov 2024 18:20:52 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit d2ca7014c1f33d71be03d5f743c8d32db8947210
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.
- 317/474: gnu: python-parso: Update to 0.8.4., (continued)
- 317/474: gnu: python-parso: Update to 0.8.4., guix-commits, 2024/11/30
- 324/474: gnu: python-trove-classifiers: Update to 2024.10.21.16., guix-commits, 2024/11/30
- 327/474: gnu: python-hatchling: Update to 1.26.1., guix-commits, 2024/11/30
- 329/474: gnu: meson-python: Update to 0.17.1., guix-commits, 2024/11/30
- 339/474: gnu: python-werkzeug: Update to 3.1.3., guix-commits, 2024/11/30
- 353/474: gnu: python-flasgger: Update to 0.9.7.1., guix-commits, 2024/11/30
- 331/474: gnu: python-jsonschema: Update to 4.23.0., guix-commits, 2024/11/30
- 350/474: gnu: python-pytest-httpserver: Update to 1.1.0., guix-commits, 2024/11/30
- 338/474: gnu: Add python-ephemeral-port-reserve., guix-commits, 2024/11/30
- 332/474: gnu: python-mypy: Update to 1.13.0., guix-commits, 2024/11/30
- 349/474: gnu: python-graphviz: Update to 0.20.3.,
guix-commits <=
- 340/474: gnu: python-pytest-localserver: Update to 0.9.0.post0., guix-commits, 2024/11/30
- 354/474: gnu: Remove python-flask-jwt., guix-commits, 2024/11/30
- 384/474: gnu: python-sniffio: Update to 1.3.1., guix-commits, 2024/11/30
- 372/474: gnu: python-pytest-remotedata: Fix tests., guix-commits, 2024/11/30
- 360/474: gnu: python-pydantic: Update to 1.10.19., guix-commits, 2024/11/30
- 387/474: gnu: python-vcrpy: Update to 6.0.2., guix-commits, 2024/11/30
- 346/474: gnu: python-blinker: Update to 1.9.0., guix-commits, 2024/11/30
- 394/474: gnu: python-icecream: Adjust inputs., guix-commits, 2024/11/30
- 398/474: gnu: python-async-timeout: Update to 4.0.3., guix-commits, 2024/11/30
- 396/474: gnu: python-pytest-relaxed: Update to 2.0.2., guix-commits, 2024/11/30