release: prepare v0.2.4-beta.3 import and write admission fixes
This commit is contained in:
1 parent
ec9f8a3e40
commit
e4875b4eca
7 files changed
+37
-6
No files matched your search
@@ -64,7 +64,7 @@ finally:
|
||||
from PyInstaller.archive.readers import ZlibArchiveReader
|
||||
pyz = bundle_root/'build/CbbRefreshVerify/PYZ-00.pyz'
|
||||
code = ZlibArchiveReader(str(pyz)).extract('cbb_refresh_verify')
|
||||
assert '0.2.4b2' in code.co_consts
|
||||
assert '0.2.4b3' in code.co_consts
|
||||
toc = ast.literal_eval((bundle_root/'build/CbbRefreshVerify/Analysis-00.toc').read_text('utf-8'))
|
||||
stack, rows = [toc], []
|
||||
while stack:
|
||||
@@ -77,6 +77,6 @@ while stack:
|
||||
stack.extend(value)
|
||||
assert rows and all(Path(row[1]).is_relative_to(workspace/'src') for row in rows)
|
||||
results['module_origins'] = {'status': 'passed', 'module_count': len(rows), 'source_root': str(workspace/'src')}
|
||||
results['version'] = '0.2.4b2'
|
||||
results['version'] = '0.2.4b3'
|
||||
(root/'result.json').write_text(json.dumps(results, ensure_ascii=False, indent=2), 'utf-8')
|
||||
print(json.dumps({'evidence': str(root/'result.json'), **results}, ensure_ascii=False), flush=True)
|
||||
Reference in new issue
Block a user