From c7828b0640189fe8733aa867cb1a9e572a4d08a6 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Wed, 8 May 2024 09:15:06 -0400 Subject: [PATCH] CI: Remove custom python setup The only python on the CI machines is now python3. The python installed by setup-python (which is CPython) seems to have issues running WPT. --- .github/actions/setup/action.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index c4a45fdf755..5537ef490db 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -13,11 +13,6 @@ inputs: runs: using: "composite" steps: - # Set default Python to python 3.x, and set Python path such that pip install works properly - - uses: actions/setup-python@v5 - with: - python-version: '3.x' - - name: 'Install Dependencies' if: ${{ inputs.os == 'Linux' }} shell: bash @@ -51,10 +46,9 @@ runs: - name: 'Install Python dependencies' if: ${{ inputs.os == 'Linux' || inputs.os == 'Serenity' }} shell: bash - # The setup-python action set default python to python3.x. Note that we are not using system python here. run: | - python -m pip install --upgrade pip - pip install flake8 requests six + python3 -m pip install --upgrade pip + pip3 install flake8 requests six - name: 'Install Dependencies' if: ${{ inputs.os == 'Serenity' }}