Skip to content

Conversation

@glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Nov 11, 2025

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Add automated PyPI publishing and release workflow with version bump to 0.0.1 πŸš€

πŸ“Š Key Changes

  • Introduces .github/workflows/publish.yml to automate package release to PyPI
  • Implements gated checks to only run on ultralytics/template by @glenn-jocher
  • Adds version bump in template/init.py from 0.0.0 to 0.0.1
  • Automates tagging and GitHub Release notes via ultralytics-actions-summarize-release
  • Builds distribution artifacts using uv and python-build, then uploads to PyPI via trusted publishing
  • Generates and uploads SPDX SBOM (anchore/sbom-action) to the release
  • Sends Slack notifications for success/failure with PR context
  • Uses uv for environment setup, installs, and cache pruning for faster, reproducible builds

🎯 Purpose & Impact

  • Streamlines and secures releases: automated version checks, tagging, building, publishing, and notifications
  • Increases transparency: GitHub Releases with SBOM attached for supply-chain visibility
  • Reduces manual effort and risk in publishing to PyPI
  • Immediate availability of package v0.0.1 enables early adopters to install and test

@codecov
Copy link

codecov bot commented Nov 11, 2025

Codecov Report

βœ… All modified and coverable lines are covered by tests.

πŸ“’ Thoughts on this report? Let us know!

@UltralyticsAssistant UltralyticsAssistant added devops GitHub Devops or MLops enhancement New feature or request labels Nov 11, 2025
@UltralyticsAssistant
Copy link
Member

πŸ‘‹ Hello @glenn-jocher, thank you for submitting a ultralytics/template πŸš€ PR! This is an automated review to help speed things upβ€”an engineer will assist shortly. To ensure a seamless integration of your work, please review the following checklist:

  • βœ… Define a Purpose: Clearly explain the purpose of your fix or feature in your PR description, and link to any relevant issues. Ensure your commit messages are clear, concise, and adhere to the project's conventions.
  • βœ… Synchronize with Source: Confirm your PR is synchronized with the ultralytics/template main branch. If it's behind, update it by clicking the 'Update branch' button or by running git pull and git merge main locally.
  • βœ… Ensure CI Checks Pass: Verify all Ultralytics Continuous Integration (CI) checks are passing. If any checks fail, please address the issues.
  • βœ… Update Documentation: Update the relevant documentation for any new or modified features.
  • βœ… Add Tests: If applicable, include or update tests to cover your changes, and confirm that all tests are passing.
  • βœ… Sign the CLA: Please ensure you have signed our Contributor License Agreement if this is your first Ultralytics PR by writing "I have read the CLA Document and I sign the CLA" in a new message.
  • βœ… Minimize Changes: Limit your changes to the minimum necessary 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

For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! πŸš€

Copy link
Member

@UltralyticsAssistant UltralyticsAssistant left a comment

Choose a reason for hiding this comment

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

πŸ” PR Review

Made with ❀️ by Ultralytics Actions

Please harden the Slack notification step to handle direct pushes (no PR) gracefully, and hook up or remove the unused pypi workflow_dispatch input.

πŸ’¬ Posted 2 inline comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops GitHub Devops or MLops enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants