Talip7/scikit-learn-issues-multilabel huggingface dataset:
Documentation Bug: Warning about "unstable development version"

### Describe the issue linked to the documentation

When browsing the scikit-learn documentation, I selected a stable version (e.g., 1.7.0) from the versions. However, I still see the warning banner at the top of the page: **This is documentation for an unstable development version.**

This is a bit confusing, as I'm clearly viewing a stable release. 

<img width="1748" height="830" alt="Image" src="https://github.com/user-attachments/assets/3e236cbb-31cd-4e77-aead-05cdee6408c9" />

### Suggest a potential alternative/fix

_No response_

COMMENT:
The problem we need to solve for the future is that making a new release does not update the `versions.json` that is stored in https://github.com/scikit-learn/scikit-learn.github.io/tree/main/dev/_static which is the source of truth for all version switchers. To update the content of `/dev/` we need to merge a PR or find a different way to trigger a docs build on `main`. The docs build uses CircleCI and I'm not sure if that has something similar to GitHub Actions where you can manually trigger a workflow dispatch.

cc @jeremiedbb because I think you did the release and so maybe people will ask you about this (TL;DR: it is fixed)

Labels: Bug, Documentation
Documentation Bug: Warning about "unstable development version"

### Describe the issue linked to the documentation

When browsing the scikit-learn documentation, I selected a stable version (e.g., 1.7.0) from the versions. However, I still see the warning banner at the top of the page: **This is documentation for an unstable development version.**

This is a bit confusing, as I'm clearly viewing a stable release. 

<img width="1748" height="830" alt="Image" src="https://github.com/user-attachments/assets/3e236cbb-31cd-4e77-aead-05cdee6408c9" />

### Suggest a potential alternative/fix

_No response_

COMMENT:
@betatim Thanks for looking into it. It seems to be fine from my side.

Labels: Bug, Documentation
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
Has https://github.com/scikit-learn/scikit-learn/pull/31771 fixed the issue?

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
Ah yes, sorry missed it!

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
Hey Team! Community & DevRel at Anaconda here. This has been escalated. We are figuring it out and this is not the intended consequence. Hold tight while I figure out why youre getting this message. 

New TOS is supposed to provide clarity and allow for open source to do what it does best -- innovate freely. 

Give me a beat and Ill follow back up ASAP. Feel free to email me dwages@anaconda.com.

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
@dawnwages FWIW we read the ToS and it was NOT clear to us whether we're 100% free from getting scary letters from your lawyers like what people in academia got a while back. So for us, better safe than sorry!

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
Totally understand @adrinjalali ! No scary letters. We're fixing where we went wrong and are going back to our pre-2018 roots. We're championing open source and trying to make sure people know what is available for them to use. 

Thanks for responding. I'm around if any of you want to chat -- even if it's negative (especially if it is! I want us to address it). Its totally fair to be concerned.

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
Last update:

I know this PR is closed, but in case someone stumbles upon this thread and wants to understand the solution:

You can set the CONDA_PLUGINS_AUTO_ACCEPT_TOS environment variable to "yes" to accept the Terms of Service automatically and that will help you right now. Feel free to reach out to [community@anaconda.com](mailto:community@anaconda.com) or my email [dwages@anaconda.com](mailto:dwages@anaconda.com).

We did not intend to interrupt CI workflows. A fix is coming soon (between an hour and 24 based on cache and workflows).

status page: https://anaconda.statuspage.io/

DW

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
@dawnwages 

> A fix is coming soon (between an hour and 24 based on cache and workflows).

Any ETA? It's still failing.

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
@guyer Could you provide more details where it's failing for you at the moment?

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
@jezdez My situation isn't related to scikit-learn, but dawnwages' answer seemed to imply an update to anaconda.

At least as of Sunday night, my Azure pipelines, using `ubuntu-latest` and `windows-lateset`, were falling over with
```
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
```
I can't say whether they were still failing yesterday or today because I've been (unsuccessfully) messing around trying to remove these channels that aren't channels or to switch to miniconda.

I do not wish to accept the ToS. I am only using `conda-forge`, but I'm unable to remove `defaults`.

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
@guyer Ok to summarize what we've done:
- released an update of ([conda-anaconda-tos 0.2.1](https://github.com/anaconda/conda-anaconda-tos/releases/tag/0.2.1)) that improves, among other things, the detection of Azure CI runtime environments, similar to what we do for other CI systems. The goal is to prevent disturbing CI systems.
- release [miniconda 25.5.1-1](https://www.anaconda.com/docs/getting-started/miniconda/release/25.x#miniconda-25-5-1-1) which includes with said conda-anaconda-tos 0.2.1
- release [Anaconda 2025.06-1](https://www.anaconda.com/docs/getting-started/anaconda/release/2025.x#anaconda-2025-06-1) which includes with said conda-anaconda-tos 0.2.1

What we have _not_ aded is detection of CI environments that are more complex, such as those that are running Docker within any of the existing CI providers, https://github.com/anaconda/conda-anaconda-tos/issues/232.

@guyer Some questions:

- Do you run tests within a container on Azure Pipelines?
- Can you link to a failing run so I can help debug this?

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
@jezdez So it looks like maybe the problem is that Azure hasn't updated `ubuntu-latest` and `windows-latest` since your updates.

> Some questions:
> 
> * Do you run tests within a container on Azure Pipelines?

Yes, I run tests in Azure's `ubuntu-latest`, `windows-latest`, and `macos-latest` (the last does not complain).

> * Can you link to a failing run so I can help debug this?

This is the [most recent failing run](https://dev.azure.com/guyer/FiPy/_build/results?buildId=1797&view=results)

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
> [@jezdez](https://github.com/jezdez) So it looks like maybe the problem is that Azure hasn't updated `ubuntu-latest` and `windows-latest` since your updates.
> 
> > Some questions:
> > 
> > * Do you run tests within a container on Azure Pipelines?
> 
> Yes, I run tests in Azure's `ubuntu-latest`, `windows-latest`, and `macos-latest` (the last does not complain).

Yeah, the best course of action is to install a fresh miniconda.
 
> > * Can you link to a failing run so I can help debug this?
> 
> This is the [most recent failing run](https://dev.azure.com/guyer/FiPy/_build/results?buildId=1797&view=results)

This seems to be because the install script https://github.com/guyer/fipy/blob/master/.azure/templates/install.yml#L22 doesn't download Miniconda on non-macOS, while if you look for example at the [macOS job](https://dev.azure.com/guyer/FiPy/_build/results?buildId=1797&view=logs&j=d140db5a-ea74-5114-89c8-047f038a6232&t=e01c99fe-a45f-5995-24fb-d520d2bba4ff&l=1) where the condition permits downloading the Miniconda installer, it works. The best course of action is to remove the condition and have it pull Miniconda on all platforms new.

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
@jezdez yeah, I did that (switched to miniforge) but, for the life of me, I couldn't get it to work on 'doze. I switched back to the preinstalled conda in the Azure images and eventually figured out where to put `CONDA_PLUGINS_AUTO_ACCEPT_TOS: yes`.

I'm not delighted with this, but I've wasted a day on this already.

Labels: High Priority
Anaconda new ToS causing CI failures

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`](https://www.anaconda.com/docs/getting-started/tos-plugin) 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 https://github.com/pytorch/pytorch/issues/158438)

COMMENT:
Miniforge isn't affected by this, since the conda-anaconda-tos packages isn't installed with it, wondering if there is some overlap between Azure's conda that is installed by default and the Miniforge you tried.

Labels: High Priority