From 9f4b18ebfb96713c66e11f89bdebf61086dbe95a Mon Sep 17 00:00:00 2001 From: Gabriel Studer <gabriel.studer@unibas.ch> Date: Tue, 17 Dec 2019 19:09:46 +0100 Subject: [PATCH] Temporary error to remind for careful checks in versions etc. in first Python 3 release --- scripts/bump-version.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/bump-version.py b/scripts/bump-version.py index ddf414cd6..0df1088bf 100755 --- a/scripts/bump-version.py +++ b/scripts/bump-version.py @@ -1,6 +1,10 @@ #!/usr/bin/env python import sys +raise RuntimeError("Many things have changed in the Python 3 port. " + + "bump-version.py might require updates. " + + "Only remove this error after careful checking!") + if len(sys.argv) < 2: print("USAGE: python scripts/bump-version.py OST_VERSION") print("-> OST_VERSION is MAJOR.MINOR.PATCH (e.g. 1.9.1)") -- GitLab