SPIKE 🔎 Replace isolated mode with context.conda_exe
#4628
Labels
backlog
issue has been triaged but has not been earmarked for any upcoming release
locked
[bot] locked due to inactivity
source::anaconda
created by members of Anaconda, Inc.
spike
issue is for doing research work or prototyping; outcome is optional and not required
stale::closed
[bot] closed after being marked as stale
stale
[bot] marked as stale due to inactivity
type::tech-debt
identifies or resolves some technical debt
Summary
We identified an issue with conda-build invoking the conda source code instead of the installed package when building the conda package:
python -m
usage #4561python -m
issue #4572python -m conda
instead ofPREFIX/bin/conda
in shell functions conda#11995@kenodegard, @travishathaway, and @jaimergp looked into this and settled on using the isolated mode,
python -I -m conda
:After discussing with the conda-forge community in preparation for the conda 22.11.0 release it was determined that this change may have an outsized impact due to other side effects of the isolated mode.
Python arguments:
-I
,-E
,-P
,-s
So it was decided to change the feature to use an opt-in flag instead:
conda
in isolated mode only if opted in #4625Overall we feel that this opt-in feature adds unnecessary extra complexity to conda-build and would rather remove it. We need to investigate potential paths forward.
Timebox: Medium
Linked Issues & PRs
context.conda_exe
a viable alternative topython [-I|-P] -m conda
?context.conda_exe
is used instead ofpython -m conda
The text was updated successfully, but these errors were encountered: