From 9c732d150aa81cbcf3762828b871e54a1580facc Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Thu, 1 Jun 2023 19:20:29 +0200 Subject: [PATCH 1/3] stop running easyconfig unit tests with Python 2.7 (and test with Python 3.11 instead) --- .github/workflows/unit_tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index d71a03ca5b9d..f4967ef237cd 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python: [2.7, 3.6] + python: [3.6, '3.11'] modules_tool: [Lmod-7.8.22, Lmod-8.6.8] module_syntax: [Lua, Tcl] - # exclude some configurations: only test Tcl module syntax with Lmod 8.x and Python 2.7 & 3.6 + # exclude some configurations: only test Tcl module syntax with Lmod 8.x and Python 3.6 exclude: - modules_tool: Lmod-7.8.22 module_syntax: Tcl @@ -159,7 +159,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python: [2.7, 3.6, 3.7] + python: [3.6, '3.11'] steps: - uses: actions/checkout@v2 From 3c35a7c956db60b61d84c9263dfb899ae3536f3b Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Thu, 1 Jun 2023 19:23:29 +0200 Subject: [PATCH 2/3] use v4 of actions/setup-python --- .github/workflows/unit_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index f4967ef237cd..70fa59336611 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -34,7 +34,7 @@ jobs: key: eb-sourcepath - name: set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{matrix.python}} architecture: x64 @@ -164,7 +164,7 @@ jobs: - uses: actions/checkout@v2 - name: set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{matrix.python}} From e7176b18a297e8fd6e19102dc8327196323b74fe Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Thu, 1 Jun 2023 19:45:41 +0200 Subject: [PATCH 3/3] only run easyconfigs test suite with Python 3.6 for now, since 'python setup.py sdist' doesn't fully work with Python 3.11 (probably due to a recent setuptools version) --- .github/workflows/unit_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 70fa59336611..d36d0a6398ee 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python: [3.6, '3.11'] + python: [3.6] modules_tool: [Lmod-7.8.22, Lmod-8.6.8] module_syntax: [Lua, Tcl] # exclude some configurations: only test Tcl module syntax with Lmod 8.x and Python 3.6 @@ -159,7 +159,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python: [3.6, '3.11'] + python: [3.6] steps: - uses: actions/checkout@v2