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 2021/01/08 03:12:00 UTC

[GitHub] [airflow] yogyang opened a new issue #13558: Version Incompatibility in 1.10.14 between apache-airflow-backport-providers-slack & airflow-1.10.14

yogyang opened a new issue #13558:
URL: https://github.com/apache/airflow/issues/13558


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the following questions.
   Don't worry if they're not all applicable; just try to include what you can :-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   <!--
   
   IMPORTANT!!!
   
   PLEASE CHECK "SIMILAR TO X EXISTING ISSUES" OPTION IF VISIBLE
   NEXT TO "SUBMIT NEW ISSUE" BUTTON!!!
   
   PLEASE CHECK IF THIS ISSUE HAS BEEN REPORTED PREVIOUSLY USING SEARCH!!!
   
   Please complete the next sections or the issue will be closed.
   These questions are the first thing we need to know to understand the context.
   
   -->
   
   **Apache Airflow version**: 1.10.14
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): no k8s
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**:
   - **OS** (e.g. from /etc/os-release):
   - **Kernel** (e.g. `uname -a`):
   - **Install tools**:
   - **Others**:
   
   **What happened**:
   
   Prepare codes for Airflow 2.0 compatibility
   
   ```
   SolverProblemError
   
     Because apache-airflow-backport-providers-slack (2020.10.29) depends on slackclient (>=2.0.0,<3.0.0)
      and apache-airflow[aws,celery,crypto,datadog,ldap,mongo,password,postgres,sentry,slack,ssh,statsd] (1.10.14) depends on slackclient (>=1.0.0,<2.0.0), apache-airflow-backport-providers-slack (2020.10.29) is incompatible with apache-airflow[aws,celery,crypto,datadog,ldap,mongo,password,postgres,sentry,slack,ssh,statsd] (1.10.14).
     So, because airflow depends on both apache-airflow[aws,celery,crypto,datadog,ldap,mongo,password,postgres,sentry,slack,ssh,statsd] (=1.10.14) and apache-airflow-backport-providers-slack (=2020.10.29), version solving failed.
   ```
   
   <!-- (please include exact error messages if you can) -->
   
   **What you expected to happen**:
   
   <!-- What do you think went wrong? -->
   
   `backport-providers-slack` should have lower slack
   
   **How to reproduce it**:
   <!---
   
   As minimally and precisely as possible. Keep in mind we do not have access to your cluster or dags.
   
   If you are using kubernetes, please attempt to recreate the issue using minikube or kind.
   
   ## Install minikube/kind
   
   - Minikube https://minikube.sigs.k8s.io/docs/start/
   - Kind https://kind.sigs.k8s.io/docs/user/quick-start/
   
   If this is a UI bug, please provide a screenshot of the bug or a link to a youtube video of the bug in action
   
   You can include images using the .md style of
   ![alt text](http://url/to/img.png)
   
   To record a screencast, mac users can use QuickTime and then create an unlisted youtube video with the resulting .mov file.
   
   --->
   
   pip install apache-airflow==1.10.14 
   pip install apache-airflow-backport-providers-slack 
   
   **Anything else we need to know**:
   
   <!--
   
   How often does this problem occur? Once? Every time etc?
   
   Any relevant logs to include? Put them here in side a detail tag:
   <details><summary>x.log</summary> lots of stuff </details>
   
   -->
   


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

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



[GitHub] [airflow] potiuk closed issue #13558: Version Incompatibility in 1.10.14 between apache-airflow-backport-providers-slack & airflow-1.10.14

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #13558:
URL: https://github.com/apache/airflow/issues/13558


   


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

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



[GitHub] [airflow] potiuk commented on issue #13558: Version Incompatibility in 1.10.14 between apache-airflow-backport-providers-slack & airflow-1.10.14

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #13558:
URL: https://github.com/apache/airflow/issues/13558#issuecomment-756751471


   This is because you are using poetry. Airlfow should be installed with PIP rather than poetry using the constraint files (as described in http://airflow.apache.org/docs/apache-airflow/stable/installation.html 
   
   There are far too many dependencies in airflow to manage them with multiple tools that have different resolvers. So e have PIP + constraint files. I know people were using Poetry with using the constraint files - follow the discussion here: https://github.com/apache/airflow/issues/13149#issuecomment-748062078
   
   It would be great, if you find consistent method of installation to contribute back PR to our documentation to describe how to use constraints with poetry.


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

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



[GitHub] [airflow] potiuk commented on issue #13558: Version Incompatibility in 1.10.14 between apache-airflow-backport-providers-slack & airflow-1.10.14

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #13558:
URL: https://github.com/apache/airflow/issues/13558#issuecomment-756751471


   This is because you are using poetry. Airlfow should be installed with PIP rather than poetry using the constraint files (as described in http://airflow.apache.org/docs/apache-airflow/stable/installation.html 
   
   There are far too many dependencies in airflow to manage them with multiple tools that have different resolvers. So e have PIP + constraint files. I know people were using Poetry with using the constraint files - follow the discussion here: https://github.com/apache/airflow/issues/13149#issuecomment-748062078
   
   It would be great, if you find consistent method of installation to contribute back PR to our documentation to describe how to use constraints with poetry.


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

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



[GitHub] [airflow] potiuk closed issue #13558: Version Incompatibility in 1.10.14 between apache-airflow-backport-providers-slack & airflow-1.10.14

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #13558:
URL: https://github.com/apache/airflow/issues/13558


   


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

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