Repository navigation
Conversation
nfelt14
requested changes
Nov 4, 2026
Documentation build overview
|
nfelt14
previously approved these changes
Nov 4, 2026
hkumar30
marked this pull request as ready for review
November 4, 2026 22:53
hkumar30
requested review from
SaiDeepikaKuchibhotla,
amccann-Tek,
ldantek,
michaelwagoner,
nfelt14,
pradhansk,
tekperson and
v12ganesh
November 4, 2026 22:53
nfelt14
previously approved these changes
Nov 5, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #649 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 166 166
Lines 4888 4899 +11
Branches 440 442 +2
=========================================
+ Hits 4888 4899 +11 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Author
|
Hi @nfelt14. Thanks for the approval. I looked into why the tests are failing.
I can rebase after #650 is merged (or you can rerun the macOS job, whichever is preferable). |
Collaborator
I will be trying to fix dependency issues this week, thanks for your patience. |
…al arguments stable
hkumar30
force-pushed
the
feat/visa-library-option
branch
from
November 23, 2026 17:16
5e06c15 to
0588abf
Compare
nfelt14
approved these changes
Nov 23, 2026
Test Results (windows)
|
Test Results (ubuntu)
|
Test Results (macos)
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Adds a
visa_libraryconfig option that takes any VISA backend string PyVISA accepts (for example"@py","@ivi", or the path to a VISA library file), and deprecatesstandalone. As discussed in the issue,standalonestill works but now raises aDeprecationWarning, so it can be removed in v4.0.visa_librarytakes precedence, both when selecting the VISA library and in the check that rejects USB/GPIB connections with PyVISA-py.DeviceManager.visa_librarysetter now stores the value invisa_libraryand clearsstandalone, instead of settingstandalone = (value == "@py"). Otherwise users who never setstandalonewould get the warning, and saved configs would keep containing it. Because of this,test_get_config_methods_with_devicesnow expectsvisa_libraryin the saved config instead ofstandalone: false.visa_libraryis the lastDMConfigOptionsfield, so existing positional arguments don't shift (griffe reports no breaking changes againstmain).get_available_devices()error now point tovisa_libraryinstead ofSTANDALONE.tests/samples/still usestandalone: trueon purpose, to keep testing the deprecated option.The deprecation only uses
warnings.warn, as asked in the issue. Happy to add a log message too if you'd like it to be more visible.Addresses #417
Types of changes
What types of changes does your code introduce?
Put an
xin the boxes that applyChecklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Addresses #<issue_number>