Skip to content

Commit 50b785c

Browse files
pitrouloicalleyne
authored andcommitted
apacheGH-37993: [CI] Fix conda-integration build (apache#37990)
### Rationale for this change The conda-integration build has recently started failing: https://github.com/apache/arrow/actions/runs/6393852866/job/17353952453 Apparently this is because conda-forge is now providing Python 3.12 by default, and pythonnet [does not support it yet](pythonnet/pythonnet#2249). ### What changes are included in this PR? Avoid using Python 3.12 for Archery in conda-integration build. ### Are these changes tested? Yes, by construction. ### Are there any user-facing changes? No. * Closes: apache#37993 Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent da57e3d commit 50b785c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ci/docker/conda-integration.dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ ARG go=1.19.13
2929
# Install Archery and integration dependencies
3030
COPY ci/conda_env_archery.txt /arrow/ci/
3131

32+
# Pin Python until pythonnet is made compatible with 3.12
33+
# (https://github.com/pythonnet/pythonnet/pull/2249)
3234
RUN mamba install -q -y \
3335
--file arrow/ci/conda_env_archery.txt \
34-
"python>=3.7" \
36+
"python < 3.12" \
3537
numpy \
3638
compilers \
3739
maven=${maven} \

0 commit comments

Comments
 (0)