commit | b33e56b30693c0a2581016c0ad679acb7c65e317 | [log] [tgz] |
---|---|---|
author | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | Mon Aug 15 15:53:07 2022 +0900 |
committer | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | Mon Aug 15 15:53:07 2022 +0900 |
tree | c72395acf2cd2a1a7cb06d9acee7b8fb6eceee9d | |
parent | 1bbecdb97d0857154490f8a04b2c6e4621671abb [diff] |
_context.py: Don't call utils._get_bst_api_version() at load time. Getting the version requires importing the __version__ module which not available at bash completion time, and we need to load the buildstream.conf file when completing artifact names (because the config may determine where the local artifact cache resides). This fixes stack traces which were occurring in `bst artifact checkout <TAB>`