Skip to content

Commit fd8895a

Browse files
mszabo-wikiameta-codesync[bot]
authored andcommitted
Install pip in Ubuntu buildenv (#1331)
Summary: getdeps requires pip for `install-system-packages` since D77674102, causing errors in the packaging workflow: ``` --- + pip \ + install \ + pex error running `pip \ + install \ Traceback (most recent call last): File "/__w/watchman/watchman/build/fbcode_builder/getdeps/runcmd.py", line 108, in _run_cmd p = subprocess.Popen( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'pip' ``` Pull Request resolved: #1331 Reviewed By: genevievehelsel Differential Revision: D90919043 fbshipit-source-id: 92fc19d7bbfac97ac303176a2c80ebbf1b52c8a6
1 parent 2369023 commit fd8895a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

watchman/build/package/ubuntu-env/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND=noninteractive
77
ENV TZ=Etc/UTC
88

99
RUN apt-get -y update
10-
RUN apt-get -y install python3 gcc g++ libssl-dev curl sudo
10+
RUN apt-get -y install python3 python3-pip gcc g++ libssl-dev curl sudo
1111

1212
# Ubuntu 18.04 has an older version of Git, which causes actions/checkout@v3
1313
# to check out the repository with REST, breaking version number generation.

0 commit comments

Comments
 (0)