Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

fix: pin six as a required dependency - #589

Merged
dandhlee merged 2 commits into
mainfrom
dandhlee-patch-1
Sep 16, 2021
Merged

fix: pin six as a required dependency#589
dandhlee merged 2 commits into
mainfrom
dandhlee-patch-1

Conversation

@dandhlee

@dandhleedandhlee commented Sep 16, 2021

Copy link
Copy Markdown
Contributor

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-labelproduct-auto-labelBot added the api: storage Issues related to the googleapis/python-storage API. label Sep 16, 2021
@google-clagoogle-claBot 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 teamSeptember 16, 2021 16:14

@cojencocojenco left a comment

Copy link
Copy Markdown
Contributor

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 mainSep 16, 2021
@dandhlee
dandhlee deleted the dandhlee-patch-1 branch September 16, 2021 16:27
Comment threadsetup.py
"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
Copy Markdown
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
@release-pleaserelease-pleaseBot mentioned this pull request Jan 12, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: storageIssues related to the googleapis/python-storage API.cla: yesThis 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

@dandhlee@tseaver@busunkim96@cojenco