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

Show dependencies in package-detail pages #41

Open
toshihikoyanase opened this issue Aug 28, 2024 · 0 comments
Open

Show dependencies in package-detail pages #41

toshihikoyanase opened this issue Aug 28, 2024 · 0 comments

Comments

@toshihikoyanase
Copy link
Member

Motivation

Detailed pages of the OptunaHub packages sometimes display installation command, such as:

pip install -r https://hub.optuna.org/samplers/name/requirements.txt

However, users cannot see the list of dependencies via Web UI. The goal of this feature proposal is to address this limitation.

Note that the original idea for this feature proposal was suggested by @c-bata .

Description

If a requirements.txt file exists for a package on OptunaHub, we propose to display its contents as a list in the Installation section of the corresponding package-detail page.
The list may sometimes be lengthy, and we suggest employing the details tag, which allows users to expand and view the full list of dependencies.

Here's a potential implementation:

## Installation


pip install -r https://hub.optuna.org/samplers/name/requirements.txt

<details>
  <summary>list of dependencies</summary>
  <!-- Import the contents of https://hub.optuna.org/samplers/name/requirements.txt here. -->
</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant