Skip to content

Commit e7041f7

Browse files
committed
Remove support for Python < 3.9 and Tmod3
1 parent 07ff6b3 commit e7041f7

37 files changed

+224
-912
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
10+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Set up Python ${{ matrix.python-version }}
@@ -24,28 +24,11 @@ jobs:
2424
- name: Upload coverage reports
2525
uses: codecov/codecov-action@v4.2.0
2626

27-
unittest-py-eol:
28-
runs-on: ubuntu-latest
29-
strategy:
30-
matrix:
31-
python-version: ['3.6', '3.7']
32-
steps:
33-
- uses: actions/checkout@v4
34-
- name: Build Image for Python ${{ matrix.python-version }}
35-
run: |
36-
docker build --build-arg PYTHON_VERSION=${{ matrix.python-version }} -f ci-scripts/dockerfiles/reframe-python.dockerfile -t reframe-python${{ matrix.python-version }}:latest .
37-
- name: Run Unittests
38-
run: |
39-
docker run --name reframe-python${{ matrix.python-version }} reframe-python${{ matrix.python-version }}:latest
40-
docker cp reframe-python${{ matrix.python-version }}:/home/rfmuser/reframe/coverage.xml .
41-
- name: Upload coverage reports
42-
uses: codecov/codecov-action@v4.2.0
43-
4427
unittest-macos:
4528
runs-on: macos-latest
4629
strategy:
4730
matrix:
48-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
31+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
4932
steps:
5033
- uses: actions/checkout@v4
5134
- name: Set up Python ${{ matrix.python-version }}
@@ -66,7 +49,7 @@ jobs:
6649
runs-on: ubuntu-latest
6750
strategy:
6851
matrix:
69-
modules-version: [lmod, lmod77, tmod32, tmod4]
52+
modules-version: [lmod, envmodules]
7053
steps:
7154
- uses: actions/checkout@v4
7255
- name: Login to GitHub Container Registry
@@ -121,7 +104,7 @@ jobs:
121104
runs-on: ubuntu-latest
122105
strategy:
123106
matrix:
124-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
107+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
125108
steps:
126109
- uses: actions/checkout@v4
127110
- name: Setup up Python ${{ matrix.python-version }}
@@ -144,7 +127,7 @@ jobs:
144127
runs-on: ubuntu-latest
145128
strategy:
146129
matrix:
147-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
130+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
148131
steps:
149132
- uses: actions/checkout@v4
150133
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/test-flux.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
container: ['fluxrm/flux-sched:focal']
13+
container: ['fluxrm/flux-sched:noble']
1414

1515
container:
1616
image: ${{ matrix.container }}
@@ -30,7 +30,6 @@ jobs:
3030
run: |
3131
apt-get update && apt-get install -y python3-pip
3232
./bootstrap.sh
33-
pip install pytest-cov
3433
export PATH=$PWD/bin:$PATH
3534
which reframe
3635

ci-scripts/configs/cscs-ci.py

Lines changed: 0 additions & 153 deletions
This file was deleted.

ci-scripts/configs/envmod.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright 2016-2024 Swiss National Supercomputing Centre (CSCS/ETH Zurich)
2+
# ReFrame Project Developers. See the top-level LICENSE file for details.
3+
#
4+
# SPDX-License-Identifier: BSD-3-Clause
5+
6+
site_configuration = {
7+
'systems': [
8+
{
9+
'name': 'envmodsys',
10+
'descr': 'Generic system using Environment Modules',
11+
'hostnames': ['.*'],
12+
'modules_system': 'envmod',
13+
'partitions': [
14+
{
15+
'name': 'default',
16+
'scheduler': 'local',
17+
'launcher': 'local',
18+
'environs': ['builtin']
19+
}
20+
]
21+
}
22+
]
23+
}

ci-scripts/configs/lmod.py

Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@
33
#
44
# SPDX-License-Identifier: BSD-3-Clause
55

6-
#
7-
# Generic fallback configuration
8-
#
9-
106
site_configuration = {
117
'systems': [
128
{
13-
'name': 'generic',
14-
'descr': 'Generic example system',
9+
'name': 'lmodsys',
10+
'descr': 'Generic system using Lmod',
1511
'hostnames': ['.*'],
1612
'modules_system': 'lmod',
1713
'partitions': [
@@ -22,49 +18,6 @@
2218
'environs': ['builtin']
2319
}
2420
]
25-
},
26-
],
27-
'environments': [
28-
{
29-
'name': 'builtin',
30-
'cc': 'cc',
31-
'cxx': '',
32-
'ftn': ''
33-
},
34-
],
35-
'logging': [
36-
{
37-
'handlers': [
38-
{
39-
'type': 'stream',
40-
'name': 'stdout',
41-
'level': 'info',
42-
'format': '%(message)s'
43-
},
44-
{
45-
'type': 'file',
46-
'level': 'debug',
47-
'format': '[%(asctime)s] %(levelname)s: %(check_info)s: %(message)s', # noqa: E501
48-
'append': False
49-
}
50-
],
51-
'handlers_perflog': [
52-
{
53-
'type': 'filelog',
54-
'prefix': '%(check_system)s/%(check_partition)s',
55-
'level': 'info',
56-
'format': (
57-
'%(check_job_completion_time)s|reframe %(version)s|'
58-
'%(check_info)s|jobid=%(check_jobid)s|'
59-
'%(check_perf_var)s=%(check_perf_value)s|'
60-
'ref=%(check_perf_ref)s '
61-
'(l=%(check_perf_lower_thres)s, '
62-
'u=%(check_perf_upper_thres)s)|'
63-
'%(check_perf_unit)s'
64-
),
65-
'append': True
66-
}
67-
]
6821
}
69-
],
22+
]
7023
}

ci-scripts/configs/spack.py

Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@
33
#
44
# SPDX-License-Identifier: BSD-3-Clause
55

6-
#
7-
# Generic fallback configuration
8-
#
9-
106
site_configuration = {
117
'systems': [
128
{
13-
'name': 'generic',
14-
'descr': 'Generic example system',
9+
'name': 'spacksys',
10+
'descr': 'Generic system using Spack',
1511
'hostnames': ['.*'],
1612
'modules_system': 'spack',
1713
'partitions': [
@@ -22,49 +18,6 @@
2218
'environs': ['builtin']
2319
}
2420
]
25-
},
26-
],
27-
'environments': [
28-
{
29-
'name': 'builtin',
30-
'cc': 'cc',
31-
'cxx': '',
32-
'ftn': ''
33-
},
34-
],
35-
'logging': [
36-
{
37-
'handlers': [
38-
{
39-
'type': 'stream',
40-
'name': 'stdout',
41-
'level': 'info',
42-
'format': '%(message)s'
43-
},
44-
{
45-
'type': 'file',
46-
'level': 'debug',
47-
'format': '[%(asctime)s] %(levelname)s: %(check_info)s: %(message)s', # noqa: E501
48-
'append': False
49-
}
50-
],
51-
'handlers_perflog': [
52-
{
53-
'type': 'filelog',
54-
'prefix': '%(check_system)s/%(check_partition)s',
55-
'level': 'info',
56-
'format': (
57-
'%(check_job_completion_time)s|reframe %(version)s|'
58-
'%(check_info)s|jobid=%(check_jobid)s|'
59-
'%(check_perf_var)s=%(check_perf_value)s|'
60-
'ref=%(check_perf_ref)s '
61-
'(l=%(check_perf_lower_thres)s, '
62-
'u=%(check_perf_upper_thres)s)|'
63-
'%(check_perf_unit)s'
64-
),
65-
'append': True
66-
}
67-
]
6821
}
69-
],
22+
]
7023
}

0 commit comments

Comments
 (0)