You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/06/13 21:37:26 UTC
[GitHub] [airflow] Stegallo opened a new issue, #24427: Adding explicit apache-airflow version to constraints file
Stegallo opened a new issue, #24427:
URL: https://github.com/apache/airflow/issues/24427
### Apache Airflow version
2.2.2
### What happened
When installing additional libraries to an airflow environment version 2.2.2 using a requirements file including
`--constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.2.2/constraints-3.7.txt"`
it erroneously installs also `apache-airflow==2.2.3`, causing the WebServer UI to break.
This happens specifically when using AWS MWAA.
### What you think should happen instead
the version installed of apache-airflow should be 2.2.2.
### How to reproduce
_No response_
### Operating System
Linux
### Versions of Apache Airflow Providers
_No response_
### Deployment
MWAA
### Deployment details
_No response_
### Anything else
I guess `https://raw.githubusercontent.com/apache/airflow/constraints-2.2.2/constraints-3.7.txt` should explicit set the version of `apache-airflow==2.2.2`.
### 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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #24427: Adding explicit apache-airflow version to constraints file
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #24427:
URL: https://github.com/apache/airflow/issues/24427#issuecomment-1154475175
Nope. It makes compleely no sense to add apache-airflow==2.2.2 to constraints that are used to install apache-airflow==2.2.2.
The problem is not constraints, but you extra dependencies you add . I do not know what you want to install but what you want is easily achievable by:
`pip install apache-airflow==2.2.3 --constraints https://raw.githubusercontent.com/apache/airflow/constraints-2.2.2/constraints-3.7.txt ... whatever other libraries you want to install`
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #24427: Adding explicit apache-airflow version to constraints file
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #24427:
URL: https://github.com/apache/airflow/issues/24427#issuecomment-1154464243
Thanks for opening your first issue here! Be sure to follow the issue template!
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #24427: Adding explicit apache-airflow version to constraints file
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #24427: Adding explicit apache-airflow version to constraints file
URL: https://github.com/apache/airflow/issues/24427
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org