This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new a3df1973d50 GH-50004: [CI][Python] Revert pinning miniforge (#51898)
a3df1973d50 is described below
commit a3df1973d50752ba8bbd589bb24accd3c8d36b02
Author: Adam Reeve <[email protected]>
AuthorDate: Wed Oct 7 21:28:34 2026 +1300
GH-50004: [CI][Python] Revert pinning miniforge (#51898)
### Rationale for this change
Undoes pinning the miniforge version, which is no longer required because
[miniforge now uses mamba
2.9.0](https://github.com/conda-forge/miniforge/releases/tag/26.7.2-0), which
includes the fix for https://github.com/mamba-org/mamba/issues/4274. Unpinning
allows us to benefit from improvements in new versions. See #49998 for context.
### What changes are included in this PR?
Use the latest version of miniforge when installing it in Docker, instead
of 26.1.1-3.
### Are these changes tested?
They will be once CI runs :smile:
### Are there any user-facing changes?
No
### Was AI used for this PR?
In accordance to the [AI generation
guidelines](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code),
please disclose below whether and how AI was used in this PR.
**PR code and description written by:**
- [x] Human
- [ ] AI
**Reviewed before submission by:**
- [x] Human
- [ ] AI
- [ ] Not reviewed
* GitHub Issue: #50004
Authored-by: Adam Reeve <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
ci/docker/conda.dockerfile | 4 +---
ci/docker/ubuntu-22.04-verify-rc.dockerfile | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/ci/docker/conda.dockerfile b/ci/docker/conda.dockerfile
index d31c85741f6..3a32206cadd 100644
--- a/ci/docker/conda.dockerfile
+++ b/ci/docker/conda.dockerfile
@@ -32,10 +32,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
rm -rf /var/lib/apt/lists/*
# Install conda and mamba via miniforge.
-# Temporarily pin to an old version of miniforge due to a regression in the
mamba solver.
-# See https://github.com/apache/arrow/issues/49998.
COPY ci/scripts/install_conda.sh /arrow/ci/scripts/
-RUN /arrow/ci/scripts/install_conda.sh miniforge3 26.1.1-3 /opt/conda
+RUN /arrow/ci/scripts/install_conda.sh miniforge3 latest /opt/conda
ENV PATH=/opt/conda/bin:$PATH
# create a conda environment
diff --git a/ci/docker/ubuntu-22.04-verify-rc.dockerfile
b/ci/docker/ubuntu-22.04-verify-rc.dockerfile
index 3c5eaceab9d..e1f0b6bcf9f 100644
--- a/ci/docker/ubuntu-22.04-verify-rc.dockerfile
+++ b/ci/docker/ubuntu-22.04-verify-rc.dockerfile
@@ -30,7 +30,7 @@ RUN INSTALL_PYTHON=0 /setup-ubuntu.sh && \
# conda-forge (without activating Conda env) for non-Conda verify-rc job
ARG python=3.12
COPY ci/scripts/install_conda.sh /arrow/ci/scripts/
-RUN /arrow/ci/scripts/install_conda.sh miniforge3 26.1.1-3 /opt/conda && \
+RUN /arrow/ci/scripts/install_conda.sh miniforge3 latest /opt/conda && \
/opt/conda/bin/mamba create -y -p /opt/python python=${python} && \
rm -rf \
/etc/profile.d/conda.sh \