Skip to content

Commit

Permalink
python: Remove Python 2.x from CI (#135)
Browse files Browse the repository at this point in the history
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: actions/setup-python#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
```
  • Loading branch information
mpkorstanje authored Jul 15, 2023
1 parent 1b9d38c commit fe204e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe204e9

Please sign in to comment.