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 check_python() #3088

Merged
merged 3 commits into from
May 9, 2021
Merged

Add check_python() #3088

merged 3 commits into from
May 9, 2021

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 9, 2021

Checks python version against minimum version of 3.7.0.

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improvements in Python version checking and dependency management.

πŸ“Š Key Changes

  • Added a function check_python to verify the current Python version against a minimum required version.
  • Integrated Python version check into the check_requirements function.

🎯 Purpose & Impact

  • Ensures that YOLOv5 is used with a compatible Python version, meeting a minimum version standard (🐍 Python >= 3.7.0).
  • Prevents potential issues related to incompatibilities with older Python versions, improving user experience by providing clearer requirements (🚫 fewer bugs & errors).
  • Users are now automatically alerted if their Python version is not up to par, avoiding troubleshooting and support requests (πŸ” easier debugging).

Checks python version against minimum version of 3.7.0.
@glenn-jocher glenn-jocher self-assigned this May 9, 2021
@glenn-jocher glenn-jocher added the enhancement New feature or request label May 9, 2021
@glenn-jocher glenn-jocher merged commit 57b0d3a into master May 9, 2021
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-5 branch May 9, 2021 13:33
KMint1819 pushed a commit to KMint1819/yolov5 that referenced this pull request May 12, 2021
* Add check_python()

Checks python version against minimum version of 3.7.0.

* remove packaging dependency

* refactor import
Lechtr pushed a commit to Lechtr/yolov5 that referenced this pull request Jul 20, 2021
* Add check_python()

Checks python version against minimum version of 3.7.0.

* remove packaging dependency

* refactor import

(cherry picked from commit 57b0d3a)
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* Add check_python()

Checks python version against minimum version of 3.7.0.

* remove packaging dependency

* refactor import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant