Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,15 @@ fi

echo "[2/5] Installing this checkout and test dependencies"
python -m pip install --quiet --upgrade pip
python -m pip install --quiet -c "$REPO_ROOT/constraints.txt" -e "$REPO_ROOT[dev]"
# Install the editable target from a subshell cd'd into the repo with a
# relative ".[dev]". On Windows (Git Bash + native Python), an absolute
# "$REPO_ROOT[dev]" defeats MSYS path conversion: the trailing [dev] makes
# the argument look like a non-existent path, so the "/d/..." form is
# passed through unchanged and native pip rejects it as "not a valid
# editable requirement". A relative path avoids the conversion. The
# constraints path is kept absolute on purpose: the file exists, so MSYS
# converts it cleanly, and test_integration_script pins that exact spelling.
( cd "$REPO_ROOT" && python -m pip install --quiet -c "$REPO_ROOT/constraints.txt" -e ".[dev]" )

echo "[3/5] Verifying the installed CLI"
agent-reach version
Expand Down