Repository navigation
Conversation
setup-miniconda v4 warns on every run: `auto-activate-base` is deprecated. Please use `auto-activate`. Rename the input in ci.yml, cache.yml and publish.yml. The value stays true, and the installer's default environment is base, so the second half of the warning (add `activate-environment: base`) does not apply; each job still activates the quantecon environment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Wyb6EzbNzY5a8uuJPnDtUb
✅ Deploy Preview for majestic-griffin-10b166 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
🟢 Approval recommended
The rename is applied consistently across all three workflows, no stale auto-activate-base references remain, and each job still activates the quantecon environment, so behavior is unchanged.
0 open findings
What changed in this PR
This PR updates the GitHub Actions workflows to replace the deprecated auto-activate-base input of conda-incubator/setup-miniconda@v4 with its supported successor auto-activate, eliminating a deprecation warning that appears in every conda setup job. The value remains true, and each job still activates the quantecon environment via activate-environment, so runtime behavior is unchanged.
Changes:
- Renamed
auto-activate-base: truetoauto-activate: trueinci.yml,cache.yml, andpublish.yml. - No change to the activated environment, which is still handled by
activate-environment: quantecon.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Renamed deprecated conda setup input to auto-activate. |
.github/workflows/cache.yml |
Renamed deprecated conda setup input to auto-activate. |
.github/workflows/publish.yml |
Renamed deprecated conda setup input to auto-activate. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
With
conda-incubator/setup-miniconda@v4, every job that sets up conda logs this warning:This renames the input in
ci.yml,cache.ymlandpublish.yml. The value staystrue.The second half of the warning doesn't apply. The Miniconda installer's default environment is
base, and each job still activates thequanteconenvironment throughactivate-environment.This is the same change as QuantEcon/lecture-python-programming.zh-cn#109, whose build ran without the warning, and the matching PR in QuantEcon/lecture-python-programming.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Wyb6EzbNzY5a8uuJPnDtUb
Generated by Claude Code