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

Add requests to requirements.txt #5112

Merged
merged 3 commits into from
Oct 9, 2021
Merged

Add requests to requirements.txt #5112

merged 3 commits into from
Oct 9, 2021

Conversation

sandstorm12
Copy link
Contributor

@sandstorm12 sandstorm12 commented Oct 9, 2021

  1. Requests added to requirements.txt. That might not be included in all docker base images, adding it to the requirements is safer.
  2. Added a minimum version to Pandas. It's a good practice to have versions for all dependencies.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Enhancement of dependencies in the YOLOv5 project's requirements.

📊 Key Changes

  • Added requests library with a minimum version of 2.23.0.
  • Specified a minimum version of 1.1.4 for the pandas library.

🎯 Purpose & Impact

  • Including requests likely aims to facilitate web requests capabilities for tasks such as downloading data or interacting with web services.
  • Pinning a minimum version for pandas ensures compatibility and stability when using data frames for analysis and plotting.
  • These changes may result in more robust code and fewer bugs for users due to better control over the package environment. Users will need to ensure they have these versions when installing or upgrading the YOLOv5 dependencies.

1. Requests added to requirements.txt. That might not be included in all docker base images, adding it to the requirements is safer.
2. Added a minimum version to Pandas. It's a good practice to have versions for all dependencies.
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 Hello @sandstorm12, thank you for submitting a 🚀 PR! To allow your work to be integrated as seamlessly as possible, we advise you to:

  • ✅ Verify your PR is up-to-date with origin/master. If your PR is behind origin/master an automatic GitHub actions rebase may be attempted by including the /rebase command in a comment body, or by running the following code, replacing 'feature' with the name of your local branch:
git remote add upstream https://github.com/ultralytics/yolov5.git
git fetch upstream
git checkout feature  # <----- replace 'feature' with local branch name
git merge upstream/master
git push -u origin -f
  • ✅ Verify all Continuous Integration (CI) checks are passing.
  • ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." -Bruce Lee

@glenn-jocher glenn-jocher changed the title Requirements updated Add requests to requirements.txt Oct 9, 2021
@glenn-jocher
Copy link
Member

@sandstorm12 thanks for the PR! This is causing conflicts on Colab install
Screen Shot 2021-10-09 at 11 17 14 AM

@sandstorm12
Copy link
Contributor Author

Requests version 2.23.0 is tested.

  • Custom docker compatibility: OK
  • Google colab compatibility: OK

@glenn-jocher glenn-jocher merged commit 97b6b14 into ultralytics:master Oct 9, 2021
@glenn-jocher
Copy link
Member

@sandstorm12 PR is merged. Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐

@sandstorm12 sandstorm12 deleted the requirements_update branch October 10, 2021 01:15
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* Requirements updated

1. Requests added to requirements.txt. That might not be included in all docker base images, adding it to the requirements is safer.
2. Added a minimum version to Pandas. It's a good practice to have versions for all dependencies.

* Sort alphabetically

* Update requirements.txt

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
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.

2 participants