Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update dependency apache-airflow to v2.8.0 [SECURITY] (#3572)
Openverse (Bot)ceb23f6c39dd
diff --git a/catalog/requirements-prod.txt b/catalog/requirements-prod.txtindex 0cc2124f5..bbab3e240 100644--- a/catalog/requirements-prod.txt+++ b/catalog/requirements-prod.txt@@ -2,7 +2,7 @@# Note: Unpinned packages have their versions determined by the Airflow constraints file-apache-airflow[amazon,postgres,http,elasticsearch]==2.7.3+apache-airflow[amazon,postgres,http,elasticsearch]==2.8.0lxmlpsycopg2-binaryrequests-file==1.5.1diff --git a/catalog/tests/dags/common/sensors/test_single_run_external_dags_sensor.py b/catalog/tests/dags/common/sensors/test_single_run_external_dags_sensor.pyindex 7f8867b9d..cd10150f5 100644--- a/catalog/tests/dags/common/sensors/test_single_run_external_dags_sensor.py+++ b/catalog/tests/dags/common/sensors/test_single_run_external_dags_sensor.py@@ -176,12 +176,15 @@ class TestExternalDAGsSensor(unittest.TestCase):with self.assertLogs(sensor.log, level=logging.INFO) as sensor_logs:run_sensor(sensor)assert (- "INFO:airflow.task.operators:Poking for DAGs ['successful_dag',"- " 'failed_dag', 'queued_dag'] ..." in sensor_logs.output+ "INFO:airflow.task.operators.common.sensors.single_run_external"+ "_dags_sensor.SingleRunExternalDAGsSensor:Poking for DAGs "+ "['successful_dag', 'failed_dag', 'queued_dag'] ..."+ in sensor_logs.output)assert (- "INFO:airflow.task.operators:0 DAGs are in the running state"- in sensor_logs.output+ "INFO:airflow.task.operators.common.sensors.single_run_external"+ "_dags_sensor.SingleRunExternalDAGsSensor:0 DAGs are in the "+ "running state" in sensor_logs.output)def test_retries_if_running_dags_with_completed_sensor_task(self):@@ -226,11 +229,13 @@ class TestExternalDAGsSensor(unittest.TestCase):run_sensor(sensor)assert (- f"INFO:airflow.task.operators:Poking for DAGs ['"+ "INFO:airflow.task.operators.common.sensors.single_run_external"+ "_dags_sensor.SingleRunExternalDAGsSensor:Poking for DAGs ['"f"{DAG_PREFIX}_success_dag', '{DAG_PREFIX}_running_dag'] ..."in sensor_logs.output)assert (- "INFO:airflow.task.operators:1 DAGs are in the running state"- in sensor_logs.output+ "INFO:airflow.task.operators.common.sensors.single_run_external"+ "_dags_sensor.SingleRunExternalDAGsSensor:1 DAGs are in the "+ "running state" in sensor_logs.output)