[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/11: gnu: python-pyvisa: Update to 1.14.1.
From: |
guix-commits |
Subject: |
07/11: gnu: python-pyvisa: Update to 1.14.1. |
Date: |
Thu, 2 Jan 2025 17:02:05 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 1d940ff525feab30ba5043da6490da0cef26ff41
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 2 18:31:16 2025 +0100
gnu: python-pyvisa: Update to 1.14.1.
* gnu/packages/engineering.scm (python-pyvisa): Update to 1.14.1.
[source]: Simplify snippet.
[arguments]: Fix tests by adding --pyargs.
[native-inputs]: Add python-setuptools-scm.
[propagated-inputs]: Remove python-dataclasses.
Change-Id: I59fc4333e975e9e5ae4a906df20dbf7bce5d6a0a
---
gnu/packages/engineering.scm | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index c464351fc1..2a72b82df1 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015-2023 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015-2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2016, 2018, 2020-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 David Thompson <davet@gnu.org>
@@ -2651,32 +2651,35 @@ specification can be downloaded at
@url{http://3mf.io/specification/}.")
(define-public python-pyvisa
(package
(name "python-pyvisa")
- (version "1.13.0")
+ (version "1.14.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "PyVISA" version))
(sha256
(base32
- "1iprr3h6d4w6v8ksgqpkgg545sai7i8hi5a5an394p26b25h1yl9"))
+ "0ybsxpc4339434ha5anix511ckdyp12cym3ld1vsspacxm0h00vi"))
(modules '((guix build utils)))
- (snippet '(begin
- ;; Delete bundled python-prettytable.
- (delete-file-recursively "pyvisa/thirdparty")))))
+ ;; Delete bundled python-prettytable.
+ (snippet '(delete-file-recursively "pyvisa/thirdparty"))))
(build-system pyproject-build-system)
(arguments
- (list #:phases #~(modify-phases %standard-phases
- (add-after 'unpack 'use-system-prettytable
- (lambda _
- (substitute* "pyvisa/shell.py"
- (("from .thirdparty import prettytable")
- "import prettytable")))))))
+ (list
+ #:test-flags
+ '(list "--pyargs" "pyvisa")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'use-system-prettytable
+ (lambda _
+ (substitute* "pyvisa/shell.py"
+ (("from .thirdparty import prettytable")
+ "import prettytable")))))))
(native-inputs
(list python-pytest
python-setuptools
+ python-setuptools-scm
python-wheel))
(propagated-inputs
- (list python-dataclasses
- python-prettytable
+ (list python-prettytable
python-typing-extensions))
(home-page "https://pyvisa.readthedocs.io/en/latest/")
(synopsis "Python binding for the VISA library")
- branch python-team updated (f725d59ffa -> 883fd35c80), guix-commits, 2025/01/02
- 03/11: gnu: python-nr-date: Remove old version of dataclasses., guix-commits, 2025/01/02
- 08/11: gnu: python-aws-xray-sdk: Update to 2.14.0., guix-commits, 2025/01/02
- 09/11: gnu: python-jose: Fix build., guix-commits, 2025/01/02
- 06/11: gnu: python-botocore: Update to 1.35.90., guix-commits, 2025/01/02
- 05/11: gnu: python-botocore: Limit number of parallel test workers., guix-commits, 2025/01/02
- 04/11: gnu: python-astral: Remove old version of dataclasses., guix-commits, 2025/01/02
- 07/11: gnu: python-pyvisa: Update to 1.14.1.,
guix-commits <=
- 01/11: gnu: python-jsonargparse: Remove old version of dataclasses., guix-commits, 2025/01/02
- 02/11: gnu: python-apprise: Update to 1.9.1., guix-commits, 2025/01/02
- 10/11: gnu: python-dnspython-1.16: Add missing inputs., guix-commits, 2025/01/02
- 11/11: gnu: python-py-partiql-parser: Update to 0.6.1., guix-commits, 2025/01/02