Skip to content

Commit

Permalink
fix: mirrorlist.centos.org no host
Browse files Browse the repository at this point in the history
CentOS 7 has reached EOL on June 30, 2024, we need to switch to vault.centos.org to get the CentOS 7 based workflows working
  • Loading branch information
hrz6976 authored Jul 15, 2024
1 parent 1d5fd49 commit 897b550
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ jobs:
# force manylinux2014 to avoid compatibility issues on RHEL 7
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
# install required dependencies: bz2
CIBW_BEFORE_ALL: yum install -y bzip2-devel
CIBW_BEFORE_ALL: |
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
yum install -y bzip2-devel
- name: Upload wheels
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 897b550

Please sign in to comment.