Update requests to 2.32.2 (#126805)

To address CVE-2024-35195 (though it does not really affect PyTorch, only CI)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/126805
Approved by: https://github.com/atalman, https://github.com/kit1980, https://github.com/seemethere, https://github.com/Skylion007
This commit is contained in:
Nikita Shulga
2024-05-23 00:21:24 +00:00
committed by PyTorch MergeBot
parent ebbd431d9e
commit 2b57652278
12 changed files with 15 additions and 14 deletions

View File

@ -66,7 +66,8 @@ runs:
command: |
set -eux
# PyYAML 6.0 doesn't work with MacOS x86 anymore
python3 -m pip install requests==2.26.0 pyyaml==6.0.1
# This must run on Python-3.7 (AmazonLinux2) so can't use request=3.32.2
python3 -m pip install requests==2.27.1 pyyaml==6.0.1
- name: Parse ref
id: parse-ref

View File

@ -10,6 +10,6 @@ lintrunner==0.10.7
ninja==1.10.0.post1
nvidia-ml-py==11.525.84
pyyaml==6.0
requests==2.31.0
requests==2.32.2
rich==10.9.0
rockset==1.0.3

View File

@ -4,6 +4,6 @@ mkl-include=2022.1.0
ninja=1.10.2
numpy=1.23.3
pyyaml=6.0
requests=2.31.0
requests=2.32.2
setuptools=68.2.2
typing-extensions=4.3.0

View File

@ -3,6 +3,6 @@ cmake=3.22.1
ninja=1.10.2
numpy=1.23.3
pyyaml=6.0
requests=2.31.0
requests=2.32.2
setuptools=68.2.2
typing-extensions=4.3.0

View File

@ -18,6 +18,6 @@ jobs:
ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip3 install requests==2.26
pip3 install requests==2.32.2
pip3 install rockset==1.0.3
python3 .github/scripts/close_nonexistent_disable_issues.py

View File

@ -32,7 +32,7 @@ jobs:
cache: pip
- run: |
pip3 install requests==2.26 rockset==1.0.3 boto3==1.19.12
pip3 install requests==2.32.2 rockset==1.0.3 boto3==1.19.12
- name: Upload external contribution stats
uses: nick-fields/retry@v2.8.2

View File

@ -28,7 +28,7 @@ jobs:
- name: Install Python Packages
run: |
pip3 install rockset==1.0.3 boto3==1.19.12 requests==2.27.1
pip3 install rockset==1.0.3 boto3==1.19.12 requests==2.32.2
- name: Create alerts
run: |

View File

@ -47,7 +47,7 @@ jobs:
cache: pip
- run: |
pip3 install requests==2.26 rockset==1.0.3 boto3==1.19.12
pip3 install requests==2.32.2 rockset==1.0.3 boto3==1.19.12
- name: Upload test artifacts
id: upload-s3

View File

@ -40,7 +40,7 @@ jobs:
cache: pip
- run: |
pip3 install requests==2.26 rockset==1.0.3 boto3==1.19.12
pip3 install requests==2.32.2 rockset==1.0.3 boto3==1.19.12
- name: Upload torch dynamo performance stats to S3
id: upload-s3

View File

@ -28,7 +28,7 @@ jobs:
cache: pip
- run: |
pip3 install requests==2.26 rockset==1.0.3 boto3==1.19.12
pip3 install requests==2.32.2 rockset==1.0.3 boto3==1.19.12
- name: Upload test stats
env:

View File

@ -1,6 +1,6 @@
PyYAML==6.0.1
numpy==1.26.4
requests==2.31.0
requests==2.32.2
setuptools==69.5.1
sympy==1.12
typing_extensions==4.11.0

View File

@ -199,9 +199,9 @@ pyyaml==6.0.1 \
--hash=sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d \
--hash=sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f
# via -r tools/build/bazel/requirements.in
requests==2.31.0 \
--hash=sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f \
--hash=sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1
requests==2.32.2 \
--hash=sha256:dd951ff5ecf3e3b3aa26b40703ba77495dab41da839ae72ef3c8e5d8e2433289 \
--hash=sha256:fc06670dd0ed212426dfeb94fc1b983d917c4f9847c863f313c9dfaaffb7c23c
# via -r tools/build/bazel/requirements.in
sympy==1.12 \
--hash=sha256:c3588cd4295d0c0f603d0f2ae780587e64e2efeedb3521e46b9bb1d08d184fa5 \