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

Bump Python>=3.8.0 #11971

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Bump Python>=3.8.0 #11971

merged 1 commit into from
Aug 10, 2023

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Aug 10, 2023

πŸ€– Generated by Copilot at 08ac929

Summary

πŸ“πŸŒπŸ”§

This pull request updates the minimum required Python version from 3.7.0 to 3.8.0 in various files, such as .github/workflows/greetings.yml, README.zh-CN.md, and utils/general.py. This ensures consistency and compatibility across the repo and its documentation, and prevents errors from using an outdated Python version.

Python version up
Aligning docs and codebase
Autumn of changes

Walkthrough

  • Update minimum required Python version from 3.7.0 to 3.8.0 in various files (link, link, link)
  • Align greetings message for new contributors with actual requirements in .github/workflows/greetings.yml (link)
  • Keep documentation consistent with actual requirements in README.zh-CN.md (link)
  • Enforce updated Python version requirement at runtime in utils/general.py (link)

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Ultralytics YOLOv5 repository now requires Python 3.8.0 as the minimum version.

πŸ“Š Key Changes

  • Updated the greetings workflow to specify Python version 3.8.0 as the minimum required.
  • Chinese README now reflects the same Python version requirement change.
  • The check_python function in utils/general.py has been updated to enforce the new minimum version of Python 3.8.0.

🎯 Purpose & Impact

  • Ensure compatibility: The raised minimum Python version ensures that the codebase remains compatible with the latest Python features and security updates. πŸ› οΈ
  • Maintain consistency: All documentation and checks are now updated to reflect the new Python requirements, ensuring that new contributors or users looking to set up the project are working with the appropriate Python version. πŸ“
  • Potential upgrade requirement for users: Developers and users might need to update their Python installations to meet the new minimum requirement, which could be crucial for running YOLOv5 successfully and leveraging its latest features. ⬆️

@glenn-jocher glenn-jocher merged commit 493981c into master Aug 10, 2023
10 checks passed
@glenn-jocher glenn-jocher deleted the bump_python branch August 10, 2023 22:53
pleb631 pushed a commit to pleb631/yolov5 that referenced this pull request Jan 6, 2024
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.

None yet

1 participant