Fix two data tests and the Windows package allowlist for 0.1

- ui_series_records_tests installs the authored fixture tables, since the
  public tree no longer carries built-in schedule tables (uncaught throw).
- training_camp_app_tests no longer compares against the removed built-in
  resort constants; it checks that the content comes from the EXE.
- make_package.py accepts the api-ms-win-core forwarders that the
  app-local UCRT redist installs (Windows CI packaging failure).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-16 21:57:42 +02:00
1 parent c37a0c4036
commit baa3562eab
3 files changed
+9 -7

No files matched your search

+2 -1
View File
@@ -26,9 +26,10 @@ def validate(directory, windows):
allowed |= (len(relative.parts) >= 2 and relative.parts[0] == 'docs' and
'licenses' not in relative.parts and file.suffix in {'.md', '.txt', '.csv'} and
all(part not in {'analyses', 'agents', 'manuals', 'validation'} for part in relative.parts))
# App-local UCRT deployment must ship the whole redist set, core forwarders included.
allowed |= (windows and len(relative.parts) == 1 and
bool(re.fullmatch(r'(?:vcruntime\d+(?:_\d+)?|msvcp\d+(?:_\d+|_atomic_wait|_codecvt_ids)?|'
r'concrt\d+|ucrtbase|api-ms-win-crt-[a-z0-9-]+)\.dll', file.name, re.I)))
r'concrt\d+|ucrtbase|api-ms-win-(?:crt|core)-[a-z0-9-]+)\.dll', file.name, re.I)))
if not allowed:
raise RuntimeError('Unexpected package entry: ' + relative.as_posix())
required = products | documents | {'docs/licenses/' + name for name in licenses}