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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump google-api-python-client version to the latest #56

Merged
merged 1 commit into from
Sep 15, 2020

Conversation

skshetry
Copy link
Member

There was a recent release 1.12.0 which broke because of its dependency with six,
and there has been another patch update 1.12.1 which fixes that. I could have just forbidden
1.12.0, but didn't trust other versions and tried to just use the latest version.

Recent release with the fix: https://github.com/googleapis/google-api-python-client/releases/tag/v1.12.1

@efiop
Copy link
Contributor

efiop commented Sep 15, 2020

Seems to be still affected by the same issue 🤔

@skshetry
Copy link
Member Author

Looks like we also need to force version of six. pip is installing older version than required by google-api-python-client in travis.

There was a recent release 1.12.0 which broke because of its dependency with `six`,
and there has been another patch update `1.12.1` which fixes that. I could have just forbidden
`1.12.0`, but didn't trust other versions and tried to just use the latest version.
@@ -26,7 +26,8 @@
description="Google Drive API made easy. Maintained fork of PyDrive.",
long_description=open("README.rst").read(),
install_requires=[
"google-api-python-client >= 1.7.12",
"google-api-python-client >= 1.12.1",
"six >= 1.13.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

Need to update this as well, don't see a better way. We might need to do the same in dvc.

Copy link
Member

Choose a reason for hiding this comment

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

hmmm ... I don't understand why is it needed, google-api-python-client already specifies the same dependency. Any ideas on this?

Copy link
Member Author

@skshetry skshetry Sep 15, 2020

Choose a reason for hiding this comment

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

pip does not have a resolver (yet), so it either installs top-level requirements specification (as done here) or does "first one wins" which installs six from different dependency and ignores the one specified in google-api-python-client (it does raise warning at the end).
pypa/pip#988 (comment)

Copy link
Member

Choose a reason for hiding this comment

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

kk, thanks @skshetry!

@efiop efiop merged commit eedaadf into master Sep 15, 2020
@efiop efiop deleted the skshetry-patch-1 branch September 15, 2020 07:51
@efiop
Copy link
Contributor

efiop commented Sep 15, 2020

Releasing new version...

@efiop
Copy link
Contributor

efiop commented Sep 15, 2020

Thank you @skshetry ! 🙏

efiop added a commit to iterative/dvc that referenced this pull request Sep 15, 2020
efiop added a commit to iterative/dvc that referenced this pull request Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants