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

Fix version attribute #15

Merged
merged 5 commits into from
May 31, 2024
Merged

Fix version attribute #15

merged 5 commits into from
May 31, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 31, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhancements to the version management and dependencies for the Ultralytics THOP package.

πŸ“Š Key Changes

  • πŸ”„ Switched version control from pyproject.toml to being dynamically managed within thop/__init__.py.
  • πŸš€ Improved the GitHub Actions workflow to ensure a clean environment by uninstalling any existing thop before installation.
  • πŸ”§ Added numpy as a dependency in pyproject.toml for better numerical operations support.
  • πŸ“ Updated maintainer information in pyproject.toml, reflecting organizational changes.
  • πŸ’» Enhanced version checking logic in the GitHub workflow to support both patch and minor version increments, enabling more flexible releases.

🎯 Purpose & Impact

  • πŸŽ‰ For Users: Ensures that they are always working with the latest, most stable version of the THOP package, enhancing the utility and user experience with new dependencies like numpy for improved functionality.
  • πŸ›  For Developers: Streamlines the release process with better version control and automatic publishing rules, making the maintenance and release of new versions more efficient. Additionally, updating the maintainer information clarifies ownership and responsibility for further inquiries or contributions.
  • 🌍 Overall Impact: These changes aim to ensure the THOP package remains up-to-date with the latest computational standards and user needs, fostering a robust and reliable environment for users and developers alike.

@glenn-jocher glenn-jocher changed the title T2 Fix version attribute May 31, 2024
@glenn-jocher glenn-jocher merged commit 13e65a1 into main May 31, 2024
@glenn-jocher glenn-jocher deleted the t2 branch May 31, 2024 19:59
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