Skip to content

Commit 310f207

Browse files
authored
fix(deps): add explicit ranges for 'google-api-core' and 'google-auth' (#530)
Transitive dependency resolution breaks unit tests under Python 3.6 following PR #520. Pin minima for those ranges explicitly when testing under Python 3.6. Closes #529.
1 parent ef41bc1 commit 310f207

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

setup.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
# 'Development Status :: 5 - Production/Stable'
2929
release_status = "Development Status :: 5 - Production/Stable"
3030
dependencies = [
31-
"google-auth >= 1.24.0, < 2.0dev; python_version<'3.0'",
32-
"google-auth >= 1.24.0, < 3.0dev; python_version>='3.6'",
31+
"google-auth >= 1.25.0, < 2.0dev; python_version<'3.0'",
32+
"google-auth >= 1.25.0, < 3.0dev; python_version>='3.6'",
33+
"google-api-core >= 1.29.0, < 2.0dev; python_version<'3.0'",
34+
"google-api-core >= 1.29.0, < 3.0dev; python_version>='3.6'",
3335
"google-cloud-core >= 1.6.0, < 2.0dev; python_version<'3.0'",
3436
"google-cloud-core >= 1.6.0, < 3.0dev; python_version>='3.6'",
3537
"google-resumable-media >= 1.3.0, < 2.0dev; python_version<'3.0'",

testing/constraints-3.6.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
77
# Then this file should have foo==1.14.0
8-
google-auth==1.24.0
8+
google-auth==1.25.0
9+
google-api-core==1.29.0
910
google-cloud-core==1.6.0
1011
google-resumable-media==1.3.0
1112
requests==2.18.0

0 commit comments

Comments
 (0)