You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 31, 2018. It is now read-only.
I think a fix for this would be to explicitly set PATH before calling makepkg to some whitelisted/verified setting, which could be made configurable or prefix PATH with /usr/bin explicitly (which would also pick up the system python).
Given that makepkg already mangles PATH for distcc and ccache in run_build, I could imagine having the fix there instead?!
Well, if makepkg works as specified, so does pacaur. Nothing I have to fix here.
If Allan considers it is the user responsibility to handle python env, so do I.
Usually Python packages use
python
in their PKGBUILD, which results in anyactivated virtualenv to be used, e.g. from
pep257
:I think a fix for this would be to explicitly set
PATH
before callingmakepkg
to some whitelisted/verified setting, which could be made configurable or prefixPATH
with/usr/bin
explicitly (which would also pick up the systempython
).Given that
makepkg
already manglesPATH
fordistcc
andccache
inrun_build
, I could imagine having the fix there instead?!See also https://aur.archlinux.org/packages/aws-cli#comment-527611, where I've initially reported this for
aws-cli
:Message from
pacaur -S
:To reproduce:
pacman -Ql aws-cli
will then show that the files are installed into /tmp/venv.The text was updated successfully, but these errors were encountered: