deps: Raise the Python requirement to 3.10 (#31088)

This will allow us to use the pip's new dependency resolver.
This commit is contained in:
Martin Robinson 2024-01-15 12:56:15 +01:00 committed by GitHub
parent 3c1ab65458
commit 0d240b8713
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 5 deletions

View file

@ -10,7 +10,7 @@ jobs:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload docs to GitHub Pages
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:

View file

@ -87,6 +87,9 @@ jobs:
- name: Set LIBCLANG_PATH env # needed for bindgen in mozangle
if: ${{ !inputs.upload }} # not needed on ubuntu 20.04 used for nightly
run: echo "LIBCLANG_PATH=/usr/lib/llvm-14/lib" >> $GITHUB_ENV
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install taplo
uses: baptiste0928/cargo-install@v2
with:

View file

@ -22,6 +22,9 @@ jobs:
fetch-depth: 2
- name: Update rustc
run: echo nightly > rust-toolchain
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Bootstrap
run: |
python3 -m pip install --upgrade pip

View file

@ -70,6 +70,9 @@ jobs:
run: |
choco install wixtoolset
echo "C:\\Program Files (x86)\\WiX Toolset v3.11\\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Bootstrap
run: |
python -m pip install --upgrade pip