vperron commented on issue #51422:
URL: https://github.com/apache/airflow/issues/51422#issuecomment-4068304878

   This bug still seems to exist in a different form, no crash but indefinitely 
hangs.
   Exactly the same conditions as @spirkaa , Airflow 3.1.7.
   
   Inside @task.virtualenv:
   ```python
   @task.virtualenv(
       requirements="requirements/tasks/requirements.txt",
       system_site_packages=False,
       venv_cache_path="/tmp/",
       retries=1,
   )
   def import_data():                                                           
                                                                                
                                                 
   
       from airflow.sdk import Connection
   
       pg_conn = Connection.get(conn_id="pg")  # hangs forever
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to