pypi ultralytics 8.4.145
v8.4.145 - Bump to 8.4.145 for login failure exit status (#26117)

5 hours ago

🌟 Summary

Improves Platform login reliability in Ultralytics 8.4.145 by reporting authentication and connection failures with a proper non-zero exit status, making command-line automation more dependable. ✅

📊 Key Changes

  • 🔐 Login failures now exit with status 1
    • Invalid API keys and rejected authentication requests now terminate with an error instead of only displaying a warning.
    • Network and connection failures also return a failure status.
  • 🧭 Consistent behavior across login commands
    • The fix applies to both yolo login and delegated ul login flows.
  • Successful operations are unchanged
    • Successful login continues to exit normally and save credentials.
    • Logout continues to clear credentials and return status 0.
  • 📦 Version updated
    • Package version increases from 8.4.144 to 8.4.145 so the login fix is available through PyPI.

🎯 Purpose & Impact

  • 🤖 Better automation: Scripts and CI pipelines can now reliably detect failed logins instead of mistakenly treating them as successful.
  • 🛠️ Clearer error handling: Authentication and connectivity problems are surfaced as actual command failures while retaining the existing error messages.
  • 🔄 Safer credential behavior: Failed login attempts do not overwrite valid saved credentials.
  • 🚀 Release availability: Users installing ultralytics==8.4.145 receive the corrected login behavior.

What's Changed

Full Changelog: v8.4.144...v8.4.145

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.