Skip to content

Commit b35aa7f

Browse files
committed
fix tests
1 parent 6262c7c commit b35aa7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pythonforandroid/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ def is_wheel_platform_independent(whl_name):
682682

683683
def is_wheel_compatible(whl_name, arch, ctx):
684684
name, version, build, tags = parse_wheel_filename(whl_name)
685-
supported_tags = PyProjectRecipe.get_wheel_platform_tag(None, arch.arch, ctx=ctx)
685+
supported_tags = PyProjectRecipe.get_wheel_platform_tags(arch.arch, ctx)
686686
supported_tags.append("any")
687687
result = all(tag.platform in supported_tags for tag in tags)
688688
if not result:
@@ -739,7 +739,7 @@ def process_python_modules(ctx, modules, arch):
739739

740740
# add platform tags
741741
platforms = []
742-
tags = PyProjectRecipe.get_wheel_platform_tag(arch.arch, ctx)
742+
tags = PyProjectRecipe.get_wheel_platform_tags(arch.arch, ctx)
743743
for tag in tags:
744744
platforms.append(f"--platform={tag}")
745745

0 commit comments

Comments
 (0)