Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Update dependencies using a single insert_rows.#227

Merged
brianquinlan merged 2 commits into
GoogleCloudPlatform:masterfrom
brianquinlan:master
Jan 23, 2019
Merged

Update dependencies using a single insert_rows.#227
brianquinlan merged 2 commits into
GoogleCloudPlatform:masterfrom
brianquinlan:master

Conversation

@brianquinlan
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread compatibility_lib/compatibility_lib/compatibility_store.py
old_version = self._get_package_version(
install_name_to_compatibility_result[install_name])
new_version = self._get_package_version(cs)
# TODO: Do not compare versions lexicographically.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Probably use distutils.version to compare the version number?

>>>from distutils.version import StrictVersion
>>> StrictVersion("2.3.1") < StrictVersion("10.1.2")
True

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yep. I'll fix this in a follow-up PR.

@brianquinlan brianquinlan merged commit 898abdd into GoogleCloudPlatform:master Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants