Skip to content

Commit 861ce44

Browse files
authored
Pin python requests library to 2.32.3. (latest at the time of writing) (#1478)
1 parent 1e2f1a2 commit 861ce44

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/update_python.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,7 @@ def build_python():
141141
pybin = os.path.join(src_dir, 'install', 'usr', 'local', 'bin', 'python3')
142142
pip = os.path.join(src_dir, 'install', 'usr', 'local', 'bin', 'pip3')
143143
check_call([pybin, '-m', 'ensurepip', '--upgrade'])
144-
# TODO: Potential bug: the following cmdline does not pin down a version
145-
# of requests module, resulting in possibly different version of the module
146-
# being installed on future runs. Switch to pip install requests==<version> to
147-
# to download a pinned version.
148-
check_call([pybin, pip, 'install', 'requests'])
144+
check_call([pybin, pip, 'install', 'requests==2.32.3'])
149145

150146
# Install psutil module. This is needed by emrun to track when browser
151147
# process quits.

0 commit comments

Comments
 (0)