Skip to content

Commit 2adbf8a

Browse files
committed
Update pipelines for PyGObject 3.51+
1 parent 871fc80 commit 2adbf8a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/python-package.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ jobs:
6060
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '2.7' }}
6161
run: |
6262
sudo apt update
63-
sudo apt install python3-dev libgirepository1.0-dev libcairo2-dev gir1.2-secret-1 gnome-keyring
63+
# girepository-2.0 becomes necessary since PyGobject 3.51 https://pygobject.gnome.org/changelog.html#pre-release
64+
sudo apt install -y python3-dev libgirepository-2.0-dev libcairo2-dev gir1.2-secret-1 gnome-keyring
65+
# The line above is different than the PyGObject install instructions:
66+
# https://pygobject.gnome.org/getting_started.html#ubuntu-logo-ubuntu-debian-logo-debian
67+
# because we chose to specify the exact dependencies (secret and keyring)
68+
# rather than using the much larger gtk.
6469
- name: Install Python dependencies
6570
run: |
6671
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)