Skip to content

Commit

Permalink
Use "python -m pip" to invoke pip, because pip can't upgrade itself w…
Browse files Browse the repository at this point in the history
…hen called directly on windows-2022
  • Loading branch information
ViliusSutkus89 committed Nov 10, 2024
1 parent 59ed4f7 commit 39fc9dd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
with:
python-version: 3.12
- name: install python dependencies
run: pip install --upgrade pip conan
run: python -m pip install --upgrade pip conan

- name: conan config
run: conan config install .github/config/ubuntu-22.04/conan
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_inner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
with:
python-version: 3.12
- name: install python dependencies and setuptools (required to build GLib)
run: pip install --upgrade pip conan setuptools
run: python -m pip install --upgrade pip conan setuptools

- name: install NDK
if: startsWith(matrix.config.host_profile, 'android')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.12
- run: pip install --upgrade conan
- run: python -m pip install --upgrade conan

- run: conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan
- run: conan remote login odr admin --password ${{ secrets.ARTIFACTORY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
with:
python-version: 3.12
- name: install python dependencies
run: pip install --upgrade pip pyyaml
run: python -m pip install --upgrade pip pyyaml

- name: Get requested packages from commits and workflow_dispatch inputs
id: list-packages-without-dependents
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
with:
python-version: 3.12
- name: install python dependencies and setuptools (required to build GLib)
run: pip install --upgrade pip conan setuptools
run: python -m pip install --upgrade pip conan setuptools

- name: install NDK
run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${{ env.ndk_version }}"
Expand Down

0 comments on commit 39fc9dd

Please sign in to comment.