8000 2022.12.1 (#1044) · patrickloeber/pyscript@2580966 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2580966

Browse files
authored
2022.12.1 (pyscript#1044)
* 2022.12.1 * release level * fix tests for release
1 parent 6b9eff4 commit 2580966

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyscriptjs/src/runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const logger = getLogger('pyscript/runtime');
66

77
// VERSION
88
// Version number of release
9-
export const version = '2022.12.1.RC1';
9+
export const version = '2022.12.1';
1010

1111
export type RuntimeInterpreter = PyodideInterface | null;
1212

pyscriptjs/tests/integration/test_01_basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,13 @@ def test_python_version(self):
220220
"""
221221
)
222222
assert (
223-
re.match(r"\d{4}\.\d{2}\.\d+\.[a-zA-Z0-9]+", self.console.log.lines[-2])
223+
re.match(r"\d{4}\.\d{2}\.\d+(\.[a-zA-Z0-9]+)?", self.console.log.lines[-2])
224224
is not None
225225
)
226226
assert (
227227
re.match(
228228
r"version_info\(year=\d{4}, month=\d{2}, "
229-
r"minor=\d+, releaselevel='[a-zA-Z0-9]+'\)",
229+
r"minor=\d+, releaselevel='(\.[a-zA-Z0-9]+)?'\)",
230230
self.console.log.lines[-1],
231231
)
232232
is not None

0 commit comments

Comments
 (0)
0