Skip to content

Conversation

ysiraichi
Copy link
Collaborator

This PR should fix the error we've been getting when trying to build the upstream image. It simply adds to the install_conda.sh script what conda suggests us to do:

#23 12.71 CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
#23 12.71     - https://repo.anaconda.com/pkgs/main
#23 12.71     - https://repo.anaconda.com/pkgs/r
#23 12.71 
#23 12.71 To accept these channels' Terms of Service, run the following commands:
#23 12.71     conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
#23 12.71     conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
#23 12.71 
#23 12.71 For information on safely removing channels from your conda configuration,
#23 12.71 please see the official documentation:
#23 12.71 
#23 12.71     https://www.anaconda.com/docs/tools/working-with-conda/channels

@ysiraichi ysiraichi merged commit 6ac4a7c into master Oct 1, 2025
24 checks passed
ysiraichi added a commit that referenced this pull request Oct 1, 2025
Follow-up: #9661 

Apparently, we need to accept the ToS of those same channels, again
([link](https://github.com/pytorch/xla/actions/runs/18172128014/job/51729124142)).
Instead, I'm using the `CONDA_PLUGINS_AUTO_ACCEPT_TOS` environment
variable, documented
[here](pytorch/pytorch#158438 (comment)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants