https://pantsbuild.org/ logo
#development
Title
# development
b

bitter-ability-32190

10/27/2022, 5:34 PM
There's a bug for
./pants run
of a Python source always using the repo-path if your source-roots are
/
๐Ÿ˜ž ๐Ÿงต
๐Ÿ˜ข 1
Looks to me like when we run the interactive process, we do so without modifying
cwd
Which means
PYTHONPATH
will contain
""
(means
cwd
) and so if your repo root also matches the module path (which it likely does if your source roots are
"/"
) then you'll always load from repo ๐Ÿ˜ข
I'll file an issue
@witty-crayon-22786 untimely release of 2.14 ๐Ÿ˜ข
๐Ÿ‘ 1