Skip to content

Pin PySide to 6.10 for now#369

Merged
chennes merged 1 commit intoFreeCAD:devfrom
chennes:pinPySideTo610
Mar 26, 2026
Merged

Pin PySide to 6.10 for now#369
chennes merged 1 commit intoFreeCAD:devfrom
chennes:pinPySideTo610

Conversation

@chennes
Copy link
Copy Markdown
Member

@chennes chennes commented Mar 26, 2026

6.11 was causing the GUI tests to segfault

6.11 was causing the GUI tests to segfault
Copilot AI review requested due to automatic review settings March 26, 2026 00:02
@chennes chennes merged commit 58c9959 into FreeCAD:dev Mar 26, 2026
10 checks passed
@chennes chennes deleted the pinPySideTo610 branch March 26, 2026 00:04
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

Updates the Qt6 GitHub Actions workflow to constrain the PySide6 version used in CI, aiming to avoid segfaults seen with PySide 6.11 during GUI testing.

Changes:

  • Pin PySide6 to <6.11 in the Qt6 tests workflow dependency install step.

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

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.

The PR title/description says to pin PySide to 6.10, but the constraint PySide6<6.11 is only an upper bound and could allow older majors/minors if 6.10 wheels aren’t available for a given Python version. If the intent is specifically 6.10.x, consider using a tighter specifier (e.g., PySide6>=6.10,<6.11 or PySide6~=6.10.0) so the workflow can’t silently downgrade.

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 mask dependency installation failures (including PySide6 resolution issues), which can lead to later, harder-to-diagnose test failures and false confidence in CI. It’s safer to let the step fail on pip install errors, or handle the failure explicitly (e.g., conditionally skip GUI tests when PySide6 can’t be installed for a given matrix entry).

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 added the release to main Trigger an Action to create a PR backporting to `main` label Mar 26, 2026
@github-actions
Copy link
Copy Markdown

Git push to origin failed for main with exitcode 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release to main Trigger an Action to create a PR backporting to `main`

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants