This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 66b0d2a999 ARROW-16747: [CI][Release][Python] Drop support for 
manylinux 2010 (#13566)
66b0d2a999 is described below

commit 66b0d2a999c8d817fade056e625e4d3ff92a4fff
Author: Raúl Cumplido <[email protected]>
AuthorDate: Mon Jul 11 23:08:48 2022 +0200

    ARROW-16747: [CI][Release][Python] Drop support for manylinux 2010 (#13566)
    
    See also the discussion on the mailing list:
    https://lists.apache.org/thread/dfsvcsmrmktgnqz9fyc9ym33zldwklyx
    
    Authored-by: Raúl Cumplido <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 .dockerignore                                    |  1 -
 ci/docker/python-wheel-manylinux-201x.dockerfile | 10 ++-------
 dev/release/verify-release-candidate.sh          |  2 +-
 dev/tasks/tasks.yml                              |  3 +--
 docker-compose.yml                               | 27 ------------------------
 docs/source/python/integration/extending.rst     |  3 +--
 6 files changed, 5 insertions(+), 41 deletions(-)

diff --git a/.dockerignore b/.dockerignore
index e062e582ff..5d6d171fde 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -32,7 +32,6 @@
 !docs/requirements*.txt
 !python/requirements*.txt
 !python/manylinux1/**
-!python/manylinux2010/**
 !r/DESCRIPTION
 !ruby/Gemfile
 !ruby/red-arrow/Gemfile
diff --git a/ci/docker/python-wheel-manylinux-201x.dockerfile 
b/ci/docker/python-wheel-manylinux-201x.dockerfile
index 3a209f6cd2..4f74b8b1c5 100644
--- a/ci/docker/python-wheel-manylinux-201x.dockerfile
+++ b/ci/docker/python-wheel-manylinux-201x.dockerfile
@@ -43,8 +43,7 @@ ARG ccache=4.1
 COPY ci/scripts/install_ccache.sh arrow/ci/scripts/
 RUN /arrow/ci/scripts/install_ccache.sh ${ccache} /usr/local
 
-# Install vcpkg and in case of manylinux2010 install a more recent glibc>2.15
-# for the prebuilt vcpkg binary
+# Install vcpkg
 ARG vcpkg
 ARG glibc=2.18
 COPY ci/vcpkg/*.patch \
@@ -54,12 +53,7 @@ COPY ci/scripts/install_vcpkg.sh \
      ci/scripts/install_glibc.sh \
      arrow/ci/scripts/
 ENV VCPKG_ROOT=/opt/vcpkg
-RUN arrow/ci/scripts/install_vcpkg.sh ${VCPKG_ROOT} ${vcpkg} && \
-    if [ "${manylinux}" == "2010" ]; then \
-        arrow/ci/scripts/install_glibc.sh ${glibc} /opt/glibc-${glibc} && \
-        patchelf --set-interpreter /opt/glibc-2.18/lib/ld-linux-x86-64.so.2 
${VCPKG_ROOT}/vcpkg && \
-        patchelf --set-rpath /opt/glibc-2.18/lib:/usr/lib64 
${VCPKG_ROOT}/vcpkg; \
-    fi
+RUN arrow/ci/scripts/install_vcpkg.sh ${VCPKG_ROOT} ${vcpkg}
 ENV PATH="${PATH}:${VCPKG_ROOT}"
 
 ARG build_type=release
diff --git a/dev/release/verify-release-candidate.sh 
b/dev/release/verify-release-candidate.sh
index 54c56944e1..469950ef7a 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -1002,7 +1002,7 @@ test_linux_wheels() {
   fi
 
   local python_versions="3.7m 3.8 3.9 3.10"
-  local platform_tags="manylinux_2_12_${arch}.manylinux2010_${arch} 
manylinux_2_17_${arch}.manylinux2014_${arch}"
+  local platform_tags="manylinux_2_17_${arch}.manylinux2014_${arch}"
 
   for python in ${python_versions}; do
     local pyver=${python/m}
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index 6b18165a18..f52fe1428a 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -456,8 +456,7 @@ tasks:
 
 {############################## Wheel Linux ##################################}
 
-{% for ci, arch, arch_alias, x_y, manylinux in [("github", "amd64", "x86_64", 
"2_12", "2010"),
-                                                ("github", "amd64", "x86_64", 
"2_17", "2014"),
+{% for ci, arch, arch_alias, x_y, manylinux in [("github", "amd64", "x86_64", 
"2_17", "2014"),
                                                 ("travis", "arm64", "aarch64", 
"2_17", "2014")] %}
   wheel-manylinux{{ manylinux }}-{{ python_tag }}-{{ arch }}:
     ci: "{{ ci }}"
diff --git a/docker-compose.yml b/docker-compose.yml
index 1b65056aee..7902aebe2e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -152,7 +152,6 @@ x-hierarchy:
   # helper services
   - impala
   - postgres
-  - python-wheel-manylinux-2010
   - python-wheel-manylinux-2014:
     - java-jni-manylinux-2014
   - python-wheel-manylinux-test-imports
@@ -173,8 +172,6 @@ volumes:
     name: ${ARCH}-fedora-${FEDORA}-ccache
   maven-cache:
     name: maven-cache
-  python-wheel-manylinux2010-ccache:
-    name: python-wheel-manylinux2010-ccache
   python-wheel-manylinux2014-ccache:
     name: python-wheel-manylinux2014-ccache
   python-wheel-windows-clcache:
@@ -870,30 +867,6 @@ services:
 
   ############################ Python wheels ##################################
 
-  # See available versions at:
-  #    https://quay.io/repository/pypa/manylinux2010_x86_64?tab=tags
-  #    only amd64 arch is supported
-  python-wheel-manylinux-2010:
-    image: ${REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-2010-vcpkg-${VCPKG}
-    build:
-      args:
-        arch: ${ARCH}
-        arch_short: ${ARCH_SHORT}
-        base: quay.io/pypa/manylinux2010_${ARCH_ALIAS}:2021-10-11-14ac00e
-        vcpkg: ${VCPKG}
-        python: ${PYTHON}
-        manylinux: 2010
-      context: .
-      dockerfile: ci/docker/python-wheel-manylinux-201x.dockerfile
-      cache_from:
-        - ${REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-2010-vcpkg-${VCPKG}
-    environment:
-      <<: *ccache
-    volumes:
-      - .:/arrow:delegated
-      - 
${DOCKER_VOLUME_PREFIX}python-wheel-manylinux2010-ccache:/ccache:delegated
-    command: /arrow/ci/scripts/python_wheel_manylinux_build.sh
-
   # See available versions at:
   #    https://quay.io/repository/pypa/manylinux2014_x86_64?tab=tags
   python-wheel-manylinux-2014:
diff --git a/docs/source/python/integration/extending.rst 
b/docs/source/python/integration/extending.rst
index 5e00e79059..ec945e97ce 100644
--- a/docs/source/python/integration/extending.rst
+++ b/docs/source/python/integration/extending.rst
@@ -472,8 +472,7 @@ Toolchain Compatibility (Linux)
 
 The Python wheels for Linux are built using the
 `PyPA manylinux images <https://quay.io/organization/pypa>`_ which use
-the CentOS `devtoolset-8` or `devtoolset-9` depending on which manylinux
-wheel version (2010 or 2014) is being used. In addition to the other notes
+the CentOS `devtoolset-9`. In addition to the other notes
 above, if you are compiling C++ using these shared libraries, you will need
 to make sure you use a compatible toolchain as well or you might see a
 segfault during runtime.

Reply via email to