Skip to content

fix: only download files for matching platforms#58

Merged
ido50 merged 1 commit into
python-morgan:mainfrom
RISEFX:fix-platform-tag
Dec 29, 2025
Merged

fix: only download files for matching platforms#58
ido50 merged 1 commit into
python-morgan:mainfrom
RISEFX:fix-platform-tag

Conversation

@grische
Copy link
Copy Markdown
Contributor

@grische grische commented Oct 21, 2025

If we always specify ".*linux.*x86_64" we will get wheels for musllinux as well as manylinux, even if the user explicitly specified a regex for only manylinux in morgan.ini.

This is a follow-up fix of #26 that seems to have forgotten the if/else here.

If I read the code correctly, this should have no negative impact on mixed Linux/Windows envs as every env is considered and each env will have a different entry in _supported_platforms.

If we always specify ".*linux.*x86_64" we will get wheels for musllinux
as well as manylinux, even if the user explicitly specified a regex for
only manylinux in morgan.ini

This is a follow-up fix of python-morgan#26 that seems to have forgotten the if/else
here.
@ido50 ido50 merged commit 87a1836 into python-morgan:main Dec 29, 2025
6 checks passed
@grische grische deleted the fix-platform-tag branch January 5, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants