shubhashish9 opened a new issue, #26769:
URL: https://github.com/apache/airflow/issues/26769
### Apache Airflow version
2.4.0
### What happened
In my DAG I make a request.get call and it fails with sigsev. In the
background python crashes.
I tried with debug executor and that works, But in python virtualenv or in
docker it fails with same error.
### What you think should happen instead
This sigsev should not have happened.
### How to reproduce
Using this dag script the issue is reproducible:
from airflow import DAG
from datetime import datetime
from airflow.operators.python_operator import PythonOperator
import requests
def test_request(**context):
url='https://jsonplaceholder.typicode.com/todos/1'
response = requests.get(
url=url
)
default_args = {'start_date': datetime(2022, 5, 11)}
dag = DAG(
dag_id='s3-test-24',
schedule_interval=None,
default_args=default_args,
start_date=datetime(2022, 5, 11)
)
write_file_func_task = PythonOperator(
task_id='test_request_task_24',
python_callable=test_request,
provide_context=True,
dag=dag
)
write_file_func_task
### Operating System
ProductName: macOS ProductVersion: 12.4 BuildVersion: 21F79
### Versions of Apache Airflow Providers
apache-airflow-providers-cncf-kubernetes==4.3.0
apache-airflow-providers-common-sql==1.2.0
apache-airflow-providers-ftp==3.1.0
apache-airflow-providers-http==4.0.0
apache-airflow-providers-imap==3.0.0
apache-airflow-providers-sqlite==3.2.
### Deployment
Virtualenv installation
### Deployment details
_No response_
### Anything else
It is reproducible consistently
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]