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/02/09 08:32:34 UTC

[GitHub] [airflow] Khrol opened a new issue #14145: google-cloud-automl version incompatibility in apache-airflow[google,google_auth]

Khrol opened a new issue #14145:
URL: https://github.com/apache/airflow/issues/14145


   <!--
   
   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**: 2.0.1
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): -
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**:
   - **OS** (e.g. from /etc/os-release):
   - **Kernel** (e.g. `uname -a`):
   - **Install tools**:
   - **Others**:
   
   **What happened**:
   
   <!-- (please include exact error messages if you can) -->
   
   Can't install `apache-airflow[google,google_auth]==2.0.1` using `pipenv`
   
   Output:
   ```
   % pipenv install "apache-airflow[google,google_auth]==2.0.1"                    
   Installing apache-airflow[google,google_auth]==2.0.1...
   Adding apache-airflow to Pipfile's [packages]...
   ✔ Installation Succeeded 
   Pipfile.lock (db4242) out of date, updating to (426666)...
   Locking [dev-packages] dependencies...
   Locking [packages] dependencies...
   Building requirements...
   Resolving dependencies...
   ✘ Locking Failed! 
   [ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2020.11.15/libexec/lib/python3.9/site-packages/pipenv/resolver.py", line 741, in _main
   [ResolutionFailure]:       resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
   [ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2020.11.15/libexec/lib/python3.9/site-packages/pipenv/resolver.py", line 702, in resolve_packages
   [ResolutionFailure]:       results, resolver = resolve(
   [ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2020.11.15/libexec/lib/python3.9/site-packages/pipenv/resolver.py", line 684, in resolve
   [ResolutionFailure]:       return resolve_deps(
   [ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2020.11.15/libexec/lib/python3.9/site-packages/pipenv/utils.py", line 1395, in resolve_deps
   [ResolutionFailure]:       results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
   [ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2020.11.15/libexec/lib/python3.9/site-packages/pipenv/utils.py", line 1108, in actually_resolve_deps
   [ResolutionFailure]:       resolver.resolve()
   [ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2020.11.15/libexec/lib/python3.9/site-packages/pipenv/utils.py", line 833, in resolve
   [ResolutionFailure]:       raise ResolutionFailure(message=str(e))
   [pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
     First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
    Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
     Hint: try $ pipenv lock --pre if it is a pre-release dependency.
   ERROR: Could not find a version that matches google-cloud-automl<2.0.0,<3.0.0,>=0.4.0,>=2.1.0 (from apache-airflow[google,google_auth]==2.0.1->-r /var/folders/_2/4fxqmzv17w10xcgpmn07cyww0000gn/T/pipenv6xf5z09xrequirements/pipenv-2_2vbarc-constraints.txt (line 2))
   Tried: 0.1.0, 0.1.0, 0.1.1, 0.1.1, 0.1.2, 0.1.2, 0.2.0, 0.2.0, 0.3.0, 0.3.0, 0.4.0, 0.4.0, 0.5.0, 0.5.0, 0.6.0, 0.6.0, 0.7.0, 0.7.0, 0.7.1, 0.7.1, 0.8.0, 0.8.0, 0.9.0, 0.9.0, 0.10.0, 0.10.0, 1.0.1, 1.0.1, 2.0.0, 2.0.0, 2.1.0, 2.1.0
   There are incompatible versions in the resolved dependencies:
     google-cloud-automl<2.0.0,>=0.4.0 (from apache-airflow[google,google_auth]==2.0.1->-r /var/folders/_2/4fxqmzv17w10xcgpmn07cyww0000gn/T/pipenv6xf5z09xrequirements/pipenv-2_2vbarc-constraints.txt (line 2))
     google-cloud-automl<3.0.0,>=2.1.0 (from apache-airflow-providers-google==2.0.0->apache-airflow[google,google_auth]==2.0.1->-r /var/folders/_2/4fxqmzv17w10xcgpmn07cyww0000gn/T/pipenv6xf5z09xrequirements/pipenv-2_2vbarc-constraints.txt (line 2))
   ```
   
   **What you expected to happen**:
   
   <!-- What do you think went wrong? -->
   
   **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.
   
   --->
   
   `pipenv install --python 3.8`
   `pipenv install "apache-airflow[google,google_auth]==2.0.1" `
   
   **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 commented on issue #14145: google-cloud-automl version incompatibility in apache-airflow[google,google_auth]

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


   also see the comments http://airflow.apache.org/docs/apache-airflow/stable/installation.html#installation-tools  where we describe hte instllation tools.


----------------------------------------------------------------
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 #14145: google-cloud-automl version incompatibility in apache-airflow[google,google_auth]

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


   


----------------------------------------------------------------
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 edited a comment on issue #14145: google-cloud-automl version incompatibility in apache-airflow[google,google_auth]

Posted by GitBox <gi...@apache.org>.
potiuk edited a comment on issue #14145:
URL: https://github.com/apache/airflow/issues/14145#issuecomment-776268527


   We do not have support for pipenv. The official way to install airflow is with `pip` and --constraint files. If you find a way to make pipenv respect the cosnstraint files you are most welcome to contribute documentation on installation page using using pipenv.  I'd love to get that in, so happy to review it.
   
   See http://airflow.apache.org/docs/apache-airflow/stable/installation.html


----------------------------------------------------------------
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 #14145: google-cloud-automl version incompatibility in apache-airflow[google,google_auth]

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


   We do not have support for pipenv. The official way to install airflow is with `pip` and --constraint files. If you find a way to make pipenv respect the cosnstraint files you are most welcome to contribute documentation on installation page using using pipenv.  I'd love to get that in, so happy to review it.


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