From 7e79856fabb6f4425192a03bd1a18751f4aea83b Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Mon, 19 Feb 2024 03:18:55 +0100 Subject: [PATCH] version.txt: update to 0.10.0a0 (#426) Change validation regex in setup.py to allow for this. Previously it only allow single-digit version parts. Signed-off-by: Frank Lichtenheld Co-authored-by: allburov --- setup.py | 4 ++-- version.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 81b88c4a..4b0047c6 100755 --- a/setup.py +++ b/setup.py @@ -11,9 +11,9 @@ with open("version.txt") as file: __version__ = file.readline().strip() -# check that version is correct (X.X.X or X.X.X.devXXX or X.X.X.alphaX), eg 0.8.0.dev0 +# check that version is correct (X.X.X or X.X.X.devXXX or X.X.X.alphaX), eg 0.10.0.dev0 assert re.match( - r"^\d\.\d\.\d$|^\d\.\d\.\d\.dev\d+$|^\d\.\d\.\d\.alpha\d+$", __version__ + r"^\d+\.\d+\.\d+$|^\d+\.\d+\.\d+\.dev\d+$|^\d+\.\d+\.\d+\.alpha\d+$", __version__ ) diff --git a/version.txt b/version.txt index 42ff8542..62b4e047 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.8.0.alpha0 \ No newline at end of file +0.10.0.alpha0