From bedf267b6c8bf25b9c73b4cf7570cb1559754a20 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 9 Aug 2023 20:08:08 +0200 Subject: [PATCH] Bump Python to 3.11 Sopel dropped support for Python 3.7 --- .github/workflows/test-devel.yml | 36 ++++++++++----------- .github/workflows/test-devel_release.yml | 8 ++--- .github/workflows/test-stable.yml | 40 ++++++++++++------------ make_workflows.py | 4 +-- 4 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/workflows/test-devel.yml b/.github/workflows/test-devel.yml index 81af1ae3..e9dd4d3d 100644 --- a/.github/workflows/test-devel.yml +++ b/.github/workflows/test-devel.yml @@ -17,10 +17,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout Anope uses: actions/checkout@v3 with: @@ -57,10 +57,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout Bahamut uses: actions/checkout@v3 with: @@ -110,10 +110,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout Hybrid uses: actions/checkout@v3 with: @@ -140,10 +140,10 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout InspIRCd uses: actions/checkout@v3 with: @@ -184,10 +184,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout ngircd uses: actions/checkout@v3 with: @@ -225,10 +225,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: clone run: 'curl https://gitlab.com/rizon/plexus4/-/archive/master/plexus4-master.tar.gz | tar -zx @@ -267,10 +267,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout Solanum uses: actions/checkout@v3 with: @@ -307,10 +307,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout UnrealIRCd 6 uses: actions/checkout@v3 with: @@ -353,10 +353,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout UnrealIRCd 5 uses: actions/checkout@v3 with: diff --git a/.github/workflows/test-devel_release.yml b/.github/workflows/test-devel_release.yml index bcfbe62c..3da5e00b 100644 --- a/.github/workflows/test-devel_release.yml +++ b/.github/workflows/test-devel_release.yml @@ -17,10 +17,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout Anope uses: actions/checkout@v3 with: @@ -48,10 +48,10 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout InspIRCd uses: actions/checkout@v3 with: diff --git a/.github/workflows/test-stable.yml b/.github/workflows/test-stable.yml index 4f39cf7e..4ba290c6 100644 --- a/.github/workflows/test-stable.yml +++ b/.github/workflows/test-stable.yml @@ -17,10 +17,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout Anope uses: actions/checkout@v3 with: @@ -57,10 +57,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout Bahamut uses: actions/checkout@v3 with: @@ -110,10 +110,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout Charybdis uses: actions/checkout@v3 with: @@ -151,10 +151,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout Hybrid uses: actions/checkout@v3 with: @@ -181,10 +181,10 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout InspIRCd uses: actions/checkout@v3 with: @@ -225,10 +225,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout ngircd uses: actions/checkout@v3 with: @@ -266,10 +266,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: clone run: 'curl https://gitlab.com/rizon/plexus4/-/archive/20211115_0-611/plexus4-20211115_0-611.tar | tar -x @@ -308,10 +308,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout Solanum uses: actions/checkout@v3 with: @@ -348,10 +348,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout UnrealIRCd 6 uses: actions/checkout@v3 with: @@ -394,10 +394,10 @@ jobs: ' - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Checkout UnrealIRCd 5 uses: actions/checkout@v3 with: diff --git a/make_workflows.py b/make_workflows.py index f959b9f8..cc64e82d 100644 --- a/make_workflows.py +++ b/make_workflows.py @@ -125,9 +125,9 @@ def get_build_job(*, software_config, software_id, version_flavor): *cache, {"uses": "actions/checkout@v3"}, { - "name": "Set up Python 3.7", + "name": "Set up Python 3.11", "uses": "actions/setup-python@v4", - "with": {"python-version": 3.7}, + "with": {"python-version": 3.11}, }, *install_steps, *upload_steps(software_id),