Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Upgrade to Airflow 2.5.1, remove old warnings (#985)

Madison Swain-Bowdena4afb8f9debc
diff --git a/pytest.ini b/pytest.ini
index b3525fece..8b92f0abe 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -17,16 +17,8 @@ addopts =
--dist loadscope
--disable-socket
--allow-unix-socket
-# SMTP
-# This occurs because the default config is loaded when running `just test --extended`
-# which happens to still have SMTP credential defaults assigned in it. We do not set
-# these anywhere in the dev stack so it can be safely ignored.
-# distutils
+# sqlalchemy
# Warning in dependency, nothing we can do
-# flask
-# Warning in dependency, nothing we can do
-# "removed"/"remoevd" is due to https://github.com/pallets/flask/pull/4757
+# https://docs.sqlalchemy.org/en/20/errors.html#error-b8d9
filterwarnings=
- ignore:Fetching SMTP credentials from configuration variables will be deprecated in a future release. Please set credentials using a connection instead:airflow.exceptions.RemovedInAirflow3Warning
- ignore:distutils Version classes are deprecated. Use packaging.version instead:DeprecationWarning
- ignore:.*is deprecated and will be (remoevd|removed) in Flask 2.3.:DeprecationWarning
+ ignore:.*Deprecated API features detected.*:sqlalchemy.exc.MovedIn20Warning
diff --git a/requirements_prod.txt b/requirements_prod.txt
index eb5a91d15..3e77c41b0 100644
--- a/requirements_prod.txt
+++ b/requirements_prod.txt
@@ -2,7 +2,7 @@
# Note: Unpinned packages have their versions determined by the Airflow constraints file
-apache-airflow[amazon,postgres,http]==2.5.0
+apache-airflow[amazon,postgres,http]==2.5.1
lxml
psycopg2-binary
requests-file==1.5.1