From dcd0a4b6176ca2ec0fa9a0b813ce31714db5210b Mon Sep 17 00:00:00 2001 From: umarcor Date: Fri, 24 Dec 2021 13:52:30 +0100 Subject: [PATCH 1/2] Parameters: mark Python 3.6 black, update others, warn about unsupported versions --- .github/workflows/Parameters.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/Parameters.yml b/.github/workflows/Parameters.yml index f7b217d..085dc13 100644 --- a/.github/workflows/Parameters.yml +++ b/.github/workflows/Parameters.yml @@ -75,16 +75,19 @@ jobs: print("Parameters:") print(params) + versions = '${{ inputs.python_version_list }}'.split(' ') + if '3.6' in versions: + print('WARNING: support for Python 3.6 ended in 2021.12.23') data = { - '3.6': { 'icon': '🔴', 'until': '23.12.2021' }, - '3.7': { 'icon': '🟠', 'until': '27.06.2023' }, - '3.8': { 'icon': '🟡', 'until': 'Oct. 2024' }, - '3.9': { 'icon': '🟢', 'until': 'Oct. 2025' }, - '3.10': { 'icon': '🟢', 'until': 'Oct. 2026' }, + '3.6': { 'icon': '⚫', 'until': '2021.12.23' }, + '3.7': { 'icon': '🔴', 'until': '2023.06.27' }, + '3.8': { 'icon': '🟠', 'until': '2024.10' }, + '3.9': { 'icon': '🟡', 'until': '2025.10' }, + '3.10': { 'icon': '🟢', 'until': '2026.10' }, } jobs = [ {'python': version, 'icon': data[version]['icon']} - for version in '${{ inputs.python_version_list }}'.split(' ') + for version in versions ] print(f'::set-output name=python_jobs::{jobs!s}') print("Python jobs:") From 66c7b4b619465aea9f3a6337c3db2244ab608fd6 Mon Sep 17 00:00:00 2001 From: umarcor Date: Fri, 24 Dec 2021 14:11:37 +0100 Subject: [PATCH 2/2] ExamplePipeline/ArtifactCleanup: needs PublishTestResults instead of UnitTesting --- ExamplePipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExamplePipeline.yml b/ExamplePipeline.yml index 9be2d54..8e4af52 100644 --- a/ExamplePipeline.yml +++ b/ExamplePipeline.yml @@ -148,7 +148,7 @@ jobs: uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@main needs: - Params - - UnitTesting + - PublishTestResults - Coverage - StaticTypeCheck - BuildTheDocs