From c9083988388476b02ff7a2be85883a289d3cc5b5 Mon Sep 17 00:00:00 2001 From: Yuriy Kirillov Date: Tue, 18 Aug 2026 02:06:21 +0200 Subject: [PATCH] chore: drop actions/setup-python from deploy-shared.yml ubuntu-latest runners ship Python 3 + pip preinstalled and ansible-core has no specific version requirement, so a dedicated setup-python step (and its own Dependabot upkeep, e.g. #96) isn't needed. --break-system-packages sidesteps PEP 668's externally-managed-environment guard on newer Ubuntu images; --user keeps the install out of system site-packages. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/deploy-shared.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-shared.yml b/.github/workflows/deploy-shared.yml index bff3203..73ba170 100644 --- a/.github/workflows/deploy-shared.yml +++ b/.github/workflows/deploy-shared.yml @@ -46,11 +46,9 @@ jobs: with: repository: rubykatzen/flightdeck ref: ${{ steps.ref.outputs.ref }} - - uses: actions/setup-python@v5 - with: - python-version: "3.x" - - run: pip install ansible-core + - name: Install ansible-core shell: bash + run: pip install --user --break-system-packages ansible-core - uses: tailscale/github-action@v4 if: inputs.tailscale-oauth-client-id != '' with: