Skip to content

Commit 69255d8

Browse files
authored
chore: Limit superqt version bellow 0.8.0 when install pyside2 as qt backend (#1374)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Tightened optional dependency constraints for the PySide2 extras by adding an upper bound on the SuperQt package to improve compatibility and prevent incompatible versions. * No other dependency groups or core requirements were changed. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 0331e67 commit 69255d8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ pyside = [
134134
pyside2 = [
135135
"PySide2!=5.15.0,>=5.12.3",
136136
"napari[pyside]<0.7.0",
137+
"superqt<0.8.0", # superqt 0.8+ uses type annotations which are not supported in pyside2, so we need to use older version
137138
]
138139
pyside6 = [
139140
"PySide6",

0 commit comments

Comments
 (0)