Skip to content

Commit 45f121d

Browse files
authored
DevOps: use python 3.10 in github workflows (#105)
The latest versions of aiida-quantumespresso do not support anymore python 3.9 as it is end-of-life. This made the weekly workflow to fail.
1 parent ce961f8 commit 45f121d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Checkout source
1717
uses: actions/checkout@v4
1818

19-
- name: Set up Python 3.9
19+
- name: Set up Python 3.10
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: '3.9'
22+
python-version: '3.10'
2323

2424
- name: Validate the tag version against the package version
2525
run: python .github/workflows/validate_release_tag.py $GITHUB_REF
@@ -43,7 +43,7 @@ jobs:
4343
- name: Set up Python
4444
uses: actions/setup-python@v2
4545
with:
46-
python-version: '3.9'
46+
python-version: '3.10'
4747

4848
- name: Install Python dependencies
4949
run: pip install -e .[pre-commit,tests]
@@ -100,10 +100,10 @@ jobs:
100100
- name: Checkout source
101101
uses: actions/checkout@v4
102102

103-
- name: Set up Python 3.9
103+
- name: Set up Python 3.10
104104
uses: actions/setup-python@v2
105105
with:
106-
python-version: '3.9'
106+
python-version: '3.10'
107107

108108
- name: Install flit
109109
run: pip install flit~=3.4

.github/workflows/weekly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
python-version: ['3.9', '3.12']
23+
python-version: ['3.10', '3.12']
2424

2525
services:
2626
postgres:

0 commit comments

Comments
 (0)