zachliu commented on issue #15463:
URL: https://github.com/apache/airflow/issues/15463#issuecomment-825026261


   @potiuk out of curiosity, i'm trying to wrap my head around the 2nd problem 
and that example. let's see if i understand it correctly:
   
   In Airflow 2.0.2's Python 3.8 [constraints 
file](https://raw.githubusercontent.com/apache/airflow/constraints-2.0.2/constraints-3.8.txt)
 there are:
   * google-cloud-bigquery-storage==2.4.0
   * google-cloud-bigquery==1.28.0
   * pandas-gbq==0.14.1
   
   In pandas-gbq 0.14.1's 
[setup.py](https://github.com/pydata/pandas-gbq/blob/ac2d2fe4ac0025109f8df3723e3f03a337face94/setup.py#L25)
 there is:
   * google-cloud-bigquery[bqstorage,pandas]>=1.11.1,<3.0.0dev
   
   and the version 1.28.0 in our constraints file satisfies this requirement 
:heavy_check_mark: 
   
   In google-cloud-bigquery 1.28.0's 
[setup.py](https://github.com/googleapis/python-bigquery/blob/c75e9cda85abdad440d87298b30e9d5291676064/setup.py#L40)
 there is:
   * google-cloud-bigquery-storage >= 1.0.0, <2.0.0dev
   
   which doesn't match with Airflow's constraint on 
`google-cloud-bigquery-storage` :x: and causes this error when using `pip 
21.0.1`:
   ```
   pip install apache-airflow[google]==2.0.2 --constraint 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.2/constraints-3.8.txt
   ...
   ERROR: Could not find a version that satisfies the requirement 
google-cloud-bigquery-storage<2.0.0dev,>=1.0.0; extra == "bqstorage" (from 
google-cloud-bigquery[bqstorage,pandas])
   ERROR: No matching distribution found for 
google-cloud-bigquery-storage<2.0.0dev,>=1.0.0; extra == "bqstorage"
   ```
   
   and i guess for `google-cloud-bigquery-storage` we are unable to use any 
versions below 2.0.0 for some reason?


-- 
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:
[email protected]


Reply via email to