Fix python version in test tools CI job (#66947) (#69643)
authorNikita Shulga <nshulga@fb.com>
Wed, 8 Dec 2021 22:51:06 +0000 (14:51 -0800)
committerGitHub <noreply@github.com>
Wed, 8 Dec 2021 22:51:06 +0000 (14:51 -0800)
commit70af72c7941995ffe24cfa37f8c8632e5c6135fa
tree65c02c07fe4a58bad20450117653212ca46c7023
parent36449ea93134574c2a22b87baad3de0bf8d64d42
Fix python version in test tools CI job (#66947) (#69643)

Summary:
On the HUD, the test tools job is failing as the runners now install Python 3.10, which is not compatible with numpy 1.20

See https://github.com/pytorch/pytorch/runs/3952169950?check_suite_focus=true Install dependencies step:
```
 ERROR: Command errored out with exit status 1:
   command: /opt/hostedtoolcache/Python/3.10.0/x64/bin/python /opt/hostedtoolcache/Python/3.10.0/x64/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmptq8aay7m
       cwd: /tmp/pip-install-dk_6t98q/numpy_e9431bf106b746148c0e7c36e46551b4
  Complete output (1169 lines):
  setup.py:66: RuntimeWarning: NumPy 1.20.0 may not yet support Python 3.10.
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/66947

Reviewed By: suo, malfet

Differential Revision: D31799205

Pulled By: janeyx99

fbshipit-source-id: 64bf10c37c0aa4f5837c48e92d56e81d920722bd

Co-authored-by: Jane Xu <janeyx@fb.com>
.github/workflows/test_tools.yml