Skip to content

Commit c19839d

Browse files
committed
fix: ignore python run-export by name for abi3 packages
1 parent b21b86e commit c19839d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/variant_config.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,11 @@ impl VariantConfig {
536536
.ignore_run_exports
537537
.from_package
538538
.insert("python".parse().unwrap());
539+
recipe
540+
.requirements
541+
.ignore_run_exports
542+
.by_name
543+
.insert("python".parse().unwrap());
539544
}
540545

541546
recipes.insert(DiscoveredOutput {

test-data/recipes/abi3/recipe.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ build:
1515
requirements:
1616
build:
1717
- ${{ compiler('c') }}
18+
- if: host_platform != build_platform
19+
then: cross-python_${{ host_platform }}
1820
host:
1921
- python-abi3
2022
- python

0 commit comments

Comments
 (0)