guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit fc6d3d16f09c25f32bec6189c364c308910a22f1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Jun 27 15:16:23 2026 +0100
gnu: python-perfplot: Build from git, use NumPy 2.
* gnu/packages/python-xyz.scm (python-perfplot):
[source]: Switch to git-fetch.
[propagated-inputs]: Remove python-numpy-1; add python-numpy.
---
gnu/packages/python-xyz.scm | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ef4e978d23..f8304e2fb4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13538,19 +13538,24 @@ and provides convenience methods for performing
common object operations.")
(package
(name "python-perfplot")
(version "0.10.2")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "perfplot" version))
- (sha256
- (base32
- "0hbyv17f9ra6l6albcrqx4rylmfv2m6z4qsnhb4bar256dralvfp"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nschloe/perfplot")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1j73m8v9l8bhf79qa9apj6lcw1afxbvdq4mrn0yb31541dhrxvkf"))))
(build-system pyproject-build-system)
- (propagated-inputs (list python-matplotlib
- python-matplotx
- python-numpy-1
- python-rich))
- (native-inputs (list python-flit-core
- python-pytest))
+ (native-inputs
+ (list python-flit-core
+ python-pytest))
+ (propagated-inputs
+ (list python-matplotlib
+ python-matplotx
+ python-numpy
+ python-rich))
(home-page "https://github.com/nschloe/perfplot")
(synopsis "Performance plots for Python code snippets")
(description "@code{perfplot} extends Python's timeit by testing