google-api-python-client Version Check is broken · Issue #10652 · pandas-dev/pandas (original) (raw)
Hi All, I cannot use io.gbq due to an issue with the version check of the installed google library.
>>> pkg_resources.get_distribution('google-api-python-client').version
'1.2'
The offending line executes the version check as follows:
>>> pkg_resources.get_distribution('google-api-python-client').version < '1.2.0'
True
but
>>> pkg_resources.get_distribution('google-api-python-client').version < '1.2'
False