Only allow AF2->3 upgrade from Runtime 8.7.0+ by jeremybeard · Pull Request #1828 · astronomer/astro-cli

Description

This change enforces that deployment upgrades from Airflow 2 to 3 can only be made on deployments that are at least on Runtime version 8.7.0 (Airflow 2.6.3), because there are upgrade incompatibilities with prior Airflow versions.

🎟 Issue(s)

Resolves #1824

🧪 Functional Testing

  • Updated unit tests
  • Manually tested with deployments pre and post 8.7.0

📸 Screenshots

Screenshot 2025-04-03 at 10 09 21 AM Screenshot 2025-04-03 at 10 09 42 AM

📋 Checklist

  • Rebased from the main (or release if patching) branch (before testing)
  • Ran make test before taking out of draft
  • Ran make lint before taking out of draft
  • Added/updated applicable tests
  • Tested against Astro-API (if necessary).
  • Tested against Houston-API and Astronomer (if necessary).
  • Communicated to/tagged owners of respective clients potentially impacted by these changes.
  • Updated any related documentation