Skip to content

Commit b6748c4

Browse files
committed
DBG: check OUT
1 parent f93c01f commit b6748c4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/test.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ fi
4545

4646
ptest Does spin detect conflict with editable install?
4747
prun pip install --quiet --no-build-isolation -e .
48-
spin python -- -c ''
4948
OUT=$(spin python -- -c '')
50-
if [[ $OUT == *"Editable installation of same source directory detected"* ]]; then
49+
echo "Out is"
50+
echo $OUT
51+
if [[ $OUT == *"Editable install of same source directory detected"* ]]; then
5152
echo "Yes"
5253
else
5354
echo "No"

spin/cmds/meson.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ def _set_pythonpath(quiet=False):
6666
if _is_editable_install_of_same_source(package):
6767
if not (quiet):
6868
click.secho(
69-
"Editable installation of same source directory detected; not setting PYTHONPATH",
69+
"Editable install of same source directory detected; not setting PYTHONPATH",
7070
fg="bright_red",
7171
)
7272
return ""
7373
else:
7474
# Ignoring the quiet flag, because picking up the wrong package is problematic
7575
click.secho(
76-
f"Warning! An editable installation of `{package}`, from a different source location, was located detected.",
76+
f"Warning! Editable install of `{package}`, from a different source location, detected.",
7777
fg="bright_red",
7878
)
7979
click.secho("Spin commands will pick up that version.", fg="bright_red")

0 commit comments

Comments
 (0)