-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIP_NO_DEPENDENCIES & co not set for outputs/*/script #3993
Comments
Isn't this a feature that the envs for outputs are not activated by default and |
IDK. AFAICT,
We do have "output has To me, it looks like this is broken currently (w/ 3.19.2). IDK if/when it worked before. |
Bumping this issue since I recently ran into the same problem using FWIW, I'm building my package using |
FWIW just saw this issue again today |
Thanks for fixing this long-standing issue! |
Actual Behavior
Environment variables like
PIP_NO_DEPENDENCIES
set for the build script at https://github.com/conda/conda-build/blob/3.19.2/conda_build/build.py#L2372-L2397 , are not set during the execution ofoutputs/*/script
.https://github.com/conda/conda-build/blob/3.19.2/conda_build/build.py#L1406-L1450 seems to be the
outputs/*/script
relevant code.See https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=186409&view=logs&j=1bf226d3-0e2f-52d8-fa93-7d9e633347b3&t=c09a5a47-eec3-5700-9284-6f1bd7b23501&l=333 .
Expected Behavior
The env vars set at https://github.com/conda/conda-build/blob/3.19.2/conda_build/build.py#L2372-L2397 should also be set when running a recipe's
outputs
'script
.Steps to Reproduce
See conda-forge/black-feedstock#14 .
If you run that recipe without the added
--no-deps
, it will trigger the reported behavior.Output of conda info
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=186409&view=logs&j=1bf226d3-0e2f-52d8-fa93-7d9e633347b3&t=c09a5a47-eec3-5700-9284-6f1bd7b23501&l=189
cc @carlodri, @xhochy
The text was updated successfully, but these errors were encountered: