Skip to content

Fix python 3.10 import issue and cache test

Samuel GAIST requested to merge fix_python_3_10_import into master

The direct use of Mapping and others from the collections module has been deprecated since a long time and is now and error. This merge request fixes that.

It also mark the images in cache tests as flaky since it seems there's some slowdowns but only on Linux. There is now also a message on these asserts to know the time they took rather than just "it was not fast enough" without more information.

Finally, the time has been adjusted for the Linux machine as it would take currently too much effort to determine exactly what change did influence the slowdown.

Some examples:

  • Machine performance
  • Disk performance
  • Python performance
  • Docker performance
  • etc.

Merge request reports