From 922c65ec3b1816af9748a4d90a18eb3641b8587b Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 12 Nov 2024 17:06:08 +0100 Subject: [PATCH 1/2] actions/setup-python@v5 --- .github/workflows/nightly.yml | 2 +- .github/workflows/post-pr.yml | 2 +- .github/workflows/sync-from-external-sources.yml | 4 ++-- .github/workflows/tests.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index ef731144554..9e3f96d70e9 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Use JDK 21 diff --git a/.github/workflows/post-pr.yml b/.github/workflows/post-pr.yml index 5b19417609e..b7d03f66b96 100644 --- a/.github/workflows/post-pr.yml +++ b/.github/workflows/post-pr.yml @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Use JDK 21 diff --git a/.github/workflows/sync-from-external-sources.yml b/.github/workflows/sync-from-external-sources.yml index 40dd71c3b06..082dd27e305 100644 --- a/.github/workflows/sync-from-external-sources.yml +++ b/.github/workflows/sync-from-external-sources.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Install Prerequisite dependencies @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Install Prerequisite dependencies diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2cf2c7e87be..5d49b50e2d6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,7 +52,7 @@ jobs: **/out/failures/ **/build/reports/tests/*UnitTest/ - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.8 - uses: michaelkaye/setup-matrix-synapse@v1.0.5 From 2f3aff553735afa831dcc1020df3db75c4c48a73 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 12 Nov 2024 17:35:38 +0100 Subject: [PATCH 2/2] Move to Python 3.9 Synapse require 3.9 since https://github.com/element-hq/synapse/pull/17908 --- .github/workflows/nightly.yml | 4 ++-- .github/workflows/post-pr.yml | 4 ++-- .github/workflows/sync-from-external-sources.yml | 8 ++++---- .github/workflows/tests.yml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 9e3f96d70e9..0818fb3a964 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Use JDK 21 uses: actions/setup-java@v4 with: diff --git a/.github/workflows/post-pr.yml b/.github/workflows/post-pr.yml index b7d03f66b96..17666b2b69c 100644 --- a/.github/workflows/post-pr.yml +++ b/.github/workflows/post-pr.yml @@ -40,10 +40,10 @@ jobs: # No concurrency required, runs every time on a schedule. steps: - uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Use JDK 21 uses: actions/setup-java@v4 with: diff --git a/.github/workflows/sync-from-external-sources.yml b/.github/workflows/sync-from-external-sources.yml index 082dd27e305..2106d8716f1 100644 --- a/.github/workflows/sync-from-external-sources.yml +++ b/.github/workflows/sync-from-external-sources.yml @@ -13,10 +13,10 @@ jobs: # No concurrency required, runs every time on a schedule. steps: - uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install Prerequisite dependencies run: | pip install BeautifulSoup4 @@ -40,10 +40,10 @@ jobs: # No concurrency required, runs every time on a schedule. steps: - uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install Prerequisite dependencies run: | pip install requests diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5d49b50e2d6..b0f22d78143 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,7 +54,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - uses: michaelkaye/setup-matrix-synapse@v1.0.5 with: uploadLogs: true