From 8c1f3e811615fc1b87b03aed72451d55926f45bc Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Tue, 27 Oct 2020 22:45:38 -0700 Subject: [PATCH] Use python, not py. py is a shortcut that launches the *latest* version of Python on the machine. https://stackoverflow.com/a/50896577/632035 The build machines were updated to include python 3.9, so we were doing everything with 3.9 instead of 3.8. pyproj doesn't have a binary wheel for 3.9 on pypi yet, so we were falling back to building it from source, which we aren't able to do, breaking the build. --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d0da6a6..668148fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,12 +18,12 @@ jobs: - name: Install environment run: | - py -m venv ./venv + python -m venv ./venv - name: Install dependencies run: | ./venv/scripts/activate - pip install -r requirements.txt + python -m pip install -r requirements.txt # For some reason the shiboken2.abi3.dll is not found properly, so I copy it instead Copy-Item .\venv\Lib\site-packages\shiboken2\shiboken2.abi3.dll .\venv\Lib\site-packages\PySide2\ -Force diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5fad7bff..d712a5df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,12 +20,12 @@ jobs: - name: Install environment run: | - py -m venv ./venv + python -m venv ./venv - name: Install dependencies run: | ./venv/scripts/activate - pip install -r requirements.txt + python -m pip install -r requirements.txt # For some reason the shiboken2.abi3.dll is not found properly, so I copy it instead Copy-Item .\venv\Lib\site-packages\shiboken2\shiboken2.abi3.dll .\venv\Lib\site-packages\PySide2\ -Force