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

ephraimanierobi pushed a commit to branch v2-5-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-5-test by this push:
     new 2c09bc86b6 Also limit importlib on Python 3.9 (#30069)
2c09bc86b6 is described below

commit 2c09bc86b6f5d0cac5882855fe79883731781435
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Mar 13 13:48:22 2023 +0100

    Also limit importlib on Python 3.9 (#30069)
    
    The original #29924 fix containt both > and < condition on
    Python 3.9 thus the limit did not apply to Python 3.9
    
    (cherry picked from commit 6e2bdcfebe3e6dd43854f6e62e4e326079c6df79)
---
 setup.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index 0e359f6674..9d93dc1038 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 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"
+    # 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"
     importlib_resources>=5.2;python_version<"3.9"
     itsdangerous>=2.0
     jinja2>=3.0.0

Reply via email to