Skip to content

Commit

Permalink
Remove enum34 from requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
lidizheng committed Sep 29, 2020
1 parent cbcb896 commit e242764
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# GRPC Python setup requirements
coverage>=4.0
cython>=0.29.8
enum34>=1.0.4
protobuf>=3.5.0.post1, < 4.0dev
six>=1.10
wheel>=0.29
5 changes: 2 additions & 3 deletions src/python/grpcio_tests/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
}

INSTALL_REQUIRES = (
'coverage>=4.0', 'enum34>=1.0.4',
'grpcio>={version}'.format(version=grpc_version.VERSION),
'coverage>=4.0', 'grpcio>={version}'.format(version=grpc_version.VERSION),
'grpcio-channelz>={version}'.format(version=grpc_version.VERSION),
'grpcio-status>={version}'.format(version=grpc_version.VERSION),
'grpcio-tools>={version}'.format(version=grpc_version.VERSION),
Expand All @@ -48,7 +47,7 @@
'google-auth>=1.17.2', 'requests>=2.14.2')

if not PY3:
INSTALL_REQUIRES += ('futures>=2.2.0',)
INSTALL_REQUIRES += ('futures>=2.2.0', 'enum34>=1.0.4')

COMMAND_CLASS = {
# Run `preprocess` *before* doing any packaging!
Expand Down
2 changes: 1 addition & 1 deletion tools/run_tests/artifacts/build_artifact_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ then

if [ "$("$PYTHON" -c "import sys; print(sys.version_info[0])")" == "2" ]
then
"${PIP}" install futures>=2.2.0
"${PIP}" install futures>=2.2.0 enum>=1.0.4
fi

"${PIP}" install grpcio --no-index --find-links "file://$ARTIFACT_DIR/"
Expand Down

0 comments on commit e242764

Please sign in to comment.