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

Updated Requirements.cli.txt #302

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

hvaria
Copy link
Contributor

@hvaria hvaria commented Mar 5, 2024

Issue: #299
Added aiohttp and backoff to the requirements.cli.txt file. This ensures that these dependencies are installed alongside inference_cli, addressing the root cause of the startup failures.

  • aiohttp and backoff are direct dependencies of the inference_sdk used by our CLI tool for handling HTTP requests and implementing retry logic, respectively.

  • The absence of these packages in the requirements.cli.txt file led to an incomplete environment setup for users, resulting in runtime errors.

  • By explicitly listing these dependencies, i ensure that the necessary packages are present in the environment, thereby preventing ModuleNotFoundError issues during runtime.

Added `aiohttp` and `backoff` to the `requirements.cli.txt` file. This ensures that these dependencies are installed alongside `inference_cli`, addressing the root cause of the startup failures.

- `aiohttp` and `backoff` are direct dependencies of the `inference_sdk` used by our CLI tool for handling HTTP requests and implementing retry logic, respectively.

- The absence of these packages in the `requirements.cli.txt` file led to incomplete environment setup for users, resulting in runtime errors.

- By explicitly listing these dependencies, we ensure that the necessary packages are present in the environment, thereby preventing `ModuleNotFoundError` issues during runtime.
@CLAassistant
Copy link

CLAassistant commented Mar 5, 2024

CLA assistant check
All committers have signed the CLA.

@PawelPeczek-Roboflow
Copy link
Collaborator

@hvaria - thanks for contribution - could u please sign CLA

@hvaria
Copy link
Contributor Author

hvaria commented Mar 5, 2024

@PawelPeczek-Roboflow I not sure, why Login to dockerhub failed, overall i just added 2 line to perfect place, for fixing small bug #299

@PawelPeczek-Roboflow
Copy link
Collaborator

no worries, this is related to setup that we have in the repo - will be sorted out. Good contribution 👍

@PawelPeczek-Roboflow
Copy link
Collaborator

ok, merging - thanks for contribution 🏅

@PawelPeczek-Roboflow PawelPeczek-Roboflow merged commit 5bba516 into roboflow:main Mar 5, 2024
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants