18 Commits

Author SHA1 Message Date
Nyall Dawson
02cbea36a8 pyqt5 to 6: rename exec_ to exec
This is compatible with both qt5 and qt 6
2024-01-22 05:46:15 +10:00
Nyall Dawson
753b96ea97 More flake fixes 2024-01-19 19:44:48 +10:00
Nyall Dawson
62e4918290 Ignore some flake warnings 2024-01-19 19:44:48 +10:00
Nyall Dawson
08e2f1e77e Correctly handle name clashes between enum keys and namespaced classes 2024-01-19 19:44:48 +10:00
Nyall Dawson
e87f789821 Handle ambiguous monkey patched enum unscoping 2024-01-19 19:44:48 +10:00
Nyall Dawson
bf77b1359c Handle replacement of monkey patched PyQGIS enums 2024-01-19 19:44:48 +10:00
Nyall Dawson
d21727203b Check that enum values actually exist before replacing 2024-01-19 19:44:48 +10:00
Nyall Dawson
5012d7de4b Never try to process auto_additions folder 2024-01-19 19:44:48 +10:00
Nyall Dawson
b9b8fa9a6e Put some logic in place to handle some ambiguous enum values 2024-01-19 19:44:48 +10:00
Nyall Dawson
e6f1fda10c Don't try to upgrade ambiguous enums 2024-01-19 19:44:48 +10:00
Nyall Dawson
0ddff200c3 Scope PyQGIS enums too 2024-01-19 19:44:48 +10:00
Nyall Dawson
88eb9779e9 Flip logic in pyqt5_to_pyqt6 so that by default we only apply qgis3
compatible changes
2024-01-19 19:44:48 +10:00
Nyall Dawson
0f28531aa6 Better approach to upgrading enum flags 2024-01-19 19:44:48 +10:00
Nyall Dawson
f7d0603240 Flake 2024-01-19 19:44:48 +10:00
Nyall Dawson
9fab1623a3 Update deprecated removed enum value 2024-01-19 19:44:48 +10:00
Nyall Dawson
4fc5138a28 Upgrade some enum members which are invisible to python introspection 2024-01-19 19:44:48 +10:00
Nyall Dawson
23df946386 Handle QSci enums in pyqt5 to qt6 2024-01-19 19:44:48 +10:00
Julien Cabieces
8e19402bc5 s/3to4/pyqt5_to_pyqt6 2024-01-10 21:15:27 +10:00