Skip to content

Commit

Permalink
gha/manylinux: Workaround CentOS 6.10 EOL
Browse files Browse the repository at this point in the history
Add workaround to fix manylinux2010 wheels build until the
quay.io/pypa/manylinux2010_x86_64 docker image gets updated
(pypa/manylinux#836).
  • Loading branch information
anlambert committed Dec 3, 2020
1 parent 7e95e14 commit 9a1a075
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bundlers/linux/talipot_python_wheels_manylinux_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@

TALIPOT_PYTHON_TEST_WHEEL_SUFFIX=$1

# workaround CentOS 6.10 that reached EOL
# https://github.com/pypa/manylinux/issues/836
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
sed -i 's/mirrorlist/#mirrorlist/' /etc/yum.repos.d/CentOS-*.repo
sed -i 's/#\(baseurl.*\)mirror.centos.org/\1vault.centos.org/' /etc/yum.repos.d/CentOS-Base.repo
rm -f /etc/yum.repos.d/CentOS-SCLo-scl*

# install cmake 3.x
yum -y install epel-release
yum -y install cmake3
Expand Down

0 comments on commit 9a1a075

Please sign in to comment.