Skip to content

Commit

Permalink
chore(dev): Use Miniforge instead of Mambaforge (#2211)
Browse files Browse the repository at this point in the history
Use Miniforge instead of Mambaforge, as the latter has been deprecated.

Closes #2206
  • Loading branch information
CurtHagenlocher authored Oct 4, 2024
1 parent 0a757ab commit 47e6a6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ https://github.com/apache/arrow-adbc/issues
Some dependencies are required to build and test the various ADBC packages.

For C/C++, you will most likely want a [Conda][conda] installation,
with [Mambaforge][mambaforge] being the most convenient distribution.
If you have Mambaforge installed, you can set up a development
with [Miniforge][miniforge] being the most convenient distribution.
If you have Miniforge installed, you can set up a development
environment as follows:

```shell
Expand All @@ -52,7 +52,7 @@ CMake or other build tool appropriately. However, we primarily
develop and support Conda users.

[conda]: https://docs.conda.io/en/latest/
[mambaforge]: https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html
[miniforge]: https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html

### Running Integration Tests

Expand Down
4 changes: 2 additions & 2 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -382,15 +382,15 @@ install_rust() {
install_conda() {
# Setup short-lived miniconda for Python and integration tests
show_info "Ensuring that Conda is installed..."
local prefix=$ARROW_TMPDIR/mambaforge
local prefix=$ARROW_TMPDIR/miniforge

# Setup miniconda only if the directory doesn't exist yet
if [ "${CONDA_ALREADY_INSTALLED:-0}" -eq 0 ]; then
if [ ! -d "${prefix}" ]; then
show_info "Installing miniconda at ${prefix}..."
local arch=$(uname -m)
local platform=$(uname)
local url="https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-${platform}-${arch}.sh"
local url="https://github.com/conda-forge/miniforge/releases/latest/download/miniforge3-${platform}-${arch}.sh"
curl -sL -o miniconda.sh $url
bash miniconda.sh -b -p $prefix
rm -f miniconda.sh
Expand Down

0 comments on commit 47e6a6a

Please sign in to comment.