8000 Set redis version to ">=3.1.0" by darrencarlton · Pull Request #2244 · GoogleCloudPlatform/python-docs-samples · GitHub
[go: up one dir, main page]

Skip to content

Conversation

darrencarlton
Copy link
Contributor

The current version of the Redis Python library is 3.2.1. Instead of hard-coding "3.2.1" and having to update the code example again, I suggest we set this to "greater than or equal to 3.1.0".

I tested the code example with this setting, and it worked just fine.

The current version of the Redis Python library is 3.2.1. Instead of hard-coding "3.2.1" and having to update the code example again, I suggest we set this to "greater than or equal to 3.1.0".

I tested the code example with this setting, and it worked just fine.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 27, 2019
Copy link
Contributor
@gguuss gguuss left a comment

Choose a reason for hiding this comment

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

We tend to prefer == over >= and ~= to avoid breaking the sample code in the event that a dependency has breaking changes. Can you instead use == and the latest version?

Copy link
Contributor
@gguuss gguuss left a comment

Choose a reason for hiding this comment

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

LGTM

@gguuss gguuss merged commit ef4e137 into GoogleCloudPlatform:master Jul 22, 2019
@darrencarlton
Copy link
Contributor Author

Thanks, Gus

@darrencarlton darrencarlton deleted the dcarlton-redis-lib-version branch July 22, 2019 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0