Skip to content

Commit

Permalink
GH-37993: [CI] Fix conda-integration build (#37990)
Browse files Browse the repository at this point in the history
### 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: #37993

Authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
  • Loading branch information
pitrou authored Oct 3, 2023
1 parent 14a433a commit f6afc33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/docker/conda-integration.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ ARG go=1.19.13
# Install Archery and integration dependencies
COPY ci/conda_env_archery.txt /arrow/ci/

# Pin Python until pythonnet is made compatible with 3.12
# (https://github.com/pythonnet/pythonnet/pull/2249)
RUN mamba install -q -y \
--file arrow/ci/conda_env_archery.txt \
"python>=3.7" \
"python < 3.12" \
numpy \
compilers \
maven=${maven} \
Expand Down

0 comments on commit f6afc33

Please sign in to comment.