Copyable 'pip install <foo>' line should likely quote <foo> in some cases #8426
Labels
bug 🐛
good first issue
This issue is ideal for first-time contributors!
UX/UI
design, user experience, user interface
Describe the bug
PyPI shows a copyable
pip install <foo>
command line, and includes the version when visiting a particular release. (Though there's some discussion in #1563 and #3006 about improving or dropping it).For a release containing a
PEP 440 Epoch
, Warehouse shows:The line there is likely not something someone wants to copy paste.
In various shells (zsh, bash) the
!
there will trigger history completion or the like (so3!2
will complete in the history line number 2 in the shell history file).Expected behavior
<foo>
should be quoted, at least in the above case, perhaps others, though I can't think of any.To Reproduce
https://pypi.org/project/composition/8!6.75309/
My Platform
Firefox 80.0b2 (64-bit), macOS
Good First Issue: This issue is good for first time contributors. If you've already contributed to Warehouse, work on another issue without this label instead. If there is not a corresponding pull request for this issue, it is up for grabs. For directions for getting set up, see our Getting Started Guide.
The text was updated successfully, but these errors were encountered: