You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Tim Swast` (JIRA)" <ji...@apache.org> on 2018/03/28 17:39:00 UTC

[jira] [Created] (AIRFLOW-2266) GCP integrations (gcp_api extras) cannot be installed from Python 3

Tim Swast` created AIRFLOW-2266:
-----------------------------------

             Summary: GCP integrations (gcp_api extras) cannot be installed from Python 3
                 Key: AIRFLOW-2266
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2266
             Project: Apache Airflow
          Issue Type: Bug
          Components: contrib
         Environment: OS: macOS

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.3
BuildVersion:	17D102

Python 3.6.4
            Reporter: Tim Swast`


As seen in https://issues.apache.org/jira/browse/AIRFLOW-2187, the google-cloud-dataflow package only works from Python 2. This is what happens when I try to install the gcp_api extras from a Python 3 environment:

 
|pip install apache-airflow[gcp_api]|
|...
Collecting cryptography>=2.1.4 (from PyOpenSSL->apache-airflow[gcp_api])
  Downloading cryptography-2.2.1-cp34-abi3-macosx_10_6_intel.whl (1.5MB)
    100% \|████████████████████████████████\| 1.5MB 943kB/s
Collecting apache-beam[gcp]==2.3.0 (from google-cloud-dataflow->apache-airflow[gcp_api])
  Could not find a version that satisfies the requirement apache-beam[gcp]==2.3.0 (from google-cloud-dataflow->apache-airflow[gcp_api]) (from versions: 0.6.0, 2.0.0, 2.1.0, 2.1.1, 2.2.0)
No matching distribution found for apache-beam[gcp]==2.3.0 (from google-cloud-dataflow->apache-airflow[gcp_api])|

 

The other GCP APIs should be accessible from Python 3. My suggestion is to 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)