run_tests_python_deps.include 761 B

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