Skip to content

Commit

Permalink
copy from read-only PRC mount to a writeable directory.
Browse files Browse the repository at this point in the history
Evidently necessary for pip PRC installs post-3.6.

It's also necessary for one of the pool tests to pass, since it
modifies a file within the repo.
  • Loading branch information
d-w-moore committed Jun 13, 2024
1 parent f4a6055 commit 25fefca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-testing/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ DIR=$(dirname "$0")
cd "$DIR"
$PYTHON ./recv_oneshot -h irods-catalog-provider -p 8888 -t 360
REPO="$(./print_repo_root_location)"

NEW_REPO=/python-irodsclient
if cp -rp "$REPO" "$NEW_REPO"
then
REPO="$NEW_REPO"
else
echo >&2 "Warning: REPO='$REPO' unchanged from read-only mount. Some features and tests may not work."
fi

$PYTHON -m pip install "$REPO[tests]"

if [ -d /irods_shared ]; then
Expand Down

0 comments on commit 25fefca

Please sign in to comment.