Skip to content

Commit 95b2710

Browse files
authored
Update setup.sh
1 parent 21a3d13 commit 95b2710

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monitor/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if [ "$RUNNER_OS" = "macOS" ]; then
2323

2424
sudo -u mitmproxyuser -H bash -e -c 'cd /Users/mitmproxyuser && \
2525
python -m venv venv && \
26-
venv/bin/pip install "mitmproxy>=10.4.0" requests'
26+
venv/bin/pip install mitmproxy==11.0.0 requests==2.32.3'
2727

2828
# install requests for mitm plugin
2929
sudo cp mitm_plugin.py /Users/mitmproxyuser/mitm_plugin.py
@@ -127,7 +127,7 @@ elif [ "$RUNNER_OS" = "Linux" ]; then
127127
# install mitmproxy
128128
sudo -u mitmproxyuser -H bash -e -c 'cd ~ && \
129129
"$(command -v python3.10 || command -v python3)" -m venv venv && \
130-
venv/bin/pip install "mitmproxy>=10.4.0" requests'
130+
venv/bin/pip install mitmproxy==11.0.0 requests==2.32.3'
131131

132132
sudo cp mitm_plugin.py /home/mitmproxyuser/mitm_plugin.py
133133
sudo -u mitmproxyuser -H bash -e -c "cd /home/mitmproxyuser && \

0 commit comments

Comments
 (0)