Bump Python to 3.11 (#214)

Sopel dropped support for Python 3.7
This commit is contained in:
2023-08-11 20:24:26 +02:00
committed by GitHub
parent 7255d65514
commit a950c724bb
4 changed files with 44 additions and 44 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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),