Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit d3bf11d

Browse files
Louis Yecopybara-github
authored andcommitted
Fix version number of google-auth for Python 2.7
PiperOrigin-RevId: 310369571 Change-Id: Ic2677ac85e739b1839e05660a9533334d030f431
1 parent 70dd605 commit d3bf11d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from glob import glob
2424
import os
2525
import re
26+
import sys
2627
from distutils import sysconfig
2728
from setuptools import Extension
2829
from setuptools import setup
@@ -108,7 +109,8 @@ def ReadConfig(section, value, default):
108109
version=version,
109110
install_requires=[
110111
'google-api-python-client',
111-
'google-auth>=1.0.0',
112+
'google-auth==1.8.2'
113+
if sys.version_info.major < 3 else 'google-auth>=1.0.0',
112114
'google-auth-httplib2',
113115
'pyyaml',
114116
'six>=1.10.0',

0 commit comments

Comments
 (0)