-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BigQuery: Valid google-resumable-media
versions conflict with Cloud Storage
#9786
Comments
Summary: googleapis/google-cloud-python#9786 tracking github issue to remove once there is a new bigquery release: #1907 Test Plan: bk Reviewers: #ft, alangenfeld, natekupp Reviewed By: #ft, natekupp Subscribers: alangenfeld, max Differential Revision: https://dagster.phacility.com/D1414
@tswast Are we at a good spot to release a new version of |
@daniel-humu Thanks for the report! |
Most likely this is casued by the conflict between google-cloud-storage and google-cloud-bigquery (which is required by BEAM). googleapis/google-cloud-python#9786
This is casued by the conflict between: * google-cloud-storage 1.23.0 * and google-cloud-bigquery < 1.22.0 More details here: googleapis/google-cloud-python#9786 Currently Beam is pinned to google-cloud-bigquery 1.17.0 https://github.com/apache/beam/blob/edf01c456d4ffbd17e5eee9a0dc2acb5693ed1f6/sdks/python/setup.py#L162 We have to pin to google-cloud-storage<1.23.0 until Beam updates to google-cloud-bigquery<=1.22.0
This is casued by the conflict between: * google-cloud-storage 1.23.0 * and google-cloud-bigquery < 1.22.0 More details here: googleapis/google-cloud-python#9786 Currently Beam is pinned to google-cloud-bigquery 1.17.0 https://github.com/apache/beam/blob/edf01c456d4ffbd17e5eee9a0dc2acb5693ed1f6/sdks/python/setup.py#L162 We have to pin to google-cloud-storage<1.23.0 until Beam updates to google-cloud-bigquery<=1.22.0
Hello Daniel! Thank you for providing the solution. I have a small question related to this error. What does it mean "google-resumable-media >= 0.3.1, != 0.4.0, < 0.5.0dev"? Why does this description mention 3 different versions? |
@icymai Are you asking how version specifiers work? The dependency You can read more documentation on version specification on the Python website. |
Cool! I haven't read this doc before. Thank you :D |
It looks like #9572 introduced a dependency conflict for
google-resumable-media
between the latestgoogle-cloud-storage
andgoogle-cloud-bigquery
releases.Environment details
Steps to reproduce
pip install google-cloud-storage
(latest release is1.23.0
)2.
pip install google-cloud-bigquery
(latest release is1.21.0
)Issue
Today,
google-cloud-storage 1.23.0
was released. It depends ongoogle-resumable-media >= 0.5.0, < 0.6dev
. The currentgoogle-cloud-bigquery
version, depends ongoogle-resumable-media >= 0.3.1, != 0.4.0, < 0.5.0dev
Therefore, the
setup.py
files for these two libraries will 2nd level dependency conflict when you attempt topip install
.This can be fixed by releasing a new
google-cloud-bigquery
version. (to pick up the changes in #9572)The text was updated successfully, but these errors were encountered: