Skip to content

Hotfix 5.0.0.1 (fix issue loading paths with taurus gui)

Carlos Pascual requested to merge c-p/taurus:hotfix-5.0.0.1 into stable

Loading a gui from its package path (e.g. taurus gui /foo/bar) stopped working in taurus 5.0.0 (the refactoring of the import machinery to get rid of the deprecated imp module was faulty in commit 2ac73857). Fix it by using a full module path and by inserting the module in sys.modules (see https://stackoverflow.com/a/50395128 )

Fixes #1259 (closed)

It also fixes black issues and issues due to the deprecation of distutils.version

Edited by Carlos Pascual

Merge request reports