Skip to content

Commit cef1066

Browse files
committed
ci(tests): Fix Tk dependency regression in python 3.14x
1 parent ee76a8f commit cef1066

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/pytest.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ jobs:
5353
- name: Install system dependencies for GUI testing
5454
run: |
5555
sudo apt-get update
56-
sudo apt-get install -y python3-tk scrot xdotool x11-utils gnome-screenshot
56+
sudo apt-get install -y python3-tk scrot xdotool x11-utils gnome-screenshot tcl8.6 tk8.6 libtcl8.6 libtk8.6
57+
58+
- name: Ensure Tcl/Tk search paths
59+
run: |
60+
echo "TCL_LIBRARY=/usr/share/tcltk/tcl8.6" >> $GITHUB_ENV
61+
echo "TK_LIBRARY=/usr/share/tcltk/tk8.6" >> $GITHUB_ENV
5762
5863
- name: Install dependencies and application
5964
# without --editable, the coverage report is not generated correctly

0 commit comments

Comments
 (0)