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

Copy options install options for latest, and requirements file #14416

Open
vincentdavis opened this issue Aug 22, 2023 · 2 comments
Open

Copy options install options for latest, and requirements file #14416

vincentdavis opened this issue Aug 22, 2023 · 2 comments
Labels
feature request HTML requires change to HTML files UX/UI design, user experience, user interface

Comments

@vincentdavis
Copy link

What's the problem this feature will solve?
My normal workflow when starting or working on a project is to:

  1. Find a package I need on pipy.
  2. Look at the release history.
  3. Choose the newest
    Problem steps
  4. Click the copy install text that is formatted pip install Django==4.2.4
  5. Paste this into my requirements file
  6. Delete the 'pip install `
  7. Then my IDE makes it easy to install this package.

Describe the solution you'd like
I am open to suggestions but my goal with be to be able to quickly:

  • An option to click copy and get only Django==4.2.4 where 4.2.4 is the newest version
    Maybe this could be done by adding one additional copy icon.
    A bit more complex with be:
  • add a copy newest icon for the current that would copy to the clipboard pip install Django==4.2.4
  • Add a third icon for coping only Django==4.2.4

This is probably something I can implement and make a pull request, I would be open to suggestions.

@vincentdavis vincentdavis added feature request requires triaging maintainers need to do initial inspection of issue labels Aug 22, 2023
@miketheman miketheman added UX/UI design, user experience, user interface HTML requires change to HTML files and removed requires triaging maintainers need to do initial inspection of issue labels Aug 22, 2023
@miketheman
Copy link
Member

Semi-related to and some others #9449

@woodruffw
Copy link
Member

This would be another context where a standard tool/entrypoint for modifying PEP 621 metadata would come in handy, since PyPI could offer a single copy-paste selection for some-tool add Django==4.2.4.

(Some discussion here: https://discuss.python.org/t/poetry-add-but-for-pep-621/22957)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request HTML requires change to HTML files UX/UI design, user experience, user interface
Projects
None yet
Development

No branches or pull requests

3 participants