From 5ccbaf5e174bc23ff352826ae4f2b9b9aa70cc42 Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Thu, 8 Feb 2024 09:12:00 +0000 Subject: [PATCH] follow PEP-404 to allow `pip install .` pip will enforce https://peps.python.org/pep-0440/ the version name must follow semantic versioning. We were still calling the version on the main branch main. The version name was changed to be 5.0.0devYYYYMMDDHHMM --- src/exabgp/version.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/exabgp/version.py b/src/exabgp/version.py index 2b12c6380..219e91c30 100644 --- a/src/exabgp/version.py +++ b/src/exabgp/version.py @@ -1,8 +1,9 @@ import os import sys +from datetime import datetime commit = "99de31e8" -release = "main" +release = "5.0.0dev%s" % datetime.now().strftime('%Y%m%d%H%M%S') json = "5.0.0" text = "5.0.0" version = os.environ.get('EXABGP_VERSION', release)