When requires_dist is not available we should select a package suitable for the python version constraint #2284
Labels
area/installer
Related to the dependency installer
kind/bug
Something isn't working as expected
kind/enhancement
Not a bug or feature, but improves usability or performance
In cases like #2247 when
requires_dist
value is not available in the PyPI API response, we fallback to to retrieving the first wheel entry for metadata parsing. This can lead to misleading log messages and potentially, incorrect metadata.We should improve this by filtering for first available wheel that matches any constraints as best as feasible before arbitrary fallback.
Note: This is especially misleading when downloads take a long time and it gives the illusion of the application being stuck.
The text was updated successfully, but these errors were encountered: