QCoDeS 0.52.0
QCoDeS 0.52.0 (2025-04-03)
Note This will be the last version of QCoDeS to support Python 3.10.
Breaking Changes:
- QCoDeS no longer ships a
setup.pyscript and all package config is done inpyproject.toml
A version ofpipor other package manager supportingPEP621is required to build from source. #6919 - The QCoDeS dataset sqlite connection class
ConnectionPlushas been deprecated and replace withAtomicConnection.
UnlikeConnectionPlusAtomicConnectionis a direct subclass ofsqlite3.Connectionwhich enables better type checking
and will allow QCoDeS to drop the dependency onwrapt. The functionmake_connection_plus_fromis also deprecated and
it is no longer supported to convert a connection from a sqlite3 connection to a QCoDeS specific connection. #6942 - The QCoDeS deprecation utils including
qcodes.utils.deprecate.deprecation_message,
qcodes.utils.deprecate.issue_deprecation_warning,qcodes.utils.deprecate.deprecateqcodes.utils.deprecate.assert_not_deprecated
andqcodes.utils.deprecate.assert_deprecatedalong with their reexports inqcodes,qcodes.utilsandqcodes.utils.helpers
are all deprecated and will be removed in QCoDeS 0.54.0. We recommend usingtyping_extensions.deprecateas an alternative. #6946
Improved:
- Added 'parameters' argument to the 'plot_dataset' (and 'plot_by_id')
functions. This enables a choice of which dependent parameters to plot
(in the case that the plotting of all dependent parameters is not
desired). #6931 - Save the parameter snapshot under the
register_namekey in the parameters snapshot in datasets (not the station snapshot), to avoid overwritting the snapshot multiple parameters have identicalshort_names.
The parameter snapshot saved under the short name key is kept for backwards compatibility, but will be removed at a later time. #7012
Improved Drivers:
- Added several parameters into the oxford MercuryiPS driver,
enabling the control of the heaters and the sensing of internal temperatures
(magnet, PT1, and PT2 stage of cryogenic system).
Addedheater_switchparameter to manage the heater switch status and settings.
The heater switch control is bound to each WorkerPS, accepting "ON" and "OFF" as inputs.
Addedmagnet_temp,pt1_temp, andpt2_tempparameters for reading temperatures
from different sensors, utilizing the new_temp_parserfunction.
Currently, the addresses of temperature sensors are written statically in the driver. #6889
New:
- Added a global callback mechanism to
ParameterBasethat enables users to
supply custom callback functions to handle parameter changes. This new feature
allows for flexible integrations—such as logging changes, updating dashboards, or
other custom processing—without modifying full snapshot behavior.
See the PR for details on a usage example. #6934 - A new Validator
LiteralValidatorwas added. This allows validating against the members of atyping.Literal. #7009