feat(unstable): add VNA category and NanoVNA driver - #439
Conversation
* add scikit-rf as a dep * add InstroVNA, * add nanovna_v1 (serial-based driver) * add nanovna_v2
Greptile SummaryThe PR introduces an experimental VNA abstraction, NanoVNA serial driver, network serialization and storage, publishing wrappers, and simulated tests. Several first-pass correctness issues remain:
Confidence Score: 1/5The PR is not yet safe to merge because common VNA operations can produce incorrect frequency axes, fail with unintended exceptions, collide in shared storage, and fail lockfile validation. The implemented hardware driver reaches a frequency-construction path that treats hertz values as gigahertz, invalid port handling reads an uninitialized variable, default instrument instances share one storage object, and the dependency manifest is inconsistent with the committed lockfile. Files Needing Attention: packages/instro-unstable/instro/unstable/vna/vna.py, packages/instro-unstable/instro/unstable/vna/drivers/nanovna_v2clone.py, packages/instro-unstable/pyproject.toml, uv.lock Important Files Changed
|
Legal RiskThe following dependencies were released under a license that RecommendationReach out to your security team or Semgrep admin to address this issue. In special cases, exceptions may be made for dependencies with violating licenses, however, the general recommendation is to avoid using a dependency under such a license non-standard |
| { url = "https://files.pythonhosted.org/packages/07/39/338d9219c4e87f3e708f18857ecd24d22a0c3094752393319553096b98af/scipy-1.17.1-cp314-cp314t-win_arm64.whl", hash = "sha256:200e1050faffacc162be6a486a984a0497866ec54149a01270adc8a59b7c7d21", size = 25489165, upload-time = "2026-02-23T00:22:29.563Z" }, | ||
| ] | ||
|
|
||
| [[package]] |
There was a problem hiding this comment.
Legal Risk
scipy 1.18.1 was released under the non-standard license, a license that
is currently prohibited by your organization. Merging is blocked until this is resolved.
Recommendation
Reach out to your security team or Semgrep admin to address this issue. In special cases, exceptions may be made for dependencies with violating licenses, however, the general recommendation is to avoid using a dependency under such a license.
…zva-first-pass # Conflicts: # packages/instro-unstable/pyproject.toml # uv.lock
Summary
adds vna support. adds a driver the nanovna_v2clone. adds tests.
Type of change
fix)feat)feat!/fix!)refactor)docs)chore)Verification
see tests
Tests
Checklist
feat(driver): add support for Keysight E36300)Notes for reviewers
Optional — call out specific files, edge cases, or decisions you'd like eyes on.