This is an automated email from the ASF dual-hosted git repository. pierrejeambrun pushed a commit to branch v2-5-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit f4b05aa32c62b45913bfda270ab6806a6bcff2f8 Author: Jarek Potiuk <[email protected]> AuthorDate: Tue Mar 21 13:04:56 2023 +0100 Revert "Also limit importlib on Python 3.9 (#30069)" (#30209) This reverts commit 6e2bdcfebe3e6dd43854f6e62e4e326079c6df79. 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. (cherry picked from commit 3ec47ecd24de7aa48fe56d174fab576ca41aa699) --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 9d93dc1038..0e359f6674 100644 --- a/setup.cfg +++ b/setup.cfg @@ -101,8 +101,8 @@ install_requires = httpx # Importlib-metadata 5 is breaking Celery import due to regression it introduced # This was tracked and fixed in https://github.com/celery/celery/pull/7785 but it is not released yet - # We can remove the < 5.0.0 limitation when Celery 5.3.0 gets released and we bump celeryt o >= 5.3.0 - importlib_metadata>=1.7,<5.0.0;python_version<="3.9" + # We can remove the < 5.0.0 limitation hwne Celery 5.3.0 gets released and we bump celeryt o >= 5.3.0 + importlib_metadata>=1.7,<5.0.0;python_version<"3.9" importlib_resources>=5.2;python_version<"3.9" itsdangerous>=2.0 jinja2>=3.0.0
