potiuk commented on code in PR #30994:
URL: https://github.com/apache/airflow/pull/30994#discussion_r1182567503


##########
dev/provider_packages/prepare_provider_packages.py:
##########
@@ -54,6 +54,10 @@
 
 ALL_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"]
 
+MIN_AIRFLOW_VERSION = "2.4.0"
+
+MIN_AIRFLOW_VERSION_EXCEPTIONS = {"openlineage": "2.6.0"}

Review Comment:
   That's why I put it very closely to the MIN_AIRFLOW_VERSION - it's less 
likely to forget - because the only time you modify it will be when you bump 
the MIN_AIRFLOW_VERSION. I have no other idea how to make it "less" likely to 
forget. I think in real life there is always something we have to do 
consciously and verify the result  :)
   
   Honestly - there is no better way I think.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to