jason810496 commented on PR #52581:
URL: https://github.com/apache/airflow/pull/52581#issuecomment-3032862234

   > One other thing - I think we can get rid of those dependencies from 
`airflow-core/pyproject.toml`:
   > 
   > ```python
   >    # We could get rid of flask and gunicorn if we replace serve_logs with 
a starlette + unicorn
   >     "flask>=2.1.1",
   >     # We could get rid of flask and gunicorn if we replace serve_logs with 
a starlette + unicorn
   >     "gunicorn>=20.1.0",
   > ```
   
   Just found out that we can't remove `gunicorn` that we are still using 
`gunicorn` for Daemonized the API server if user pass `--daemon` flag.
   
   
https://github.com/apache/airflow/blob/edf86df9aa1ac9ec90421c7699f2bbdf3c86b782/airflow-core/src/airflow/cli/commands/api_server_command.py#L87-L91
   
   I can raise another PR to add the `daemonize` util as a new `airflow.util` 
and remove the `gunicorn` package before merging this one.


-- 
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

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

Reply via email to