| 1 |
#==================== |
| 2 |
# run_tests.py python dependencies |
| 3 |
|
| 4 |
# Basic python dependencies to be able to run tools/run_tests python scripts |
| 5 |
# These dependencies are not sufficient to build gRPC Python, gRPC Python |
| 6 |
# deps are defined elsewhere (e.g. python_deps.include) |
| 7 |
RUN apt-get update && apt-get install -y ${'\\'} |
| 8 |
python3 ${'\\'} |
| 9 |
python3-pip ${'\\'} |
| 10 |
python3-setuptools ${'\\'} |
| 11 |
python3-yaml ${'\\'} |
| 12 |
&& apt-get clean |
| 13 |
|
| 14 |
# use pinned version of pip to avoid sudden breakages |
| 15 |
RUN python3 -m pip install --upgrade pip==19.3.1 |
| 16 |
|
| 17 |
# TODO(jtattermusch): currently six is needed for tools/run_tests scripts |
| 18 |
# but since our python2 usage is deprecated, we should get rid of it. |
| 19 |
RUN python3 -m pip install six==1.16.0 |
| 20 |
|
| 21 |
<%include file="./gcp_api_libraries.include"/> |