Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore python modules made available by existing packages #6

Merged
merged 1 commit into from
Sep 6, 2019

Conversation

turbio
Copy link

@turbio turbio commented Sep 4, 2019

Trusting package guessing leads to an issue where multiple packages providing
the same module can inadvertently be both installed. This happens when different
packages each rank as the best guess for modules provided by the same package.

Although it is somewhat incorrect as transitive deps could cause some packages
to be incorrectly skipped. The end behavior makes things a bit more reliable.

Perhaps it'd better to determine the fewest number of packages to satisfy all
modules, but this seems to work well enough for now.

here's a repl using this new behavior: https://repl.it/@turbio/upm-testing
notice that websocket isn't installed because it is made available by discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants