Skip to content

Commit d7019fc

Browse files
Add complete set of dependencies for PyGObject build
Include gobject-introspection and libglib2.0-dev packages required for pycairo and PyGObject to build successfully in CI. Applied to both pylint and license_scanner workflows.
1 parent f074eca commit d7019fc

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/license_scanner.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
sudo apt-get update -y
25-
sudo apt-get install -y libgirepository1.0-dev
25+
sudo apt-get install -y \
26+
libgirepository1.0-dev \
27+
libcairo2-dev \
28+
pkg-config \
29+
python3-dev \
30+
libffi-dev \
31+
gobject-introspection \
32+
libglib2.0-dev
2633
python -m pip install --upgrade pip
2734
pip install license_scanner
2835
pip install -e tower-lib

.github/workflows/pylint.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
sudo apt-get update -y
25-
sudo apt-get install -y libgirepository1.0-dev libcairo2-dev pkg-config python3-dev libffi-dev
25+
sudo apt-get install -y \
26+
libgirepository1.0-dev \
27+
libcairo2-dev \
28+
pkg-config \
29+
python3-dev \
30+
libffi-dev \
31+
gobject-introspection \
32+
libglib2.0-dev
2633
python -m pip install --upgrade pip
2734
pip install pylint
2835
pip install pylint-sarif-unofficial

0 commit comments

Comments
 (0)