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 f6afc33a9e GH-37993: [CI] Fix conda-integration build (#37990)
f6afc33a9e is described below
commit f6afc33a9e1b4cbd336982bf99b330ccacbf8566
Author: Antoine Pitrou <[email protected]>
AuthorDate: Tue Oct 3 17:12:02 2023 +0200
GH-37993: [CI] Fix conda-integration build (#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](https://github.com/pythonnet/pythonnet/pull/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]>
---
ci/docker/conda-integration.dockerfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ci/docker/conda-integration.dockerfile
b/ci/docker/conda-integration.dockerfile
index a306790b5c..074021677d 100644
--- a/ci/docker/conda-integration.dockerfile
+++ b/ci/docker/conda-integration.dockerfile
@@ -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} \