You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:39:25 UTC

[buildstream] 11/17: Fix version numbering when uninstalled

This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch sam/meson
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 7003547dad62d9007fabfca4774915d587acae68
Author: Sam Thursfield <sa...@codethink.co.uk>
AuthorDate: Tue Dec 19 13:41:29 2017 +0000

    Fix version numbering when uninstalled
    
    This unbreaks the test suite, in particular.
---
 buildstream/__init__.py | 2 +-
 buildstream/utils.py    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/buildstream/__init__.py b/buildstream/__init__.py
index 4b3b94b..ff38beb 100644
--- a/buildstream/__init__.py
+++ b/buildstream/__init__.py
@@ -29,4 +29,4 @@ from .scriptelement import ScriptElement
 try:
     from .version import VERSION
 except ImportError:
-    VERSION = '(uninstalled)'
+    VERSION = '0.0.0 (uninstalled)'
diff --git a/buildstream/utils.py b/buildstream/utils.py
index 41d38f8..8b57b60 100644
--- a/buildstream/utils.py
+++ b/buildstream/utils.py
@@ -46,7 +46,7 @@ from ._exceptions import ProgramNotFoundError
 try:
     from .version import VERSION
 except ImportError:
-    VERSION = '(uninstalled)'
+    VERSION = '0.0.0 (uninstalled)'
 
 
 class FileListResult():