In conda_interface.py we import env_vars from conda.common.io. This has been deprecated:
PendingDeprecationWarning: conda.common.io.env_vars is pending deprecation and will be removed in 27.3.
as of conda 26.3.0 (source).
This should be fixed before being removed.
Conda's own suggested replacement is monkeypatch.setenv/delenv, but that's for pytest and as far as I know it doesnt have the same callback parameter (to call conda_replace_context_default on enter/exit), and in our case env_vars is used in fcp.py in production and not in tests.
In
conda_interface.pywe importenv_varsfromconda.common.io. This has been deprecated:as of
conda 26.3.0(source).This should be fixed before being removed.
Conda's own suggested replacement is
monkeypatch.setenv/delenv, but that's forpytestand as far as I know it doesnt have the same callback parameter (to callconda_replace_context_defaulton enter/exit), and in our caseenv_varsis used infcp.pyin production and not in tests.