Skip to content

Commit cdd5f43

Browse files
authored
Merge pull request nf-core#2805 from mashehu/upgrade-to-py3_12
Template: Update python to 3.12
2 parents dbd8734 + e566cf0 commit cdd5f43

File tree

16 files changed

+31
-30
lines changed

16 files changed

+31
-30
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ body:
3737
* Hardware _(eg. HPC, Desktop, Cloud)_
3838
* Executor _(eg. slurm, local, awsbatch)_
3939
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
40-
* Version of nf-core/tools _(eg. 1.1, 1.5, 1.8.2)_
41-
* Python version _(eg. 3.10, 3.11)_
40+
* Version of nf-core/tools _(eg. 1.10, 1.12.1, 1.13)_
41+
* Python version _(eg. 3.11, 3.12)_

.github/workflows/changelog.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
3939
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
4040
with:
41-
python-version: "3.11"
41+
python-version: "3.12"
4242

4343
- name: Install packages
4444
run: |
@@ -64,10 +64,10 @@ jobs:
6464
git diff --exit-code ${GITHUB_WORKSPACE}/CHANGELOG.md || echo "changed=YES" >> $GITHUB_ENV
6565
echo "File changed: ${{ env.changed }}"
6666
67-
- name: Set up Python 3.11
67+
- name: Set up Python 3.12
6868
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
6969
with:
70-
python-version: 3.11
70+
python-version: "3.12"
7171
cache: "pip"
7272

7373
- name: Install pre-commit

.github/workflows/create-lint-wf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252
name: Check out source-code repository
5353

5454
# Set up nf-core/tools
55-
- name: Set up Python 3.11
55+
- name: Set up Python 3.12
5656
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
5757
with:
58-
python-version: 3.11
58+
python-version: "3.12"
5959
cache: pip
6060

6161
- name: Install python dependencies

.github/workflows/create-test-lint-wf-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ jobs:
6464
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
6565
name: Check out source-code repository
6666

67-
- name: Set up Python 3.11
67+
- name: Set up Python 3.12
6868
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
6969
with:
70-
python-version: 3.11
70+
python-version: "3.12"
7171

7272
- name: Install python dependencies
7373
run: |

.github/workflows/create-test-wf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
5252
name: Check out source-code repository
5353

54-
- name: Set up Python 3.11
54+
- name: Set up Python 3.12
5555
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
5656
with:
57-
python-version: 3.11
57+
python-version: "3.12"
5858

5959
- name: Install python dependencies
6060
run: |

.github/workflows/deploy-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1717
name: Check out source-code repository
1818

19-
- name: Set up Python 3.11
19+
- name: Set up Python 3.12
2020
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
2121
with:
22-
python-version: 3.11
22+
python-version: "3.12"
2323

2424
- name: Install python dependencies
2525
run: |

.github/workflows/fix-linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# Install and run pre-commit
3535
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
3636
with:
37-
python-version: 3.11
37+
python-version: "3.12"
3838

3939
- name: Install pre-commit
4040
run: pip install pre-commit

.github/workflows/lint-code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
2222

23-
- name: Set up Python 3.11
23+
- name: Set up Python 3.12
2424
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
2525
with:
26-
python-version: 3.11
26+
python-version: "3.12"
2727
cache: "pip"
2828

2929
- name: Install pre-commit

.github/workflows/pytest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: "ubuntu-latest"
4141
strategy:
4242
matrix:
43-
python-version: ["3.8", "3.11"]
43+
python-version: ["3.8", "3.12"]
4444
runner: ["ubuntu-latest"]
4545
include:
4646
- python-version: "3.8"
@@ -159,12 +159,12 @@ jobs:
159159
cd pytest
160160
161161
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
162-
- name: Set up Python 3.11
162+
- name: Set up Python 3.12
163163
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
164164
env:
165165
AGENT_TOOLSDIRECTORY: /opt/actions-runner/_work/tools/tools/
166166
with:
167-
python-version: 3.11
167+
python-version: "3.12"
168168
cache: "pip"
169169

170170
- name: Install dependencies

.github/workflows/sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ jobs:
5656
path: nf-core/${{ matrix.pipeline }}
5757
fetch-depth: "0"
5858

59-
- name: Set up Python 3.11
59+
- name: Set up Python 3.12
6060
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
6161
with:
62-
python-version: 3.11
62+
python-version: "3.12"
6363

6464
- name: Install python dependencies
6565
run: |

0 commit comments

Comments
 (0)