Search Criteria
Package Details: python-pyvisa 1.15.0-4
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-pyvisa.git (read-only, click to copy) |
---|---|
Package Base: | python-pyvisa |
Description: | A Python package with bindings to the 'Virtual Instrument Software Architecture' VISA library |
Upstream URL: | https://github.com/pyvisa/pyvisa |
Keywords: | library python pyvisa visa |
Licenses: | MIT |
Submitter: | alex.forencich |
Maintainer: | begin-theadventu |
Last Packager: | begin-theadventu |
Votes: | 12 |
Popularity: | 0.001183 |
First Submitted: | 2015-07-20 19:27 (UTC) |
Last Updated: | 2025-07-16 17:10 (UTC) |
Dependencies (8)
- python-distribute (python-setuptools)
- python-docutils
- python-typing_extensions
- python-build (make)
- python-installer (make)
- python-pytest (make)
- python-setuptools-scm (make)
- python-pyvisa-pyAUR (optional) – Pure Python backend
Required by (8)
- ni-visa (optional)
- python-ivi (optional)
- python-pymeasure
- python-pyvisa-py
- python-rsinstrument
- python-scikit-rf (optional)
- python-scikit-rf-git (optional)
- rs-visa (optional)
Latest Comments
1 2 3 Next › Last »
begin-theadventu commented on 2025-07-16 17:08 (UTC)
@Daniel_M Oh, yeah you're right.. Export needs to be declared per each step. Thanks!
Daniel_M commented on 2025-07-11 10:05 (UTC) (edited on 2025-07-11 10:08 (UTC) by Daniel_M)
build() {
cd pyvisa-$pkgver
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
python -m build --wheel --no-isolation
}
Should hopefully sort it out ( based on python-docker )
OdysseusGE commented on 2025-07-11 02:12 (UTC) (edited on 2025-07-11 02:12 (UTC) by OdysseusGE)
Actually, I misspoke. This package still fails when building with yay, but succeeds using makepkg. This is because yay builds in two steps, equivalent to 'makepkg --nobuild' followed by 'makepkg --noprepare', so SETUPTOOLS_SCM_PRETEND_VERSION isn't set in the build step.
I think the fix is to just move that export into build. I had fooled myself into thinking installing 'python-pkgconfig' had resolved the issue because I tested using 'makepkg'. It's not needed and can be removed from makedpends.
begin-theadventu commented on 2025-07-06 08:34 (UTC)
@ra1nb0w Done.
@OdysseusGE Thanks!
ra1nb0w commented on 2025-07-03 10:47 (UTC)
I confirm willemsk and OdysseusGE fixes. Please patch the aur. Thanks
OdysseusGE commented on 2025-06-18 02:00 (UTC) (edited on 2025-06-18 02:02 (UTC) by OdysseusGE)
I think 'python-pkgconfig' needs to be included in makedepends. Otherwise build fails with
willemsk commented on 2025-05-05 12:12 (UTC)
The build fails for me in a clean chroot:
Grabbing the source tarball from PyPi instead of GitHub solves the problem. Patch below:
begin-theadventu commented on 2025-04-29 13:58 (UTC)
@BrainDamage Thank you!
BrainDamage commented on 2025-04-29 06:56 (UTC)
Dropping python-setuptools-scm from the makedeps is not correct. It is still required, and the build will fail in a clean chroot with:
you can double check in the pyproject.toml that it still requires it
begin-theadventu commented on 2025-04-28 16:31 (UTC)
@fenugrec Thank you!
1 2 3 Next › Last »