Skip to content

pinned qcodes to working version#132

Merged
marcosfrenkel merged 1 commit intotoolsforexperiments:masterfrom
marcosfrenkel:pinning_qcodes_version
May 1, 2026
Merged

pinned qcodes to working version#132
marcosfrenkel merged 1 commit intotoolsforexperiments:masterfrom
marcosfrenkel:pinning_qcodes_version

Conversation

@marcosfrenkel
Copy link
Copy Markdown
Collaborator

@marcosfrenkel marcosfrenkel commented May 1, 2026

Summary

  • Pin qcodes<0.55 in pyproject.toml so the server stops crashing on import.
  • qcodes 0.55.0 removed InstrumentBase from the deprecated qcodes.instrument.base path, which breaks four import sites in this repo (blueprints.py, client/proxy.py, params.py, serialize.py). 0.54.4 is the last compatible release.
  • uv.lock updated to resolve qcodes==0.54.4 (and the transitive pyvisa pin that comes with it).

This is a stopgap. The real fix — migrating the imports to from qcodes.instrument import InstrumentBase — is tracked in #131; once that lands the pin can be lifted.

Test plan

  • uv sync resolves cleanly with qcodes==0.54.4.
  • uv run instrumentserver starts without the ImportError on qcodes.instrument.base.
  • uv run pytest passes.

@marcosfrenkel marcosfrenkel merged commit 26d43de into toolsforexperiments:master May 1, 2026
7 checks passed
@marcosfrenkel marcosfrenkel deleted the pinning_qcodes_version branch May 1, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant