From af944691017c69b4389d8bf2fd7abb8590ba49db Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Mon, 25 Aug 2025 11:51:52 -0500 Subject: [PATCH] removed curl as method to install poetry and used action instead --- .github/workflows/simple-release.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/simple-release.yml b/.github/workflows/simple-release.yml index 2b53628..e98beb7 100644 --- a/.github/workflows/simple-release.yml +++ b/.github/workflows/simple-release.yml @@ -132,10 +132,11 @@ jobs: container: image: rockylinux:9 steps: - - name: Install system dependencies + - name: Install system dependencies (avoid curl to prevent curl-minimal conflict) run: | - dnf update -y - dnf install -y curl git gcc gcc-c++ make + dnf -y update + # omit installing curl to avoid conflicts with curl-minimal + dnf -y install git gcc gcc-c++ make - name: Checkout code uses: actions/checkout@v4 @@ -146,12 +147,15 @@ jobs: python-version: '3.12' - name: Install Poetry - run: | - curl -sSL https://install.python-poetry.org | python - - echo 'export PATH="$HOME/.local/bin:$PATH"' >> $GITHUB_ENV + uses: snok/install-poetry@v1 + with: + version: latest + virtualenvs-create: true + virtualenvs-in-project: true - name: Configure Poetry run: | + echo 'export PATH="$HOME/.local/bin:$PATH"' >> $GITHUB_ENV export PATH="$HOME/.local/bin:$PATH" poetry config virtualenvs.create true poetry config virtualenvs.in-project true