From f0b0d2db9139a7967d1458e35bc3ee8d38ffb12c Mon Sep 17 00:00:00 2001 From: Dylan Frankland Date: Thu, 10 Oct 2024 10:19:30 -0700 Subject: [PATCH 1/2] fix dnf install for python bindings build --- .github/workflows/pyo3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pyo3.yml b/.github/workflows/pyo3.yml index 2afa5f05..907b2226 100644 --- a/.github/workflows/pyo3.yml +++ b/.github/workflows/pyo3.yml @@ -46,7 +46,7 @@ jobs: if [ -f /usr/bin/dnf ]; then # quay.io/pypa/manylinux_2_28_x86_64:latest /usr/bin/dnf upgrade - /usr/bin/dnf install -y pkgconf perl-IPC-Cmd openssl-devel python3-pip + /usr/bin/dnf -y install pkgconf perl-IPC-Cmd openssl-devel python3-pip /usr/bin/ln -s /usr/bin/pip3 /usr/bin/pip /usr/bin/ln -sf /usr/bin/python3.11 /usr/bin/python3 elif [ -f /usr/bin/apt ]; then From 446ac9ea7be6346479be67e4af8aaa39f7624dbc Mon Sep 17 00:00:00 2001 From: Dylan Frankland Date: Thu, 10 Oct 2024 16:15:17 -0700 Subject: [PATCH 2/2] Update pyo3.yml --- .github/workflows/pyo3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pyo3.yml b/.github/workflows/pyo3.yml index 907b2226..558f1905 100644 --- a/.github/workflows/pyo3.yml +++ b/.github/workflows/pyo3.yml @@ -45,7 +45,7 @@ jobs: # https://docs.rs/openssl/latest/openssl/ if [ -f /usr/bin/dnf ]; then # quay.io/pypa/manylinux_2_28_x86_64:latest - /usr/bin/dnf upgrade + /usr/bin/dnf -y upgrade /usr/bin/dnf -y install pkgconf perl-IPC-Cmd openssl-devel python3-pip /usr/bin/ln -s /usr/bin/pip3 /usr/bin/pip /usr/bin/ln -sf /usr/bin/python3.11 /usr/bin/python3