Skip to content

Commit 2023e4f

Browse files
committed
[AIRFLOW-520] Fix Version Info in Flask UI (#4072)
1 parent 3348845 commit 2023e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airflow/www/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2845,7 +2845,7 @@ class VersionView(wwwutils.SuperUserMixin, BaseView):
28452845
def version(self):
28462846
# Look at the version from setup.py
28472847
try:
2848-
airflow_version = pkg_resources.require("apache-airflow")[0].version
2848+
airflow_version = airflow.__version__
28492849
except Exception as e:
28502850
airflow_version = None
28512851
logging.error(e)

0 commit comments

Comments
 (0)