Skip to content

Commit 5296f5a

Browse files
ANichwillkg
andauthored
Pin flake8 and protobuf to fix lint and py37 CI jobs (#379)
* Bump flake to 4.0.0 * Pin protobuf to 3.20.3 * Add explanations to pinned dependencies Co-authored-by: Will Kahn-Greene <willkg@users.noreply.github.com> Co-authored-by: Will Kahn-Greene <willkg@users.noreply.github.com>
1 parent 069ed0f commit 5296f5a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
'moto==1.3.16',
99
'mock==2.0.0',
1010
'pytest==3.10.1',
11-
'flake8==3.8.4'
11+
# NOTE: this is pinned to 4.0.0 so as to pin importlib to a version that works.
12+
'flake8==4.0.0'
1213
]
1314

1415
extras = {
@@ -34,6 +35,8 @@
3435
'click_datetime==0.2',
3536
'numpy==1.19.4',
3637
'pandas==1.1.4',
38+
# NOTE: this is pinned to 3.20.3 because protos changed and we can't regenerate them.
39+
'protobuf==3.20.3',
3740
'pyspark==2.3.2',
3841
'python-moztelemetry @ git+http://github.com/mozilla/python_moztelemetry.git@v0.10.2#egg=python-moztelemetry',
3942
'requests-toolbelt==0.9.1',

0 commit comments

Comments
 (0)