Skip to content

Commit ad19938

Browse files
committed
poetry: Prefer only any wheels
Any platform or arch specific wheels is not guaranteed to work with the arches the Flatpak will be built on Fixes #396 Fixes #394
1 parent 95ab650 commit ad19938

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

poetry/flatpak-poetry-generator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def get_pypi_source(name: str, version: str, hashes: list) -> tuple:
4242
continue
4343
if (
4444
source.get("packagetype") == "bdist_wheel"
45+
and source.get("filename", "").endswith("-any.whl")
4546
and "py3" in source.get("python_version", "")
4647
):
4748
matched = (source["url"], sha256)

0 commit comments

Comments
 (0)