GMakd opened a new issue, #36524:
URL: https://github.com/apache/airflow/issues/36524

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.7.2
   
   ### What happened?
   
   Traceback (most recent call last):
     File 
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/settings.py",
 line 55, in <module>
       TIMEZONE = pendulum.tz.timezone(tz)
                  ^^^^^^^^^^^^^^^^^^^^^^^^
   TypeError: 'module' object is not callable
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/Library/Frameworks/Python.framework/Versions/3.12/bin/airflow", 
line 5, in <module>
       from airflow.__main__ import main
     File 
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/__init__.py",
 line 52, in <module>
       from airflow import configuration, settings
     File 
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/configuration.py",
 line 2340, in <module>
       secrets_backend_list = initialize_secrets_backends()
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/configuration.py",
 line 2254, in initialize_secrets_backends
       secrets_backend_cls = import_string(class_name)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/utils/module_loading.py",
 line 37, in import_string
       module = import_module(module_path)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py",
 line 90, in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/secrets/metastore.py",
 line 29, in <module>
       from airflow.utils.session import NEW_SESSION, provide_session
     File 
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/utils/session.py",
 line 24, in <module>
       from airflow import settings
     File 
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/settings.py",
 line 57, in <module>
       TIMEZONE = pendulum.tz.timezone("UTC")
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   TypeError: 'module' object is not callable
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   ~ % airflow webserver -p 8080
   
   ### Operating System
   
   macOS-14.2.1-arm64-arm-64bit
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-common-sql==1.10.0
   apache-airflow-providers-ftp==3.7.0
   apache-airflow-providers-http==4.8.0
   apache-airflow-providers-imap==3.5.0
   apache-airflow-providers-sqlite==3.7.0
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   Local installation with python 3.12.1
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to