Skip to content

Commit

Permalink
Add extra libxcb package required by the newest PySide6 versions (#1741)
Browse files Browse the repository at this point in the history
This PR adds `libxcb-image0` to the list of packages that are `apt-get`
installed in the various GitHub Actions workflows. The `libxcb-image0`
package is needed for the latest PySide6 versions.

EDIT: Updated to also address failures due to the qt4 / qt switch in
Pyface.

Closes #1742.
  • Loading branch information
mdickinson committed Apr 17, 2023
1 parent 4ab75a3 commit 846487d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/run-traits-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
- pull_request
- workflow_dispatch

env:
# Temporary workaround prior to release of Traits 8.0
# xref: enthought/traits#1742
ETS_QT4_IMPORTS: 1

jobs:
tests:
strategy:
Expand All @@ -20,6 +25,7 @@ jobs:
sudo apt-get update
sudo apt-get install libegl1
sudo apt-get install libxkbcommon-x11-0
sudo apt-get install libxcb-cursor0
sudo apt-get install libxcb-icccm4
sudo apt-get install libxcb-image0
sudo apt-get install libxcb-keysyms1
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/test-from-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
# Run at 03:27 UTC on the 8th and 22nd of every month
- cron: '27 3 8,22 * *'

env:
# Temporary workaround prior to release of Traits 8.0
# xref: enthought/traits#1742
ETS_QT4_IMPORTS: 1

jobs:
test-pypi-sdist:
strategy:
Expand All @@ -27,6 +32,7 @@ jobs:
sudo apt-get update
sudo apt-get install libegl1
sudo apt-get install libxkbcommon-x11-0
sudo apt-get install libxcb-cursor0
sudo apt-get install libxcb-icccm4
sudo apt-get install libxcb-image0
sudo apt-get install libxcb-keysyms1
Expand Down Expand Up @@ -77,6 +83,7 @@ jobs:
sudo apt-get update
sudo apt-get install libegl1
sudo apt-get install libxkbcommon-x11-0
sudo apt-get install libxcb-cursor0
sudo apt-get install libxcb-icccm4
sudo apt-get install libxcb-image0
sudo apt-get install libxcb-keysyms1
Expand Down

0 comments on commit 846487d

Please sign in to comment.