[
https://issues.apache.org/jira/browse/AIRFLOW-7096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Khrol resolved AIRFLOW-7096.
---------------------------------
Fix Version/s: 1.10.10
Resolution: Fixed
Tested with 1.10.10 release. It's not reproducible today.
> `apache-airflow[gcp]` can't be installed using pipenv
> -----------------------------------------------------
>
> Key: AIRFLOW-7096
> URL: https://issues.apache.org/jira/browse/AIRFLOW-7096
> Project: Apache Airflow
> Issue Type: Bug
> Components: dependencies
> Affects Versions: 1.10.9
> Reporter: Igor Khrol
> Priority: Major
> Fix For: 1.10.10
>
>
> There are some conflicting versions in {{gcp}} extra.
> {{$ pipenv install apache-airflow[gcp]}} is failing.
> See logs below:
> bq. Igors-MacBook-Pro:airflow-gcp igor_khrol$ pipenv --python 3.7
> bq. Warning: the environment variable LANG is not set!
> bq. We recommend setting this in ~/.profile (or equivalent) for proper
> expected behavior.
> bq. Creating a virtualenv for this project…
> bq. Pipfile: /Users/igor_khrol/tmp/airflow-gcp/Pipfile
> bq. Using /usr/local/bin/python3 (3.7.5) to create virtualenv…
> bq. ⠸ Creating virtual environment...Already using interpreter
> /usr/local/opt/python/bin/python3.7
> bq. Using base prefix
> '/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7'
> bq. New python executable in
> /Users/igor_khrol/.local/share/virtualenvs/airflow-gcp-7pYi2_I1/bin/python3.7
> bq. Also creating executable in
> /Users/igor_khrol/.local/share/virtualenvs/airflow-gcp-7pYi2_I1/bin/python
> bq. Installing setuptools, pip, wheel...
> bq. done.
> bq. Running virtualenv with interpreter /usr/local/bin/python3
> bq.
> bq. ✔ Successfully created virtual environment!
> bq. Virtualenv location:
> /Users/igor_khrol/.local/share/virtualenvs/airflow-gcp-7pYi2_I1
> bq. Creating a Pipfile for this project…
> bq. Igors-MacBook-Pro:airflow-gcp igor_khrol$ pipenv install
> apache-airflow[gcp]
> bq. Installing apache-airflow[gcp]…
> bq. Adding apache-airflow to Pipfile's [packages]…
> bq. ✔ Installation Succeeded
> bq. Pipfile.lock not found, creating…
> bq. Locking [dev-packages] dependencies…
> bq. Locking [packages] dependencies…
> bq. ✘ Locking Failed!
> bq. [pipenv.exceptions.ResolutionFailure]: File
> "/usr/local/lib/python3.7/site-packages/pipenv/resolver.py", line 69, in
> resolve
> bq. [pipenv.exceptions.ResolutionFailure]: req_dir=requirements_dir
> bq. [pipenv.exceptions.ResolutionFailure]: File
> "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 726, in
> resolve_deps
> bq. [pipenv.exceptions.ResolutionFailure]: req_dir=req_dir,
> bq. [pipenv.exceptions.ResolutionFailure]: File
> "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 480, in
> actually_resolve_deps
> bq. [pipenv.exceptions.ResolutionFailure]: resolved_tree =
> resolver.resolve()
> bq. [pipenv.exceptions.ResolutionFailure]: File
> "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 395, in resolve
> bq. [pipenv.exceptions.ResolutionFailure]: raise
> ResolutionFailure(message=str(e))
> bq. [pipenv.exceptions.ResolutionFailure]:
> pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version
> that matches grpc-google-iam-v1<0.12dev,<0.13dev,>=0.11.4,>=0.12.3
> bq. [pipenv.exceptions.ResolutionFailure]: Tried: 0.9.0, 0.10.0,
> 0.10.1, 0.11.1, 0.11.3, 0.11.4, 0.12.0, 0.12.1, 0.12.2, 0.12.3
> bq. [pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could
> not be resolved. You likely have a mismatch in your sub-dependencies.
> bq. First try clearing your dependency cache with $ pipenv lock --clear,
> then try the original command again.
> bq. Alternatively, you can use $ pipenv install --skip-lock to bypass this
> mechanism, then run $ pipenv graph to inspect the situation.
> bq. Hint: try $ pipenv lock --pre if it is a pre-release dependency.
> bq. ERROR: ERROR: Could not find a version that matches
> grpc-google-iam-v1<0.12dev,<0.13dev,>=0.11.4,>=0.12.3
> bq. Tried: 0.9.0, 0.10.0, 0.10.1, 0.11.1, 0.11.3, 0.11.4, 0.12.0, 0.12.1,
> 0.12.2, 0.12.3
> bq. There are incompatible versions in the resolved dependencies.
> bq. [pipenv.exceptions.ResolutionFailure]: req_dir=requirements_dir
> bq. [pipenv.exceptions.ResolutionFailure]: File
> "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 726, in
> resolve_deps
> bq. [pipenv.exceptions.ResolutionFailure]: req_dir=req_dir,
> bq. [pipenv.exceptions.ResolutionFailure]: File
> "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 480, in
> actually_resolve_deps
> bq. [pipenv.exceptions.ResolutionFailure]: resolved_tree =
> resolver.resolve()
> bq. [pipenv.exceptions.ResolutionFailure]: File
> "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 395, in resolve
> bq. [pipenv.exceptions.ResolutionFailure]: raise
> ResolutionFailure(message=str(e))
> bq. [pipenv.exceptions.ResolutionFailure]:
> pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version
> that matches grpc-google-iam-v1<0.12dev,<0.13dev,>=0.11.4,>=0.12.3
> bq. [pipenv.exceptions.ResolutionFailure]: Tried: 0.9.0, 0.10.0,
> 0.10.1, 0.11.1, 0.11.3, 0.11.4, 0.12.0, 0.12.1, 0.12.2, 0.12.3
> bq. [pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could
> not be resolved. You likely have a mismatch in your sub-dependencies.
> bq. First try clearing your dependency cache with $ pipenv lock --clear,
> then try the original command again.
> bq. Alternatively, you can use $ pipenv install --skip-lock to bypass this
> mechanism, then run $ pipenv graph to inspect the situation.
> bq. Hint: try $ pipenv lock --pre if it is a pre-release dependency.
> bq. ERROR: ERROR: Could not find a version that matches
> grpc-google-iam-v1<0.12dev,<0.13dev,>=0.11.4,>=0.12.3
> bq. Tried: 0.9.0, 0.10.0, 0.10.1, 0.11.1, 0.11.3, 0.11.4, 0.12.0, 0.12.1,
> 0.12.2, 0.12.3
> bq. There are incompatible versions in the resolved dependencies.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)