Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit ad0b2b8

Browse files
busunkim96aabmass
andauthored
Allow google-api-core < 3 for python >= 3.6 (#1066)
google-api-core dropped support for python < 3.6 in the [2.0.0 release](https://github.com/googleapis/python-api-core/blob/master/CHANGELOG.md#200-2021-08-18). I see this library still supports 2.7, so I created two separate pins for python < 3.6 and python >= 3.6. Co-authored-by: Aaron Abbott <[email protected]>
1 parent 60b9a4a commit ad0b2b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
long_description=open('README.rst').read(),
4444
install_requires=[
4545
'opencensus-context == 0.2.dev0',
46-
'google-api-core >= 1.0.0, < 2.0.0',
46+
'google-api-core >= 1.0.0, < 2.0.0; python_version<"3.6"',
47+
'google-api-core >= 1.0.0, < 3.0.0; python_version>="3.6"',
4748
],
4849
extras_require={},
4950
license='Apache-2.0',

0 commit comments

Comments
 (0)