replit / upm

⠕ Universal Package Manager - Python, Node.js, Ruby, Emacs Lisp.
https://repl.it
Other
1.05k stars 89 forks source link

feat/Filter dep groups out of guess #241

Closed blast-hardcheese closed 6 months ago

blast-hardcheese commented 6 months ago

Why

As we prepare to merge #240, it will be good to filter out known-but-optional dependencies to avoid noise.

What changed

Test plan

$ poetry init -n
$ echo 'import flask' > main.py
$ upm guess  # Outputs "flask"
$ poetry add -G foo flask
$ upm guess  # No longer outputs anything