Satisfy Linux multiarch Python tooling.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user