File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,11 +73,11 @@ start_local_wheel_server() {
7373 python3 -m http.server --directory " $serve_dir " 9999 &
7474 HTTP_SERVER_PID=$!
7575 if which ip 2>&1 > /dev/null; then
76- # Linux
76+ # Linux: need host IP because podman can't reach localhost
7777 IP=$( ip route get 1.1.1.1 | grep 1.1.1.1 | awk ' {print $7}' )
7878 else
79- # macOS
80- IP=$( ipconfig getifaddr en0 )
79+ # macOS: no network isolation, localhost works
80+ IP=127.0.0.1
8181 fi
8282 export WHEEL_SERVER_URL=" http://${IP} :9999/simple"
8383}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ source "$SCRIPTDIR/common.sh"
1313# expected pbr version
1414constraints_file=$( mktemp)
1515trap " rm -f $constraints_file " EXIT
16- echo " pbr==6.1.1 " > " $constraints_file "
16+ echo " pbr==7.0.3 " > " $constraints_file "
1717
1818# passing settings to bootstrap but should have 0 effect on it
1919fromager \
4747# packages should be written to the constraints file. Conflicting packages
4848# (stevedore versions) should be excluded entirely.
4949EXPECTED_LINES="
50- pbr==6.1.1
50+ pbr==7.0.3
5151"
5252
5353SHOULD_NOT_BE_PRESENT="
You can’t perform that action at this time.
0 commit comments