Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pin six as a required dependency #589

Merged
merged 2 commits into from Sep 16, 2021
Merged

fix: pin six as a required dependency #589

merged 2 commits into from Sep 16, 2021

Conversation

dandhlee
Copy link
Contributor

@dandhlee dandhlee commented Sep 16, 2021

six used to be a transitive dependency through protobuf, but now it is not specified in any of the other dependencies thus the tests are failing, and any other installations to the current latest version would fail.

protobuf also dropped support for Python 2.7 as of 3.18.0. Pinning it for 2.7.

Fixes #588 馃

@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/python-storage API. label Sep 16, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 16, 2021
@dandhlee dandhlee marked this pull request as ready for review September 16, 2021 16:14
@dandhlee dandhlee requested review from a team as code owners September 16, 2021 16:14
Copy link
Contributor

@cojenco cojenco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pinning these!

@dandhlee dandhlee merged commit 9ca97bf into main Sep 16, 2021
@dandhlee dandhlee deleted the dandhlee-patch-1 branch September 16, 2021 16:27
@@ -37,7 +37,9 @@
"google-resumable-media >= 1.3.0, < 2.0dev; python_version<'3.0'",
"google-resumable-media >= 1.3.0, < 3.0dev; python_version>='3.6'",
"requests >= 2.18.0, < 3.0.0dev",
"protobuf < 3.18.0; python_version<'3.0'",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be adding an un-pinned protobuf for Python 3.x (to avoid future transitive dep failures):

Suggested change
"protobuf < 3.18.0; python_version<'3.0'",
"protobuf < 3.18.0; python_version<'3.0'",
"protobuf; python_version>='3.6'",

cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
* fix: pin six as a required dependency

* chore: pin protobuf for older Python 2.7
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
* fix: pin six as a required dependency

* chore: pin protobuf for older Python 2.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/python-storage API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Continuous test failing because of missing dependency six
4 participants