You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature/enhancement proposal related to a problem? Please describe.
Not a problem but low user experience imho:
When additional (private) indexes are added (default pypi is not overwritten), then commands like pdm outdated or pdm list --resolve (basically every command that iterates the configured indexes and uses unearth's collector) is showing these kind of warnings for the index that does not host the package:
Failed to collect links from http://[private index url]/simple/[package name]/: Client Error(404): Not Found
Depending on the count of default or dev dependencies, those warning are flooding the terminal before the actual command output is provided.
Since it is expected that some/all packages are not available on all given indexes, these warnings should be suppressed and maybe only shown if verbosity of the command is increased.
The text was updated successfully, but these errors were encountered:
@sanmai-NL I am not sure if my enhancement request is acually a duplicate of your issue - at least how I understand your request: in my context, it is expected that unearth is iterating thru the given indexes to see which provides the packages to resolve. So that's not an issue. What is unexpected from a user experience perspective are the warnings when an index does not provide the package. The warnings may lead you into thinking that something may be wrong and are clustering the terminal output prior to the actual output (like with pdm outdated)
Is your feature/enhancement proposal related to a problem? Please describe.
Not a problem but low user experience imho:
When additional (private) indexes are added (default pypi is not overwritten), then commands like
pdm outdated
orpdm list --resolve
(basically every command that iterates the configured indexes and uses unearth's collector) is showing these kind of warnings for the index that does not host the package:Depending on the count of default or dev dependencies, those warning are flooding the terminal before the actual command output is provided.
The warning seems to originate from here.
Describe the solution you'd like
Since it is expected that some/all packages are not available on all given indexes, these warnings should be suppressed and maybe only shown if verbosity of the command is increased.
The text was updated successfully, but these errors were encountered: