Skip to content

Commit

Permalink
Revise condarc
Browse files Browse the repository at this point in the history
Add spyder_kernels_rc and spyder_dev channels so that non-stable releases can be resolved.
  • Loading branch information
mrclary committed Jan 25, 2024
1 parent 66b4f3f commit 207e8dd
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions installers-conda/build_installers.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,20 +195,18 @@ def _generate_background_images(installer_type):


def _get_condarc():
# we need defaults for tensorflow and others on windows only
defaults = "- defaults" if WINDOWS else ""
prompt = "[spyder]({default_env}) "
contents = dedent(
f"""
"""
channels: #!final
- conda-forge/label/spyder_kernels_rc
- conda-forge/label/spyder_dev
- conda-forge
{defaults}
repodata_fns: #!final
- repodata.json
auto_update_conda: false #!final
notify_outdated_conda: false #!final
channel_priority: strict #!final
env_prompt: '{prompt}' #! final
channel_priority: flexible #!final
env_prompt: '[spyder]({default_env}) ' #! final
"""
)
# the undocumented #!final comment is explained here
Expand Down

0 comments on commit 207e8dd

Please sign in to comment.