kestra-io / plugin-scripts

https://kestra.io/plugins/
Apache License 2.0
9 stars 9 forks source link

fix: suppress Python warning #99

Closed anna-geller closed 9 months ago

anna-geller commented 9 months ago

Currently, whenever you install any packages using beforeCommands, you'll always see this annoying warning: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behavior with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

it can be easily suppressed with an environment variable

tchiotludo commented 9 months ago

there is missing place, look at this: image

at least one other on these project

anna-geller commented 9 months ago

for node, I believe the pip warning is not needed as it uses npm (not pip) but I still added it + for the deprecated core tasks, we can skip

for all python-based I added them: