1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-20 02:18:59 +00:00

Use version which is treated CalVer by AwesomeVersion (#5572)

* Use version which is treated CalVer by AwesomeVersion

The current dev version `99.9.9dev` is treated as unkown version type
by AwesomeVersion. This prevents the version from comparing with
actual Supervisor versions, e.g. from an exsiting backup file.

Make the development version a valid CalVer version so development
versions can handle non-development backups.

* Bump to year 9999
This commit is contained in:
Stefan Agner
2025-01-24 09:59:50 +01:00
committed by GitHub
parent 8e185a8413
commit 690f1c07a7
5 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ def _get_supervisor_version():
for line in CONSTANTS.split("/n"):
if match := RE_SUPERVISOR_VERSION.match(line):
return match.group(1)
return "99.9.9dev"
return "9999.09.9.dev9999"
setup(