Satisfy Linux multiarch Python tooling.

This commit is contained in:
Hermes Agent
2026-08-14 13:18:14 +00:00
parent e59e92afa5
commit f924830176
2 changed files with 9 additions and 0 deletions

View File

@@ -178,6 +178,7 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
"gcc-x86-64-linux-gnu",
"Architectures: arm64",
"remove -y mercurial python3-importlib-metadata python3-jwt",
"install_packages python3 python3-typing-extensions",
] {
assert!(
linux_dependencies.contains(required),
@@ -194,6 +195,13 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
cleanup < multiarch,
"runner-only Python packages must be removed before enabling multiarch"
);
let native_python = linux_dependencies
.find("install_packages python3 python3-typing-extensions")
.expect("native Python dependency setup");
assert!(
native_python < multiarch,
"native Python dependencies must be fixed before enabling multiarch"
);
let workspace_manifest = fs::read_to_string(workspace.join("Cargo.toml")).unwrap();
let core_manifest = fs::read_to_string(workspace.join("crates/bds-core/Cargo.toml")).unwrap();