-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Closed
Copy link
Labels
source::contributorcreated by a frequent contributorcreated by a frequent contributortype::bugdescribes erroneous operation, use severity::* to classify the typedescribes erroneous operation, use severity::* to classify the type
Milestone
Description
Problem
The dev/start script fails when setting up the conda development environment due to Anaconda's Terms of Service (TOS) acceptance requirement. The error occurs because:
- The script downloads and installs a fresh miniconda installation from
https://repo.anaconda.com/miniconda/ - This fresh installation comes with default Anaconda channels (
https://repo.anaconda.com/pkgs/mainandhttps://repo.anaconda.com/pkgs/r) that require TOS acceptance - The script attempts to create environments and install packages without first accepting the TOS
- This results in a
CondaToSNonInteractiveErrorwith the message:
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
Root Cause
The issue stems from Anaconda's recent requirement for explicit TOS acceptance for their channels. The dev/start script was not updated to handle this requirement, causing it to fail for new developers setting up the conda development environment.
Solution
Based on the Anaconda TOS plugin documentation, we should modify the dev/start script to accept the TOS.
Impact
This fix ensures that new developers can successfully set up the conda development environment without manual intervention, improving the developer experience and reducing setup friction.
Related Documentation
- Anaconda TOS Plugin Documentation
- GitHub Workflows (which handle TOS differently in CI/CD)
danyeaw and agriyakhetarpaltravishathaway
Metadata
Metadata
Assignees
Labels
source::contributorcreated by a frequent contributorcreated by a frequent contributortype::bugdescribes erroneous operation, use severity::* to classify the typedescribes erroneous operation, use severity::* to classify the type
Type
Projects
Status
Done 💪🏾