GoogleCloudPlatform / GoogleCloudPlatform/python-docs-samples

apache-beam[gcp] dependency issue with dataflow/flex-templates/getting_started/requirements.txt

Đang mở
#12,715 0 bình luận 1 reaction 1 người được giao Được giao cho @davidcavazos Xem trên GitHub
priority: p2 samples triage me type: bug
Ngôn ngữ chính
Jupyter Notebook
Star
8.1k
Fork
6.7k
Merge trung bình
4 ngày 2 giờ
Pull request đã merge (30 ngày)
16

Mô tả

## In which file did you encounter the issue?
dataflow/flex-templates/getting_started/requirements.txt

## Did you change the file? If so, how?
`apache-beam[gcp]==2.48.0` to `apache-beam[gcp]==2.*` and added `google-auth-httplib2==0.2.*`

## Describe the issue
While building the example as stated in [the getting started documentation here](https://cloud.google.com/dataflow/docs/guides/templates/using-flex-templates#build-template), you will get an error stating:
`ERROR: Cannot install apache-beam[gcp]==2.48.0 and google-auth-httplib2==0.2.0 because these package versions have conflicting dependencies.` this is because I think the current version of `apache-beam[gcp]` is `2.60.0` and conflicts with other dependencies as `2.48.0` uses an older `google-auth-httplib2` dependency.

My suggestion is to just include the major versioning `2.*` as for the example it might not be that important to have a fully fixed version.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.