Skip to content

Split lima simulator into a dedicated env in tests

Valentin Valls requested to merge valentin.valls/bliss:bump-to-silx-1.0 into master

Closes #1765 (closed), #2760 (closed)

This MR split lima simulator into a dedicated env for tests

Rational

Using the lima simulator together with BLISS env create strong constrains on the dependencies, which does not exists in the real production beamline machine (there is a dedicated conda env for lima in production)

This constraints are mostly between qt/tango/lima/hdf5, cause they all depend on binary packages like lz4 /zlib.

And because of that, there is no way now to use the last tango lib, and there is no way to use the last Qt version (we are stuck with a 4 years old lib).

Changes

  • Creates an env var LIMA_SIMULATOR_CONDA_ENV which can be defined to use an extra env to launch Lima simulator in tests
  • Update the CI to setup an extra env for Lima using LIMA_SIMULATOR_CONDA_ENV
  • As result BLISS is tested with
    • pytango 9.3.3 (previously it was pytango 9.3.2)
    • Qt 5.12.9 (previously it was 5.9.7)
    • hdf5 1.12 (previously it was 1.10)
  • Lima simulator env still use hdf5 1.10 (cause of binary constraints from Lima)

Tests pass except on the writer.

Edited by Valentin Valls

Merge request reports