Add strict channel priority to default conda config.

This commit is contained in:
Ryan Volz 2022-11-10 14:38:40 -05:00
parent 3617aec093
commit a3ad5eb2a1
1 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,10 @@ def render_constructor(
name=name,
version=version,
company=company,
condarc=dict(
channels=lock_spec.channels,
channel_priority="strict",
),
channels=lock_spec.channels,
specs=lock_spec.specs,
initialize_by_default=False if platform.startswith("win") else True,