Skip to content

Re-install the PAT lib unless the branch is master

Byron Murgatroyd requested to merge feat/always_reinstall_pat_libs into master

The pat helper function to install platform-automation-libs doesn't force a pip re-install unless the installed branch starts with feature|fix. This is counter intuitive as the version is actually cloned from git, thus the debug message is wrong.

This also means that the correct LIBS version will be used sometimes when gitlab doesn't cache the python module, which is very difficult to diagnose.

I would like to have it always re-install but I suspect that something somewhere would break as a result.

It's also a dodgy regex as a branch such as "fixture" would also match.

Merge request reports