ashb commented on a change in pull request #11487:
URL: https://github.com/apache/airflow/pull/11487#discussion_r503843899



##########
File path: scripts/in_container/run_test_package_import_all_classes.sh
##########
@@ -18,13 +18,23 @@
 # shellcheck source=scripts/in_container/_in_container_script_init.sh
 . "$( dirname "${BASH_SOURCE[0]}" )/_in_container_script_init.sh"
 
+setup_backport_packages
+
 echo
 echo "Testing if all classes in import packages can be imported"
 echo
 
 OUT_FILE_PRINTED_ON_ERROR=$(mktemp)
 
-if [[ ! ${INSTALL_AIRFLOW_VERSION:=""} =~ 1.10* ]]; then
+if [[ ${INSTALL_AIRFLOW_VERSION:=""} == "2.0.0-dev"  ]]; then
+    echo
+    echo "Installing regular packages for Airflow 2.0 but first installing 
prepared Airflow from master"

Review comment:
       ```suggestion
   if [[ ${INSTALL_AIRFLOW_VERSION:=""} ~= 2.*  ]]; then
       echo
       echo "Installing regular packages for Airflow 2 but first installing 
prepared Airflow from master"
   ```




----------------------------------------------------------------
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.

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


Reply via email to