diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2938ea0..48e2e01 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9] + python-version: ["3.8", "3.9", "3.10"] steps: - name: Checkout Instaloader Repository uses: actions/checkout@v2 diff --git a/.github/workflows/windows_exe.yml b/.github/workflows/windows_exe.yml index 33028fb..9533022 100644 --- a/.github/workflows/windows_exe.yml +++ b/.github/workflows/windows_exe.yml @@ -10,9 +10,9 @@ jobs: - name: Checkout Instaloader repository uses: actions/checkout@v2 - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: "3.9" architecture: x64 - name: Get the tagged version id: get_version diff --git a/deploy/windows/create_exe.py b/deploy/windows/create_exe.py index 002ca10..1766582 100644 --- a/deploy/windows/create_exe.py +++ b/deploy/windows/create_exe.py @@ -45,7 +45,7 @@ with open('__main__.py', 'w+') as f: # install dependencies and invoke PyInstaller commands = ["pip install pipenv==2020.11.15", - "pipenv sync --dev", + f"pipenv --python {sys.version_info.major}.{sys.version_info.minor} sync --dev", "pipenv run pyinstaller --log-level=DEBUG instaloader.spec"] for command in commands: