Skip to content

Commit

Permalink
👷 Fix broken setup workflow
Browse files Browse the repository at this point in the history
Also remove the Python 2 io import
  • Loading branch information
AndreMiras committed Sep 25, 2024
1 parent 7374d24 commit 1a8a65f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
python -m venv venv
. venv/bin/activate
pip install dist/kivy-ios-*.tar.gz
pip install dist/kivy_ios-*.tar.gz
pip install Cython==0.29.36
brew install autoconf automake libtool pkg-config
- name: Basic toolchain commands
Expand Down
3 changes: 1 addition & 2 deletions kivy_ios/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import zipfile
import tarfile
import importlib
import io
import json
import shutil
import fnmatch
Expand Down Expand Up @@ -99,7 +98,7 @@ def __init__(self, filename):
self.data = {}
if exists(filename):
try:
with io.open(filename, encoding='utf-8') as fd:
with open(filename, encoding='utf-8') as fd:
self.data = json.load(fd)
except ValueError:
logger.warning("Unable to read the state.db, content will be replaced.")
Expand Down

0 comments on commit 1a8a65f

Please sign in to comment.