* 2022.12.1

* release level

* fix tests for release
This commit is contained in:
Ted Patrick
2022-12-13 08:06:38 -06:00
committed by GitHub
parent 6b9eff45bb
commit 25809660ef
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ const logger = getLogger('pyscript/runtime');
// VERSION
// Version number of release
export const version = '2022.12.1.RC1';
export const version = '2022.12.1';
export type RuntimeInterpreter = PyodideInterface | null;

View File

@@ -220,13 +220,13 @@ class TestBasic(PyScriptTest):
"""
)
assert (
re.match(r"\d{4}\.\d{2}\.\d+\.[a-zA-Z0-9]+", self.console.log.lines[-2])
re.match(r"\d{4}\.\d{2}\.\d+(\.[a-zA-Z0-9]+)?", self.console.log.lines[-2])
is not None
)
assert (
re.match(
r"version_info\(year=\d{4}, month=\d{2}, "
r"minor=\d+, releaselevel='[a-zA-Z0-9]+'\)",
r"minor=\d+, releaselevel='(\.[a-zA-Z0-9]+)?'\)",
self.console.log.lines[-1],
)
is not None