This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 1747f7cd6 docs: update CONTRIBUTING to use mamba consistently (#2995)
1747f7cd6 is described below
commit 1747f7cd644c5b68e0933ad4f4a72f498fca0f0c
Author: Daijiro Fukuda <[email protected]>
AuthorDate: Thu Jun 19 13:56:39 2025 +0900
docs: update CONTRIBUTING to use mamba consistently (#2995)
Closes #2994
---
CONTRIBUTING.md | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ef5980151..9b1bb1d6f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -40,6 +40,13 @@ $ mamba create -n adbc --file ci/conda_env_cpp.txt
$ mamba activate adbc
```
+Also you can add dependencies to an existing environment as follows:
+
+```shell
+$ mamba activate adbc
+$ mamba install --file ci/conda_env_cpp.txt
+```
+
(For other Conda distributions, you will likely need `create ... -c
conda-forge --file ...`).
@@ -203,8 +210,8 @@ A list of dependencies for Conda (conda-forge) is included,
and can be
used as follows:
```shell
-$ conda create -n adbc -c conda-forge --file ci/conda_env_docs.txt
-$ conda activate adbc
+$ mamba create -n adbc --file ci/conda_env_docs.txt
+$ mamba activate adbc
# Mermaid must be installed separately
# While "global", it will end up in your Conda environment
$ npm install -g @mermaid-js/mermaid-cli
@@ -261,8 +268,8 @@ A list of dependencies for Conda (conda-forge) is included,
and can be
used as follows:
```shell
-$ conda create -n adbc -c conda-forge --file ci/conda_env_glib.txt
-$ conda activate adbc
+$ mamba create -n adbc --file ci/conda_env_glib.txt
+$ mamba activate adbc
```
@@ -425,7 +432,7 @@ linters, formatters, and other analysis. For example:
# Install pre-commit
$ pip install pre-commit
# or alternatively
-$ conda install -c conda-forge --file ci/conda_env_dev.txt
+$ mamba install --file ci/conda_env_dev.txt
# Set up hooks
$ pre-commit install
# Run manually