Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added PySide6 Support (squash) #394

Merged
merged 39 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
80dc006
Added PySide6 Support
zoshua Feb 22, 2024
822cac0
Merge branch 'mottosso:master' into squash
zoshua Feb 26, 2024
a25cc94
Create pyside6.yml
zoshua Feb 28, 2024
55889ed
Updated pyside6.yml
zoshua Feb 29, 2024
47ac768
Update pyside6.yml
zoshua Feb 29, 2024
f993695
Update entrypoint.sh
zoshua Feb 29, 2024
5209c24
Update pyside6.yml
zoshua Feb 29, 2024
39c28dd
Update entrypoint.sh
zoshua Feb 29, 2024
c0d64e0
Update entrypoint.sh
zoshua Feb 29, 2024
d855ccf
Update entrypoint.sh
zoshua Feb 29, 2024
e23780c
Update entrypoint.sh - rolling back changes
zoshua Mar 1, 2024
f9b4ca1
Update pyside6.yml - run tests directly
zoshua Mar 1, 2024
6d6f955
Update pyside6.yml - Testing examples step
zoshua Mar 1, 2024
158651d
Update pyside6.yml - Testing Example PYTHONPATH
zoshua Mar 1, 2024
392f0cd
Update run_tests.py - added with binding PySide6
zoshua Mar 1, 2024
4e1fd21
Update pyside6.yml - added step Pip install .
zoshua Mar 1, 2024
606010c
Update run_tests.py - rolling back last commit
zoshua Mar 1, 2024
5083eb9
Update pyside6.yml - changed step Testing implementation..
zoshua Mar 1, 2024
a31ea4a
Update pyside6.yml - updated jobs/env
zoshua Mar 1, 2024
da81b09
Merge branch 'mottosso:master' into squash
zoshua Mar 22, 2024
3105351
Major overhaul to:
zoshua Apr 1, 2024
a3dffae
Updated _misplaced_members PySide6 and PySide2
zoshua Apr 5, 2024
f8e4124
Reverting _misplaced_members QStringListModel as a test
zoshua Apr 5, 2024
55a9c7b
Reverting binding("PySide2") QStringListModel as a test
zoshua Apr 5, 2024
0cea915
Updated _common_members for PySide2
zoshua Apr 5, 2024
7ca0224
Updated _common_members for test_caveats.py
zoshua Apr 5, 2024
af8af75
Update pyside6.yml - added Install EGL mesa step
zoshua Apr 5, 2024
73a6ba4
Update pyside6.yml - Added Install GUI Libs step, Removed Install EGL…
zoshua Apr 5, 2024
42395b6
Update pyside6.yml - Reverting back to Install EGL Mesa step, adding …
zoshua Apr 5, 2024
5493aa0
Update pyside6.yml - Updated Install GUI libs step
zoshua Apr 5, 2024
93ab974
Update pyside6.yml - Testing QT_QPA_PLATFORM=minimal env variable
zoshua Apr 5, 2024
7351971
Update pyside6.yml - Added QT_VERBOSE=1 env variable
zoshua Apr 5, 2024
d65eaf9
Updated _misplaced_members PySide6
zoshua Apr 6, 2024
fed4836
Updated test_vendoring() to include PySide6 in QT_PREFERRED_BINDING_J…
zoshua Apr 6, 2024
c4b202d
Updated pyside6.yml - Testing examples..
zoshua Apr 6, 2024
e6edaa8
Added PySide6 to QT_PREFERRED_BINDING
zoshua Apr 6, 2024
3967fe4
added PySide6 to update_misplaced_members() and update_compatibility_…
zoshua Apr 6, 2024
66e379b
Update pyside6.yml - Testing examples.. Step
zoshua Apr 7, 2024
25e117d
updated _compatibility_members - added QFont.setWeight, Qt.MidButton
zoshua May 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/pyside6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Run PySide6 Tests

on:
push:
branches:
- "*"
pull_request:
branches:
- "*"

jobs:
test:
runs-on: ubuntu-22.04

env:
QT_PREFERRED_BINDING: PySide6
QT_QPA_PLATFORM: minimal
QT_VERBOSE: 1
PYTHONPATH: "${{ github.workspace }}"

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install EGL mesa
run: |
sudo apt-get update -y -qq
sudo apt-get install -y -qq libegl1-mesa libegl1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev

- name: Install GUI libs
run: |
sudo apt-get install -y -qq libxcb-xinerama0
sudo apt-get install -y -qq libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xfixes0 libxcb-cursor0

- name: Pip install .
run: |
python3.10 -m pip install .

- name: Pip install PySide6 and dependencies
run: |
python3.10 -m pip install PySide6 nose2 nosepipe six packaging setuptools wheel

- name: Testing implementation..
run: |
python3.10 -m nose2 --verbose tests

- name: Building caveats..
run: |
python3.10 -u build_caveats.py

- name: Testing caveats..
run: |
python3.10 -m nose2 --verbose test_caveats

- name: Testing examples..
run: |
python3.10 -m nose2 --verbose examples.loadUi.baseinstance1
python3.10 -m nose2 --verbose examples.QtSiteConfig.main
Loading