Skip to content

Commit

Permalink
Pin python requests library to 2.32.3. (latest at the time of writing) (
Browse files Browse the repository at this point in the history
  • Loading branch information
juj authored Oct 18, 2024
1 parent 1e2f1a2 commit 861ce44
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/update_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,7 @@ def build_python():
pybin = os.path.join(src_dir, 'install', 'usr', 'local', 'bin', 'python3')
pip = os.path.join(src_dir, 'install', 'usr', 'local', 'bin', 'pip3')
check_call([pybin, '-m', 'ensurepip', '--upgrade'])
# TODO: Potential bug: the following cmdline does not pin down a version
# of requests module, resulting in possibly different version of the module
# being installed on future runs. Switch to pip install requests==<version> to
# to download a pinned version.
check_call([pybin, pip, 'install', 'requests'])
check_call([pybin, pip, 'install', 'requests==2.32.3'])

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

0 comments on commit 861ce44

Please sign in to comment.