Skip to content

[Backport main] Pin PySide<6.11 in CI#371

Merged
chennes merged 1 commit intoFreeCAD:mainfrom
chennes:pinPySideTo610OnMain
Mar 26, 2026
Merged

[Backport main] Pin PySide<6.11 in CI#371
chennes merged 1 commit intoFreeCAD:mainfrom
chennes:pinPySideTo610OnMain

Conversation

@chennes
Copy link
Copy Markdown
Member

@chennes chennes commented Mar 26, 2026

Manual backport of #369

Copilot AI review requested due to automatic review settings March 26, 2026 02:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Backports CI mitigation for Qt6 GUI test instability by pinning the PySide6 version used in the Qt6 GitHub Actions workflow (per #369, where PySide 6.11 caused segfaults).

Changes:

  • Pin PySide6 to <6.11 in the Qt6 tests workflow to avoid the known 6.11 segfault issue.
  • Modify the Qt6 CI Python version matrix (drops 3.8–3.10 and adds 3.14).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title/description indicates this change is only about pinning PySide6, but this matrix change also drops Python 3.8–3.10 and adds 3.14. If that version/coverage change is intentional, it should be called out in the PR description; otherwise consider reverting the matrix to the prior set of Python versions.

Copilot uses AI. Check for mistakes.
run: |
python -m pip install --upgrade pip
pip install pyfakefs PySide6 vermin requests || true
pip install pyfakefs "PySide6<6.11" vermin requests || true
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

|| true will cause the dependency-install step to succeed even if PySide6<6.11 fails to install, which can turn an install problem into a later, less-informative ImportError/segfault during tests. Consider removing || true (or at least failing the step when PySide6 fails) so CI fails fast with the real error.

Suggested change
pip install pyfakefs "PySide6<6.11" vermin requests || true
pip install pyfakefs "PySide6<6.11" vermin requests

Copilot uses AI. Check for mistakes.
@chennes chennes force-pushed the pinPySideTo610OnMain branch from e323e0c to 634a389 Compare March 26, 2026 02:26
@chennes chennes force-pushed the pinPySideTo610OnMain branch from 634a389 to 6a08921 Compare March 26, 2026 02:28
@chennes chennes merged commit 1183334 into FreeCAD:main Mar 26, 2026
8 checks passed
@chennes chennes deleted the pinPySideTo610OnMain branch March 26, 2026 02:41
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.

2 participants