Skip to content

Commit bd2bb6c

Browse files
committed
Drop Qt5 support in package metadata and GHActions config
1 parent d22fce1 commit bd2bb6c

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
- "3.10"
1515
- "3.9"
1616
pyqt-dependency:
17-
- "PyQt5"
18-
- "PySide2"
17+
- "PyQt6"
18+
- "PySide6"
1919

2020
steps:
2121
- uses: "actions/checkout@v3"
@@ -36,7 +36,7 @@ jobs:
3636
# pytest-qt CI dependencies: https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#github-actions
3737
sudo apt update
3838
sudo apt install -y \
39-
xvfb \
39+
xvfb libegl1 \
4040
libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils
4141
4242
- name: "Run tests"

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ dependencies:
99
- "matplotlib ~=3.7"
1010
- "colorspacious ~=1.1"
1111
- "scipy ~=1.10"
12+
- "PySide6"
1213

1314
# Development
1415
- "mypy ~=1.3.0"

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ dependencies = [
2424
]
2525

2626
[project.optional-dependencies]
27-
PySide = ["PySide2 ~=5.15"]
28-
PyQt = ["PyQt5 ~=5.15"]
27+
# Qt6 was released 2020.08.12
28+
PySide = ["PySide6"]
29+
PyQt = ["PyQt6"]
2930

3031
[project.urls]
3132
repository = "https://github.com/matplotlib/viscm"

0 commit comments

Comments
 (0)