Skip to content

Commit

Permalink
Python2 is not available anymore via setup-python
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Jul 16, 2023
1 parent 0851a10 commit 4aad902
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/test_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,3 @@ jobs:
run: docker build --tag=kivy/buildozer .
- name: Docker run
run: docker run kivy/buildozer --version

Python2:
runs-on: ubuntu-latest
steps:
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 2.7
- uses: actions/checkout@v2
- name: Try Python 2 install
run: |
# we don't want the build to fail with the exit 1 so we catch with "||"
python2 -m pip install -e . 2> error.log || echo Failing as expected
cat error.log
grep "Unsupported Python version" error.log

0 comments on commit 4aad902

Please sign in to comment.