From 0c18ccd73013457637c6741777d3539c6d45b778 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Thu, 10 Nov 2022 07:40:52 +0100 Subject: [PATCH] ci: enable py311 & bump `poetry` Signed-off-by: Jan Kowalleck --- .github/workflows/docker.yml | 2 +- .github/workflows/manual-release-candidate.yml | 2 +- .github/workflows/python.yml | 13 +++++++++---- .github/workflows/release.yml | 2 +- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index bcbe6b69..70605b10 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -12,7 +12,7 @@ on: env: REPORTS_DIR: CI_reports PYTHON_VERISON: "3.10" - POETRY_VERSION: "1.1.11" + POETRY_VERSION: "1.1.15" jobs: test: diff --git a/.github/workflows/manual-release-candidate.yml b/.github/workflows/manual-release-candidate.yml index 3d38b1d1..bf9dca22 100644 --- a/.github/workflows/manual-release-candidate.yml +++ b/.github/workflows/manual-release-candidate.yml @@ -13,7 +13,7 @@ env: DIST_DIR: dist DIST_ARTIFACT: python-dist PYTHON_VERISON: "3.10" - POETRY_VERSION: "1.1.11" + POETRY_VERSION: "1.1.15" jobs: release_candidate: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 9806cffe..9a4509fe 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -29,8 +29,8 @@ on: env: REPORTS_DIR: CI_reports - PYTHON_VERISON_DEFAULT: "3.10" - POETRY_VERSION: "1.1.11" + PYTHON_VERISON_DEFAULT: "3.11" + POETRY_VERSION: "1.1.15" jobs: coding-standards: @@ -66,7 +66,7 @@ jobs: matrix: include: - # test with the locked dependencies - python-version: '3.10' + python-version: '3.11' toxenv-factor: 'locked' - # test with the lowest dependencies python-version: '3.6' @@ -102,7 +102,8 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] python-version: - - "3.10" # highest supported + - "3.11" # highest supported + - "3.10" - "3.9" - "3.8" - "3.7" @@ -113,6 +114,10 @@ jobs: os: 'ubuntu-latest' python-version: '3.6' toxenv-factor: 'lowest' + exclude: + - # broken poetry installer - see https://github.com/CycloneDX/cyclonedx-python/actions/runs/3435061093/jobs/5727124247#step:6:15 + os: 'macos-latest' + python-version: '3.11' steps: - name: Checkout # see https://github.com/actions/checkout diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a08a3918..558076ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ env: DIST_DIR: dist DIST_ARTIFACT: python-dist PYTHON_VERISON: "3.10" - POETRY_VERSION: "1.1.11" + POETRY_VERSION: "1.1.15" jobs: release-PyPI: