Skip to content

chore: Change default Qt versions from 5 to 6#1412

Merged
Czaki merged 1 commit into
developfrom
change_defaults
Jun 9, 2026
Merged

chore: Change default Qt versions from 5 to 6#1412
Czaki merged 1 commit into
developfrom
change_defaults

Conversation

@Czaki

@Czaki Czaki commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Change default Qt binding to PyQt6. change pyqt extras to point PyQt6 instead of PyQt6. Change pyside extra to point PySide6 instead of PySide2

Summary by CodeRabbit

  • Chores
    • Updated optional Qt backend dependencies to newer versions
    • PyQt backend now targets PyQt6 instead of PyQt5
    • PySide backend now targets PySide6 instead of PySide2
    • Accelerate extra now includes PyQt6 backend support

Change default Qt binding to PyQt6. change `pyqt` extras to point PyQt6 instead of PyQt6. Change `pyside` extra to point `PySide6` instead of `PySide2`
@Czaki Czaki added this to the 0.17.0 milestone Jun 9, 2026
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 0a9ca8f3-2c48-4e8e-9173-a3f905c8b2b6

📥 Commits

Reviewing files that changed from the base of the PR and between 1ac2cb2 and ba4bd3f.

📒 Files selected for processing (1)
  • pyproject.toml

📝 Walkthrough

Walkthrough

This PR updates pyproject.toml to upgrade Qt backend targets across optional dependency extras. The accelerate extra now references the generic pyqt target, while pyqt and pyside extras now target pyqt6 and pyside6 respectively, moving away from their pyqt5 and pyside2 predecessors.

Changes

Qt Backend Dependency Updates

Layer / File(s) Summary
Qt backend extra targets
pyproject.toml
The accelerate, pyqt, and pyside optional dependency extras are updated to reference newer Qt backend versions: pyqt6 instead of pyqt5, pyside6 instead of pyside2, and accelerate now includes the generic pyqt target rather than pyqt5.

Possibly related PRs

  • 4DNucleome/PartSeg#1374: Both PRs modify pyproject.toml Qt backend optional-dependency groups—this PR switches the PySide and PyQt extras to newer pyside6/pyqt6 targets, while the retrieved PR adjusts the pyside2 backend constraints (e.g., superqt<0.8.0).

Suggested labels

skip check PR title

Poem

🐰 The backends hop along in time,
From five and two to six so fine,
Qt targets dance to modern rhyme,
Dependencies now align!

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: updating default Qt versions from version 5 to version 6 in dependency extras.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch change_defaults

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

sonarqubecloud Bot commented Jun 9, 2026

Copy link
Copy Markdown

@Czaki Czaki changed the title breaking: Change default Qt versions from 5 to 6 chore: Change default Qt versions from 5 to 6 Jun 9, 2026
@Czaki

Czaki commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@Czaki Czaki merged commit 5de0c2d into develop Jun 9, 2026
67 of 68 checks passed
@Czaki Czaki deleted the change_defaults branch June 9, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant