diff --git a/.github/workflows/python-deps.yml b/.github/workflows/python-deps.yml index 3c616cf675..28efa81053 100644 --- a/.github/workflows/python-deps.yml +++ b/.github/workflows/python-deps.yml @@ -18,6 +18,11 @@ jobs: os: [ubuntu-latest, macos-latest] python_deps_type: [pipenv, poetry, requirements, setup_py] python_version: [2, 3] + exclude: + # Python2 and poetry are not supported. See https://github.com/actions/setup-python/issues/374 + - python_version: 2 + python_deps_type: poetry + env: PYTHON_DEPS_TYPE: ${{ matrix.python_deps_type }} @@ -115,6 +120,10 @@ jobs: matrix: python_deps_type: [pipenv, poetry, requirements, setup_py] python_version: [2, 3] + exclude: + # Python2 and poetry are not supported. See https://github.com/actions/setup-python/issues/374 + - python_version: 2 + python_deps_type: poetry env: PYTHON_DEPS_TYPE: ${{ matrix.python_deps_type }} diff --git a/CHANGELOG.md b/CHANGELOG.md index b6c93d3baf..4af60e5709 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [UNRELEASED] - CodeQL query packs listed in the `packs` configuration field will be skipped if their target language is not being analyzed in the current Actions job. Previously, this would throw an error. [#1116](https://github.com/github/codeql-action/pull/1116) +- The combination of python2 and poetry is no longer supported. See https://github.com/actions/setup-python/issues/374 for more details. [#1124](https://github.com/github/codeql-action/pull/1124) ## 2.1.14 - 22 Jun 2022