You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although we do change to the installation prefix, the problem arises if this prefix is inside another (unrelated) Git working tree at any level deep as git rev-parse will still find the working tree.
It's easy to reproduce:
pip
:pip3 install git+https://github.com/reframe-hpc/reframe.git@develop
reframe -V
You will see the hash of the local repo's HEAD being attached to reframe's version.
We should check that the
reframe.INSTALL_PREFIX
is indeed a Git repo before callinggit rev-parse
to get the hash:reframe/reframe/utility/osext.py
Lines 709 to 714 in 8395b49
The text was updated successfully, but these errors were encountered: