Skip to content

Commit e2f8ad0

Browse files
committed
devtool: fix sandbox_native for ubuntu22.04
There's also some more packages that are required since the devctr upgrade to Ubuntu 24.04. Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent aa0dca9 commit e2f8ad0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/devtool

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,8 @@ cmd_sandbox_native() {
863863
cmd_build --release
864864

865865
source /etc/os-release
866-
case $ID-$VERSION_ID in
867-
ubuntu-22.04)
866+
case $ID$VERSION_ID in
867+
ubuntu22.04)
868868
sudo apt install python3-pip python3.11-dev gcc tmux
869869
;;
870870
al2023)
@@ -873,7 +873,8 @@ cmd_sandbox_native() {
873873
esac
874874
python3.11 -m venv sandbox
875875
source sandbox/bin/activate
876-
pip3.11 install ipython requests requests_unixsocket "urllib3<2" psutil tenacity filelock
876+
pip3.11 install ipython requests requests_unixsocket2 psutil tenacity filelock
877+
pip3.11 install jsonschema aws_embedded_metrics
877878
pip3.11 install packaging pytest
878879
ensure_ci_artifacts
879880
tmux neww sudo --preserve-env=HOME,PATH,TMUX env PYTHONPATH=tests IPYTHONDIR=\$PWD/.ipython ipython -i ./tools/sandbox.py $@

0 commit comments

Comments
 (0)