Skip to content

Conversation

Copy link

Copilot AI commented Dec 5, 2025

The environment activation instructions in AGENTS.md were hardcoded to conda activate CausalPy, but developers use different tools (micromamba, pixi, etc.).

Changes

  • Environment activation: Provide commands for conda, micromamba, and pixi instead of assuming conda
  • Tool detection: Add command to detect available environment managers: which conda || which micromamba || which pixi
  • Documentation reference: Link to environment.yml for consistency

Example

- **Activation required**: Always activate the `CausalPy` environment before executing any Python commands, tests, or scripts
  - Try one of the following commands based on your environment manager:
    - `conda activate CausalPy` (for conda)
    - `micromamba activate CausalPy` (for micromamba)
    - `pixi shell` (for pixi)
  - If unsure which tool you're using, try running `which conda || which micromamba || which pixi` to detect available tools

This approach avoids requiring local configuration files while supporting different developer workflows.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


📚 Documentation preview 📚: https://causalpy--583.org.readthedocs.build/en/583/

drbenvincent

This comment was marked as resolved.

Co-authored-by: drbenvincent <6765047+drbenvincent@users.noreply.github.com>
Copilot AI changed the title [WIP] Update environment activation instructions in AGENTS.md Support multiple environment managers in AGENTS.md activation instructions Dec 5, 2025
Copilot AI requested a review from drbenvincent December 5, 2025 10:18
Copilot finished work on behalf of drbenvincent December 5, 2025 10:18
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