This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 3ec47ecd24 Revert "Also limit importlib on Python 3.9 (#30069)" 
(#30209)
3ec47ecd24 is described below

commit 3ec47ecd24de7aa48fe56d174fab576ca41aa699
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.
---
 setup.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index ddd1158bcd..a6f992a4d3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -103,8 +103,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

Reply via email to