Skip to content

Fix qcodes import - #472

Merged
jenshnielsen merged 2 commits into
toolsforexperiments:masterfrom
jenshnielsen:fix_qcodes_import
Oct 5, 2026
Merged

jenshnielsen merged 2 commits into
toolsforexperiments:masterfrom
jenshnielsen:fix_qcodes_import

Conversation

@jenshnielsen

Copy link
Copy Markdown
Collaborator
  • Avoid deprecation warnings
  • Remove no longer required fallbacks
  • Import qcodes as much as possible from the documented api

Importing Measurement, new_data_set, load_or_create_experiment,
initialise_or_create_database_at and ParamSpec from the top-level
qcodes namespace is deprecated and emits QCoDeSDeprecationWarning.
Import from qcodes.dataset / qcodes.parameters instead of deeper
submodules where the name is exported there, and drop fallbacks for
DataSetProtocol and ParamSpecBase that are unnecessary with the
minimum supported qcodes version (0.54.1).
@jenshnielsen
jenshnielsen enabled auto-merge October 5, 2026 05:32
@jenshnielsen jenshnielsen mentioned this pull request Oct 5, 2026
@jenshnielsen
jenshnielsen merged commit 59c5954 into toolsforexperiments:master Oct 5, 2026
2 checks passed
@jenshnielsen
jenshnielsen deleted the fix_qcodes_import branch October 5, 2026 08:14
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.

2 participants