hterik opened a new issue #19428: URL: https://github.com/apache/airflow/issues/19428
### Apache Airflow version 2.2.1 (latest released) ### Operating System N/A ### Versions of Apache Airflow Providers _No response_ ### Deployment Virtualenv installation ### Deployment details _No response_ ### What happened Trying to install Airflow in a Python 3.7+ project via Poetry gives following error: > The current project's Python requirement (>=3.7) is not compatible with some of the required packages Python requirement: > - apache-airflow requires Python ~=3.6, so it will not be satisfied for Python >=4.0 I am aware poetry is not supported [*] but isn't this constraint on the python version needlessly tight regardless? It comes from `setup.cfg`: `python_requires = ~=3.6` [*] (it normally works after some copying some entries from constraints.txt into Poetry.lock) ### What you expected to happen According to https://airflow.apache.org/docs/apache-airflow/stable/installation/prerequisites.html, "_Airflow is tested on 3.6, 3.7, 3.8, 3.9._" Installing the pip package in those python environments should work. Preferably in newer versions also as they are generally very compatible. Can the constraint be set to >=3.6? ### How to reproduce _No response_ ### Anything else _No response_ ### Are you willing to submit PR? - [X] 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]
