From fe204e955a1a0d5ebd3a7f3009a594ac259b9663 Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Sat, 15 Jul 2023 21:02:44 +0200 Subject: [PATCH] python: Remove Python 2.x from CI (#135) Building with Python 2.x fails in CI due to deprecations https://github.com/cucumber/gherkin/actions/runs/5545057411/jobs/10162291692?pr=134 ``` Run actions/setup-python@v4 Installed versions Warning: The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672 Version 2.x was not found in the local cache Error: The version '2.x' with architecture 'x64' was not found for Ubuntu 22.04. The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json ``` --- .github/workflows/test-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index c8ac79321..d8888328d 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -20,7 +20,7 @@ jobs: matrix: os: - ubuntu-latest - python-version: [ '3.x', '2.x', 'pypy-3.8', 'pypy-2.7' ] + python-version: [ '3.x', 'pypy-3.8', 'pypy-2.7' ] # DISABLED: python-version: [ '3.x', '2.x' ] # include: # - os: macos-latest