Skip to content

v0.46.0

Latest
Compare
Choose a tag to compare
@heevasti heevasti released this 08 Jan 08:25
· 12 commits to main since this release

[0.46.0] - 2024-10-14

Added

  • The QMI_Instrument and QMI_TaskRunner (which inherit from QMI_RpcObject) are now equipped with specific __enter__ and __exit__ methods, which in the case of QMI_Instrument
    also open and close the instrument when run with a with context manager protocol. Meanwhile QMI_TaskRunner starts and stops then joins a QMI task thread. In practise, these context managers
    can be used instead of the to-be-obsoleted open_close and start_stop_join context managers. The context manager protocol cannot be used for QMI_RpcObject directly.
  • The Bristol FOS has now a QMI driver version that works on Windows PCs. Also the respective CLI has been added in bin/instruments.

Changed

  • The CI pipelines are now using reusable workflows, placed in reusable-ci-workflows.yml.
  • The file names for the different pipeline actions were also changed to be more descriptive.

Fixed

  • mypy error on config_struct.py by adding extra logic check and not isinstance(val, type) on L236.
  • Also made in config_struct.py in L186 also tuples to be recognized as "untyped values".
  • workflow artifacts to be of @v4 instead of @V3 that are to be deprecated. For setup-python @v5 even.
  • Implemented the rtscts keyword in TransportDescriptorParser for the (serial) transport factory.