Skip to content

Commit 3ec47ec

Browse files
authored
Revert "Also limit importlib on Python 3.9 (#30069)" (#30209)
This reverts commit 6e2bdcf. The change was done hastily when we released rc1 of 2.5.1 but it turned out to be a red-herring and something that was not really caused by Airflow's dependencies. The importlib_metadata should still be only added as dependency for Python < 3.9 as Python 3.9 does not need it. Also installing importlib_metadata manually (or by other dependencies) even in 6.1 version does not result in automated triggering of the issue - if someone happens to install importlib_metadata in Python 3.9 simply uninstalling it should solve the problem.
1 parent dea44c8 commit 3ec47ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ install_requires =
103103
httpx
104104
# Importlib-metadata 5 is breaking Celery import due to regression it introduced
105105
# This was tracked and fixed in https://github.com/celery/celery/pull/7785 but it is not released yet
106-
# We can remove the < 5.0.0 limitation when Celery 5.3.0 gets released and we bump celeryt o >= 5.3.0
107-
importlib_metadata>=1.7,<5.0.0;python_version<="3.9"
106+
# We can remove the < 5.0.0 limitation hwne Celery 5.3.0 gets released and we bump celeryt o >= 5.3.0
107+
importlib_metadata>=1.7,<5.0.0;python_version<"3.9"
108108
importlib_resources>=5.2;python_version<"3.9"
109109
itsdangerous>=2.0
110110
jinja2>=3.0.0

0 commit comments

Comments
 (0)