Skip to content

Anaconda new ToS causing CI failures #31773

@lucyleeow

Description

@lucyleeow

New Anaconda ToS: https://www.anaconda.com/legal/terms/terms-of-service , effective 15 July 2025, is causing the follow error in our CIs:

CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
    • https://repo.anaconda.com/pkgs/main
    • https://repo.anaconda.com/pkgs/r

To accept a channel's Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
    ‣ conda tos accept --override-channels --channel CHANNEL

To remove channels with rejected Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
    ‣ conda config --remove channels CHANNEL

We can use conda-anaconda-tos or potentially switch to miniforge ?

@scikit-learn/core-devs @scikit-learn/communication-team @scikit-learn/documentation-team

(Of interest here is corresponding issue in pytorch pytorch/pytorch#158438)

Metadata

Metadata

Assignees

No one assigned

    Labels

    High PriorityHigh priority issues and pull requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions