Skip to content

Commit aa5e757

Browse files
committed
Always get a qt backend in local venv, ignoring runner site-packages
1 parent 4924232 commit aa5e757

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@ jobs:
3232
- os: macos-arm64
3333
image: macos-14
3434
exclude:
35+
# pyside2 does not publish arm64 packages
3536
- os: macos-arm64
3637
qt-version: pyside2
38+
# pyside2 requires python <3.11
3739
- python-version: "3.11"
3840
qt-version: pyside2
39-
# both pyside6 and pyqt6 require python>=3.9
41+
# pyside6 and pyqt6 require python >=3.9
4042
- python-version: "3.8"
4143
qt-version: pyside6
4244
- python-version: "3.8"
@@ -104,7 +106,7 @@ jobs:
104106
# run: poetry run mypy
105107

106108
- name: Install Qt
107-
run: poetry run pip install ${{ matrix.qt-version }}
109+
run: poetry run pip install --ignore-installed ${{ matrix.qt-version }}
108110

109111
- name: Install libxcb dependencies
110112
if: ${{ matrix.os == 'ubuntu' }}

0 commit comments

Comments
 (0)