Qt for Python Development Notes: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
 
(132 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Category:Qt for Python]]
[[Category:Qt for Python]]


==2024==
==2025==


===23. May 2024===
=== 6. March 2025 ===
* General
* Infra & Releases
* Bugs & Features


===16. May 2024===
* General
* General
** Jaime's internal presentation will be next Monday at 11am
** QtCS registration is up.
** Discussion on IPC options for Qt developers.
* Infra & Releases
* Infra & Releases
** 5.15.17 commercial lts needs to be re-packaged one more time due to 3rd party components updates.
** 6.9 Qt for Python FF happening next week.
** 6.7.1 release will also be re-packed. LE for release is 20th of May
** Windows on ARM deployment test failing.
* Bugs & Features
* Bugs & Features
** [https://bugreports.qt.io/browse/PYSIDE-2753 PYSIDE-2753] - Added missing libQt6DeclarativeOpcUa binary to wheels
** Remote object contributions are going well, and we might merge them for 6.9
** [https://bugreports.qt.io/browse/PYSIDE-2750 PYSIDE-2750] - Added missing libQt6VirtualKeyboardSettings binary to wheels
** Binary size reduction research continued, but it seems we have reached the reduction we can, without touching the C++ side of our bindings.
** Exclude .qsb, .webp, .cpp.o and .qen from deployment due to Nuitka error. Error report raised in Nuitka - https://github.com/Nuitka/Nuitka/issues/2854
** PYSIDE-3012 Type hints issues were addressed (typing.Sequence -> typing.Collection) even if it is a simple change in theory, to change it internally and for our generation it took a lot of time.
** Working on macOS cross compilation. The clang parser of shiboken generator needs some changes for cross compilation. Tricky changes incoming.
*** Removing object-inheritance in the pyi files
** [https://bugreports.qt.io/browse/PYSIDE-2748 PYSIDE-2748] - Fixed a type hint error
*** White-space around equal operators issue (default parameters)
** [https://bugreports.qt.io/browse/PYSIDE-2747 PYSIDE-2747] - Diagnostics and minor fixes for a crash on Fedora, no real fix though
** Update Widget Gallery example
** [https://bugreports.qt.io/browse/PYSIDE-2711 PYSIDE-2711] - Fixed a bug in QWidget/QObject.parent()
** Changed to adapt std::chrono patches in shiboken (identify overloads and choose the better option)
** Work on type discovery in libshiboken, added helpers to dump internal state, performance considerations
** Cleaning up some  bug reports, metamethod connection issue fixed.
** [https://bugreports.qt.io/browse/PYSIDE-2620 PYSIDE-2620] - Adapting to 6.8
** Addressing some coverity issues for Designer
** [https://bugreports.qt.io/browse/PYSIDE-2745 PYSIDE-2745] - Fixed a bug with exceptions in 0-delay singleShot timer slots
** Started 6.10 adaption.
** [https://bugreports.qt.io/browse/PYSIDE-2404 PYSIDE-2404] Lazy Loading completed by supporting subtypes. This gives 8-9% more performance.
** QML Next works continues.
 
** Changes in the build system scripts are still in progress, some stuff is broken when used, but it's going in a good direction.
===2. May 2024===
** Finalizing the pyside6-project changes to adapt the pyproject.toml changes.
** Addressing new found QtCreator issues with the pyproject.toml compatibility.


=== 27. February 2025 ===
* General
* General
** OKR reviews for the next quarter.
** Windows on ARM improving
** Got a long document with feedback of a few tools we provided, that will help us improving our tooling!
** Started the planning of moving away from '<file>.pyproject' to 'pyproject.toml' for pyside projects, in order to add options for our tools.
* Infra & Releases
** 5.15.17 commercial lts needs to be re-packaged due to 3rd party components updates.
** 6.7.1 to be released next week.
** Add new mechanism to test snapshot wheels.
* Bugs & Features
* Bugs & Features
** [https://bugreports.qt.io/browse/PYSIDE-2698 PYSIDE-2698] - ListProperty features fixed. Added tests to check all the features.
** PYSIDE-2701 Size reduction, investigating removing redundant overloads
** [https://bugreports.qt.io/browse/PYSIDE-2705 PYSIDE-2705] - issues with signal disconnect warnings fixed
** PYSIDE-2701 Size reduction, trying wrapper folding, needs massive reordering
** macOS cross compilation for Android - stuck on a CMake issue. Progressing well.
** PYSIDE-3012 replacement of typing.Sequence by collections.abc.Sequence
** [https://bugreports.qt.io/browse/PYSIDE-2709 PYSIDE-2709] - Analysis ongoing for this QML registration regression
*** Identified incompatibility with Python < 3.9.8 and Python < 3.10.1, fixed by small patch
** Work on improving/documenting type discovery in shiboken
*** First change finally done, needs series of further changes
** Enumeration support in QtScrypt
** 6.10 adaption continues
** [https://bugreports.qt.io/browse/PYSIDE-2676 PYSIDE-2676] - PEP 697 extension in Python 3.12 fixed
** PYSIDE 2942 Slot type annotation fix
** BT bug research, cannot be reproduced and application doesn't hang. Connection is not successful.
** QTBUG-132266 Checked the code on macOS that the user uploaded, no issues were found related to PySide or macOS.
*** Issue might require special hw
** Documenting QtAsyncio implementation details.
*** An internal presentation is being prepared.
** Possible QtAsyncio feature, 'run' supporting context managers.
** macOS cross compilation for android being tried


 
=== 20. February 2025 ===
===25. April 2024===
* General
* General
** Successful talk at PyCon DE. Good response.
** QtWS possible participation
** QtCS has a priority of bringing more external contributors
* Infra & Releases
* Infra & Releases
** Preparing 6.7.1
** 6.9 RC February 28th (maybe postponed)
** 5.15.17 Commercial LTS is also soon to be prepared
** Windows on ARM test cases failing due to mypy fast cache (requires rust toolchain, that's currently missing from the CI). static libclang doesn't work on ARM builds (but does in x86_64).
** sccache seems to be not properly behaving (on windows) because we are not getting enough output.
** RTA trials continue, possibility to use qtpip
** PySide6_DS wheel to be adjusted and hopefully be released soon.
* Bugs & Features
* Bugs & Features
** Added a number of new classes
** PYSIDE-2701 Size reduction for virtual functions patch was merged
** PYSIDE-2676 issues on ubuntu (might be related to a windows issue as well)
** PYSIDE-3002 painted virtual functions solved (even though we had our own opinion about performance)
** Implementation of Lazy Groups in order to avoid the regression in 6.7.0 due to multiple inheritance.
** 3020 SignalInstance disconnect issue fixed
** Alternative for Lazy Groups (Fix for the regression on 6.7.0)
** Templates/snippets cleanup in the typesystem.
*** Work on regressions introduced by lazy initialization [https://bugreports.qt.io/browse/PYSIDE-2675 PYSIDE-2675]
** 6.10 adaption continues
** Work on a crash in Python 3.12 [https://bugreports.qt.io/browse/PYSIDE-2676 PYSIDE-2676]
** QtCreator toml changes:
** Fixed memory leaks [https://bugreports.qt.io/browse/PYSIDE-1617 PYSIDE-1617]
*** psyide6-project adaption to the latest changed related
** Work on our QML list property support [https://bugreports.qt.io/browse/PYSIDE-2698 PYSIDE-2698]
** QtDS changes postponed (to be available in QtDS 4.8)
** Added pyside6-balsamui (ui tool for pyside6-balsam) - PYSIDE-2629
** PYSIDE-3017 QSerialBus overload order issue was fixed
** Also checking out List Property error with `count` and `at` parameters - [https://bugreports.qt.io/browse/PYSIDE-2698 PYSIDE-2698]
** PYSIDE-3012 Still addressing issues (CI currently failing)
** Updating old example (calqlatr) - https://codereview.qt-project.org/c/pyside/pyside-setup/+/523055 for responsive layout
** qtqa improving  the wheel testing process.
** QtAsyncio: refinements to the current implementation, and solved a bug report.
** Brainstorming a better approach for QML Next
*** Trying to add support to Keyboard interruptions (handlers)  
** Finishing the folding patches, they don't make a lot of sense at the moment due to previous changes (being added into shiboken)
*** Plan to improve exceptions handling


===18. April 2024===
* General
** Bug fixing week
** PyConDE (Mon-Wed next week)
** Planning a workshop for TQtC solution engineers (internal)
** Possibility to include shiboken into the Axivion infra
* Infra & Releases
** 5.15.17 commercial LTS was postponed to Friday. Still need test on Windows.
** 6.5.6 release planned
** 6.7.1 release has been postponed to the first week of May
** DS-compatibility wheel postponed due to CI issues
** We might need to create a testing platform in order to check other errors that are not detectable with simple tests.
* Bugs & Features
** Few new type hints issues from 6.7.0 release, needs to be address on 6.7.1
** QtAsyncio issue related to Task groups. Tricky, because it can be related to Qt Events.
** PYSIDE-2629 Adding more Qt-tools to the wheels
** PYSIDE-2622 Adding a new option to the deploy tool (exposing an option from Nuitka)
** PYSIDE-2675 Lazy loading issues with trees of polymorphic classes.
*** first approach made things less effective
*** The impact of the solution was reduced a bit, by disabling the feature for special multiple-inheritance cases
*** New idea on 'groups' that be handled differently, so we have group or classes grouped and dependant
** 825 qml bug is still around
*** PYSIDE-2676 seems to be a new approach to fix it
** A few customer bugs made it the bug fixing week.
** PYSIDE-2675 type discovery code, class inheritance
** QtAudio -> QAudio refactory
** Virtual function compatibility to modify the signature (from typesystem)
** PYSIDE-2492 uic issues for Enum compatibility
*** More improvements for Python projects (import options)
** PYSIDE-2685 nan type definition
** Removing code from shiboken
** 6.8 Adaption already started
** PYSIDE-2689 sphinx directives doesn't seems to be compatible with the search context.
===11. April 2024===
* General
** Bug fixing week.
** Qt 6.6.3 Library split broke our release, so we provided 6.6.3.1 as a fix.
** Qt 6.7.0 also had an issue with a binary incompatibility change on QtAudio and QAudio
** Maybe we implement a simple channel of communicating this details, in order to avoid breakage [maybe architect meetings]
** Qt Creator 13 creates venvs automatically. This needs to be revisited to avoid multiple environments to be created.
** New epics with brainstorming ideas.
* Infra & Releases
** 6.7.0 was released, we found a couple of issues we are trying to solve, and 6.7.1 will soon be released due to a binary compatibility break, and other small breakage.
**  5.15.17 commercial LTS to be release next week.
** QtDS packages a bit delay due to CI errors.
** Qt Installer (Maintenance tool) has  still some issues with the structure.
* Bugs & Features
** Adding new Qt tools to the wheels (wrappers)
** PYSIDE-2602 special virtual function research
** PYSIDE-2669 designer issue
** PYSIDE-2675 Addressing the lazy import issues that were found in 6.7.0
*** Studying the possible solution, but it needs to consider other cases as well.
*** the *-import handling seems to be related, and affecting the mro content, duplicating some entries.
*** the type discovery handler might be related as well
** Still working on the qml 825 bug issues.


===4. April 2024===
=== 13. February 2025 ===
* General
* General
** Large part of the team at conferences/on Easter holiday
** Did you know Shiboken translates into "Death Sword"? 死某剣
** QtCS happening after QtWS in Munich in early May.
** Qt Design Studio integration (internal presentation) with Python to be prepared.
* Infra & Releases
* Infra & Releases
** Released 6.6.3.1 release with fixes for Quick Controls/Multimedia
** Windows on ARM research continues.
** Preparing for 6.7.0
** QtDS wheels to be updated for the new release
** 6.9.0 RC by the end of the February.
** RTA testing initiative to be restart
** Evaluating scikit-core-build for replacing build_scripts/
* Bugs & Features
* Bugs & Features
** [https://bugreports.qt.io/browse/PYSIDE-2646 PYSIDE-2646] Improved cleanup of signal manager objects
** Flatpak issue was solved (cleanup)
** [https://bugreports.qt.io/browse/PYSIDE-2662 PYSIDE-2662] Fix for a signal in OpcUA
** Brainstorming ideas for QML Next (preparing internal presentation)
** [https://bugreports.qt.io/browse/PYSIDE-2663 PYSIDE-2663] Fixed a crash in webengine bindings
** Android wheel names to be adapted https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#android
** [https://bugreports.qt.io/browse/PYSIDE-2668 PYSIDE-2668] Fixed an error in enums
** Qt Creator finishing .toml support for Python Projects.
** Qt DS Python changes ready to be merged
*** Tutorial changes to be prepared
** Type hints heuristic evaluation in order to address newly found issues related to overloads with similar shape.
** Handling of value-types in shiboken (refactoring, new features and doc)
** PYSIDE-3005 OpenGL issues were fixed
** PYSIDE-3013 Font issue was fixed
** PYSIDE-3015 OpcUA support bug fixed
** PYSIDE-3014 virtual function on QSpinBox issue fixed
** 6.9 adaption patches
*** Found newly moc changes were breaking our enums
** Size Reduction
*** hashing functions to re-use them.
*** changing the policy to use absolute size measure (sizebench)
*** Removing a few things from the folding patch, in order to merge it
** PYSIDE-2997 and PYSIDE-3003 type hints issues were solved. A couple are still open.


===28. March 2024===
=== 6. February 2025 ===
* General
* General
** We went to FOSDEM and meet many PySide users!
** Commercial / LTS naming on the Installer.
* Infra & Releases
* Infra & Releases
** Prepared 6.6.3.1 release; 6.6.3 was unfortunately broken due to missing libraries (Quick Controls/Multimedia)
** Reviewing our branching policies. There is interest in branching pyside-setup sooner.
** We might need to move the Android wheels to PyPI (Probably from 6.9 on)
** 6.8.2.1 release is planned in order to fix the missing DLLs in Windows (MSVC)
*** cheery pick is missing for 5.15
** PySide6_DS 4.7 to be released in the next couple of weeks.
* Bugs & Features
* Bugs & Features
** [https://bugreports.qt.io/browse/PYSIDE-2654 PYSIDE-2654] Fixed multiple inheritance when no __init__ is in a subclass
** Adding TOML support for Python projects in QtCreator
** Still investigating a crash on Ubuntu with Python 3.12 and bug_825.py . The crash is deeply hiding in Qt6.
** TypeHints new reports, trying to get an idea of what's causing the errors
** [https://bugreports.qt.io/browse/PYSIDE-2652 PYSIDE-2652] Fixed an int overflow
** Issues in Flatpak: updating version, checking a cleanup issue. Addressing dependencies issues for optional packages.
** [https://bugreports.qt.io/browse/PYSIDE-2649 PYSIDE-2649] Work on building without OpenGL
** QtQA internal scripting: Adapting an automatic wheel download.
** [https://bugreports.qt.io/browse/PYSIDE-2653 PYSIDE-2653] Fixed a syntax error in type hints
** Size reduction
*** Move virtual function overrides. Only generated on the base classes.
*** Discovered and fixed a few multiple inheritance with shiboken
** Snippets translation tool: Trying to add a feature to use fully qualified enums.
** clang-tidy warnings were fixes
** Handling value types on non-default constructors (inspired by 6.9 changes)
** Discussion on moving away out internal building process to scikit-build
** Size reduction (folding approach): To publish first results soon.
** Supporting team member with pyi session to understand the internal mechanism.
** Ideas from the size reduction research were implemented
** Changing the benchmark code for the size reduction (which might not include the new changes to shiboken)


===21. March 2024===
=== 30. January 2025 ===
* General
** Ideas to improve the module.
** Most of the team is going on vacation the following weeks.
* Infra & Releases
** 6.7.0 to be released the first week of April [delayed]
** 6.2.12 Commercial LTS to be release in the following days [delayed]
** 6.6.3 to be release next week [delayed]
* Bugs & Features
** 6.8 adaption patches are being worked
** PYSIDE-2638 fix crash QLayout when None is passed
** Documentation updates: for tooling and examples.
** QtRhi missing API provided
** Memory leak regression being worked out
** Shiboken Qt namespaces patches being cherry picked to previous versions.
** Android deployment and qml tool documentations
** Android wheels generation on the CI process is being improved.
** Debugging deep into Nuitka to understand a problem with the lazy loading functionality.
** QAsyncio bug fixed
** Adding more tools docs pages for our tools.


===14. March 2024===
* General
* General
** PyConDE schedule is out, don't miss Shyam's talk https://pretalx.com/pyconde-pydata-2024/talk/W7YDRX/
** Python 3.13.0a5 is out.
* Infra & Releases
* Infra & Releases
** 6.7.0 in preparation, docs adjustments and new pages will come. Branching on Monday.
** Preparing 6.8.2
** 6.2.12 LTS release in preparation.
** 6.6.3 will be release next week.
** qtpip 0.1.1 to be released
** dev is already Python 3.8 free, and we support 3.9+ for 6.7+
* Bugs & Features
* Bugs & Features
** Triaging and fixing issues in general: 2638 layout crash.
** Size reduction [https://bugreports.qt.io/browse/PYSIDE-2701 PYSIDE-2701] : Implemented code reuse for Python overrides of virtual functions
** PYSIDE-2690 namespaces support continues
** QtPythonScripting: continue working on multiple inheritance, added more widgets
** Lazy initialization got merged
** Size reduction: PYSIDE-2701 Folding progress: We can now combine multiple foldings of the same function. This will bring some more reduction.
*** New improvements might land in future versions
** Simplebrowser example updated
** PYSIDE-2635 OpcUA example problem
** adding imageviewer docs
** PYSIDE-2633 remoteobjects issue
=== 23. January 2025 ===
** Using new icons on the examples
** Testing libclang 18
** QObject.connect bug when a callable is a QObject (workaround with manual overload)
** QIOPipe implementation for QAsyncio (base in the Qt/C++ one)
** New use cases for QAsyncio and aiohttp
** permission API changes got merge
** android wheel compilation was adapted for qt 6.7.0 (PR on python-for-android was merged)
** PYSIDE-1639 QLocale issue was fixed


===07. March 2024===
* General
* General
** Participation in FOSS Backstage
** [https://invent.kde.org/frameworks/kconfig/-/jobs/2497118 KDE testing Qt betas and snapshots]
*** Should we update our Branching policy?
*** Our branching policy:
**** We branch briefly after API Review is done in qt meta repo.
** Yocto libclang issue - https://codereview.qt-project.org/c/pyside/pyside-setup/+/609352
* Infra & Releases
* Infra & Releases
** 6.5.5 Commercial LTS was released
** Windows on ARM configuration testing.
** 5.15.13 OSS Package will be released tomorrow
** 6.8.2 scheduled release next week, and branching will happen today.
** qtpip 0.1.1 release delayed
** Python 3.8 deprecation is still pending due to CI configuration dependencies.
* Bugs & Features
* Bugs & Features
** permission api changes are mostly merged, one pending https://codereview.qt-project.org/c/pyside/pyside-setup/+/536759/15
** QtPythonScripting: continue working on Stable ABI support and multiple inheritance
** all deployment fixes are in.
** [ext] 6.9 Designer release issues with macOS drag and drop + bug fixing
** lazy initialization work continues, and some issues were fixed already.
** PYSIDE-2990 Slot Executed in Signal's Thread Even With Auto & QueuedConnection
*** Ubuntu 22.04 | Python 3.10.2 |is showing an issue with scriptableapplication
*** People is getting the documentation from an outdated wiki page, which is causing new reports.
** Continue implementing more API for QtAsyncio which is currently working well
*** Wiki will be updated.
** two pending change for 6.7.0 and 6.6.3 to be merged.
** Size reduction: we generate a lot of code for parsing keyword arguments. The code was moved to libshiboken and the size was reduced 3%
** PYSIDE-2590 qt namespaces support required a patch for Qt/C++
*** Optimization reviews: it seems it's only the virtual functions, but not the actual bindings.
** PYSIDE-2619 gentoo issue with a build
** Size reduction: Windows is giving some issues for special characters, which seems to be also present in Linux.
** PYSIDE-2624 typing issue with '/' is being researched
** Cross compiling and creating wheels with the new JNI classes bindings. Trying to test them in an emulator, found other issues.
** Qt Icon Teams issues were discovered
** pyside6-deploy/project and DS changes integrating, hopefully they will be merged today \o/
** PYSIDE-2602 virtual function research on a special signature
** DS-only changes are still in review.
** One regression related to the QObject.connect changes.
** TOML integration - continue research on adding new format for python projects
** QtGraphWidgets issue with yocto build was fixed.


===29. February 2024===
=== 16. January 2025 ===


* General
* General
** Leap day!
** Highly probable that one of us will go to FOSDEM to help with the Qt Project stand! so if you /reader/ are going, drop by and say hi!
** Documentation changes
* Infra & Releases
* Infra & Releases
** 6.7.0 will drop support of Python 3.8
** 6.8.2 will be released on 23th January so far, so we expect providing the wheels in the following days.
** 6.5.5 to be released in the following days
** 3.13 on the CI still on-going.  
** 6.7.0 RC marks our feature freeze, some exceptions will be discussed in order to release on time.
** 6.5.4 OSS released
** qtpip 0.1.1 to be released soon for new indexing and shiboken_wizard package
** General update of Python versions in our CI configuration is being planned (for dev-6.7)
* Bugs & Features
* Bugs & Features
** PYSIDE-2599 QMatrix3x3 issues with QVariant
** Discussion about QJni* bindings when cross compiling.
** PYSIDE-2605 Embedding an application, using .style() - qAPP
*** It did built (and installed) for aarch64 and x86_64 but armv7a will be tried later on.
** PYSIDE-2590 QT_NAMESPACES support
*** The main issue with this story was that it was bindings only for cross compiled pyside
** PYSIDE-2602 clash on signature for QtWebEngine returning tuple
** Exploring toml compatibilities within QtCreator
** Preparing 6.5.5 and 6.7.0 releases.
** DS patches still needs review.
** PYSIDE-2612 CMake issue from Anaconda builds when find_package
** Binary size work continues
** macOS permissions changes are almost all merged
*** 17% reduction so far, and this could be included in the future-features list.
** Windows BTLE services crash
*** Once is ready, we might provide an option to disable it to go back to the more readable wrapper code.
** QIO-class are required for some new QAsyncio API using pipes
*** We might evaluate a template approach once the solution is out, to avoid maintaining regexes.
** Lazy loading moving forward, but still a few issues are around
** Remote Object reviews ready in order to merge changes (only a few details)
*** A couple of shiboken tests seems to have outdated imports that are not helping.
** Qt Python Scripting
*** shiboken compatibility types missing
*** Multiple inheritance is not supported yet.
** Typing issues being solved in order to improve the pyi quality
*** REPL function to help development
*** Research on Limited API usage.
*** find_python macro in 3.26 allow to find the stable abi
** docstring changes in order to expose them as docstring per methods.
*** some experiment to add it to the pyi files, but it doesn't show.


===22. February 2024===
=== 09. January 2025 ===
* General
** Brainstorming discussion about new JIRA items.
* Infra & Releases
** 6.6.2 was released!
** qtpip getting a new minor version in order to be able to install new shiboken wizard
* Bugs & Features
** Permission API issue failing on the release framework. QtLocation problems were addressed.
** QtAsyncio blog post was published.
** Definition of done for QtAsyncio story, some functions will be implemented, but other ones (until reaching the whole set of user facing API) will be implemented in the future.
** Lazy initialization of numpy support in PySide, to improve the general lazy loading effort.
** Starting documenting pyside6-* tools
** PYSIDE-2610 Qt3D issues
** 6.7 adaption was a lot of work, namespaces were something tricky.
** 6.7 changelog drafted.
** Started to improve the type hinting issues.
 
===15. February 2024===


* General
* General
** Brainstorming session was held.
** FOSDEM 2025: Qt got a stand!
** Europython Call for Proposal is open!
** Internal Hackathon going on.
* Infra & Releases
* Infra & Releases
** 6.6.2 release waiting for Qt/C++ packages to be done.
** https://download.qt.io/official_releases/QtForPython/ got restructured and it's now very tidy
** Commercial 6.5.5 LTS to be out next week.
** Preparing 6.8.2
** Some improvements to the CI and macOS behavior
** 6.8.1.1 Windows and Linux wheels were uploaded for consistency thanks to user-reports when uploading only the 6.8.1.1 on macOS due to a missing module
** Cherry pick bot on commercial repositories.
** Tests with 3.13 on the CI
* Bugs & Features
* Bugs & Features
** singleShot changes are merged, keep an eye on strange behavior.
** [https://bugreports.qt.io/browse/PYSIDE-2966 PYSIDE-2966] Disabled instantiating non-instantiable classes
** 6.7 adaption: metaobjectdump improvements
** [https://bugreports.qt.io/browse/PYSIDE-1735 PYSIDE-1735] Examples and tests were ported to use fully qualified enumerations
** 6.6.2 fixes with the commercial shibokenwizard
** Python Scripting continues (enable adding __repr__ functions)
** lupdate support for pyside improved (qm files)
** Discussion about QJni* bindings when cross compiling.
** pyside6-project problems with dry-run were fixed. Some improvements planned.
*** We might try a few new configurations for adding this bindings.
** CI android wheels upgrade [skip armv7 in the meantime]
** Tutorial for Boot2Qt and PySide apps deployment
** Lazy imports research continues, we see lots of improvements on apple M* devices.
** Doc changes: adding comments for using uv
** QML Next: still working on improved decorators for a smoother integration
** Qt Remote Objects: Big set of patches by external contributor
** Binary size reduction work continues with new ideas from other projects: folding, string handling, renaming, etc.
** Yocto builds issues with LLVM still not solved.


==2024==


===8. February 2024===
*[[Qt for Python Development Notes 2024]]
 
* General
** We got a PyConDE 2024 talk accepted (python -> android deployment)!
* Infra & Releases
** Addressing some issues with the android wheels
** 6.6.2 got delayed until next week
** Preparing for the 6.7 switch on dev
* Bugs & Features
** macOS: permission api patches ready for review
** singleShot patches merged
** Lazy initialization was finished, and ready for discussion.
** Check compatibility with the new REST module (from Qt/C++)
** Preparations for 6.7 continues.
 
===1. February 2024===
 
* General
** Interest from KDE to enable flatpak packages (maybe base pyside app).
** Discussion on adding more tutorials of specific functionality.
** CI Maintenance Break next Monday (first Monday of each month)
* Infra & Releases
** no unity build discussion and checks
** 6.6.2 to be released next week.
** More granularity on the commercial wheels: shiboken wizard wheel.
* Bugs & Features
** singleShot timer implementation (to use underlying c++ impl) - still an issue with a context object, and a signal as a functor. A new QObject::connect might handle the situation. More changes to come in order to fix newly discovered issues.
** Android: using the master branch on python-for-android, and other changes related for macOS deployment.
** PYSIDE-2597 optimization for the deployment procedure
** Lazy initialization: works continues, and it's looking good. 13 bugs to go on lazy mode. The new implementation seems to be working better.
** 6.7 adaptation still in progress (many changes from Qt)
** General documentation adjustments
** Improvements on shiboken: better error messages
** Qt Namespaces compatibility attempts.
** Moving away from a couple of setup.py options towards pyproject.toml after upgrading 'build' to 1.0.x
** Design Studio compatibility wheel work continues
 
 
===25. January 2024===
 
* General
** Configuring additional embedded devices for RTA
** Focus on spending some time on embedded linux, in order to see usability, and compatibility with Boot2Qt images.
** Conferences: submissions to PyCon SK, PyCon DE, PyCon LT, PyCon US
* Infra & Releases
** Decouple of the commercial wheels in order to have a finer granularity and simpler tree on the Qt Installer (Maintenance Tool)
** Qt for Python 6.6.2 is waiting for Qt to be released (by the end of the month)
** The next 5.15.13 LTS open source release will include a new fix for a missing symbol (PyIndex_Check)
** New CI configuration without '--unity' for manual testing, to spot issues.
* Bugs & Features
** VS Code will use .flake8 (formerly setup.cfg) file for configuration once merged
** PYSIDE-2575: Added a new argument to QtAsyncio to configure whether the QCoreApplication at the core of QtAsyncio should be shut down when asyncio finishes (requested by user).
** SingleShot timer issue: Slight "complexity explosion" because correct implementation for one case requires implementation of QObject.connect overload with context arguments (and we implement QObject.connect ourselves, see PySide::qobjectConnectCallback).
** Scripting: code simplification, and massage it to a Qt module.
** Documentation updates to fix issues we had.
** Unity build some issues when building without.
** 6.7 updates, adapting some warning messages
** QTBUG-99313 related issues
** macOS permissions: made an example to work (for deployed apps) - patches incoming
** Android wheels provisioning and configuration in order to generate the base-wheels.
** armv7 complications due to an upstream find_python command.
** Lazy initialization: re-wrote approach from scratch, to reduce the patches to one that can be analyzed easily. Some complications with this approach that needs to be improve. It can be tried with https://codereview.qt-project.org/c/pyside/pyside-setup/+/496118
*** https://peps.python.org/pep-0690/ was rejected, but the idea can be implemented per-module
** Moving entry_points declaration to pyproject.toml from setup.py
** Drop the bdist_wheel steps from the CI (old wheels)
** Started working on split commercial wheels, wheels for QtDS and examples on QtCreator.
 
===18. January 2024===
 
* General
* Infra & Releases
** Commercial LTS 6.2.11 was released
** Add missing tags OSS LTS 5.15.x
** 6.6.2 scheduled by the end of the month
** Release documentation to be written to have tasks on JIRA
* Bugs & Features
** Python Scripting: looking into stable API, and cleanup
** PYSIDE-2577 doxygen issue
** PYSIDE-2570 closing some roadmap items
** Polishing documentation to use more sphinx directives
** Qt 6.7 adaption
** Addressing some flake8 issues in the build_script
** macOS permission API work continues: limitation for interpreted script, only compatible when deployed. Working around nuitka.
** singleShot: trying to solve a corner case when no sender is specified (for using the C++ function directly)
** Fixing some CI problems with 3.11 -> 3.12 changes.
** PYSIDE-2404 adding more information regarding the lazy evaluation, new approach might work.
** pyside6 is now an official recipe on the python-for-android!
** Improvements to the doc build process
 
===11. January 2024===
 
* General
** Hackathon at TQtC
** CI process presentation
* Infra & Releases
** Commercial LTS 6.5.4 release starting (to be finished today)
** Commercial LTS 6.2.11 still pending release
** 6.6.2 schedule by the end of the month.
** CI still showing some issues after the maintenance break.
** Update of the Python versions are pending.
* Bugs & Features
** Fixing a few small issues with QtAsyncio
** Documentation for the QtAsyncio is currently in review.
** New behavior for singleShot (relying on the C++ impl)
** macOS request permission API work continues.
** 6.7 adaptions patches
** M2M fixes on the current impl
** Native interfaces were added (new ones) to public headers
** favicon issue with out docs
** Making our doc diagram generation optional
** Improvements for the doc build process
 
===04.January 2024===
* General
** Happy new year fellow readers :D
** New OKR organization
** Keeping in an eye on Conferences
** PyPy is now on 3.10
** Ideas on the wheel organization for the Qt Installer
* Infra & Releases
** CI Maintenance break continues. Some new issues were discovered.
** Pending releases: 6.2.11 and 6.5.4
** Android [https://download.qt.io/snapshots/ci/pyside/test/Android/aarch64/ wheels for testing] purposes are available (not for production)
** Xcode issues with a new M3
** Planning the inclusion of Python 3.12 in the CI
* Bugs & Features
** async: A few bug fixes were pushed and ready for review
** async: the module is missing from our docs
** async: we have been getting some interests from users, so new issues are appearing.
** new android tag added to the examples for a better browsing
** pyside6 designer pyenv crash was fixed
** pyside cmake module update crash was fixed
** working on the request permission API for macOS
** docs: free functions as separate section and other improvements
** Python scripting in c++ works continues
** PyPy 3.10 compatibility patches
** nogil: working again on a compatibility with PEP703
*** locking mechanism for our modules.
** Typing adjustments, we need '/' in our signatures due to not having keywords parameters.


==2023==
==2023==

Latest revision as of 09:46, 6 March 2025


2025

6. March 2025

  • General
    • Jaime's internal presentation will be next Monday at 11am
    • QtCS registration is up.
    • Discussion on IPC options for Qt developers.
  • Infra & Releases
    • 6.9 Qt for Python FF happening next week.
    • Windows on ARM deployment test failing.
  • Bugs & Features
    • Remote object contributions are going well, and we might merge them for 6.9
    • Binary size reduction research continued, but it seems we have reached the reduction we can, without touching the C++ side of our bindings.
    • PYSIDE-3012 Type hints issues were addressed (typing.Sequence -> typing.Collection) even if it is a simple change in theory, to change it internally and for our generation it took a lot of time.
      • Removing object-inheritance in the pyi files
      • White-space around equal operators issue (default parameters)
    • Update Widget Gallery example
    • Changed to adapt std::chrono patches in shiboken (identify overloads and choose the better option)
    • Cleaning up some bug reports, metamethod connection issue fixed.
    • Addressing some coverity issues for Designer
    • Started 6.10 adaption.
    • QML Next works continues.
    • Changes in the build system scripts are still in progress, some stuff is broken when used, but it's going in a good direction.
    • Finalizing the pyside6-project changes to adapt the pyproject.toml changes.
    • Addressing new found QtCreator issues with the pyproject.toml compatibility.

27. February 2025

  • General
    • Windows on ARM improving
  • Bugs & Features
    • PYSIDE-2701 Size reduction, investigating removing redundant overloads
    • PYSIDE-2701 Size reduction, trying wrapper folding, needs massive reordering
    • PYSIDE-3012 replacement of typing.Sequence by collections.abc.Sequence
      • Identified incompatibility with Python < 3.9.8 and Python < 3.10.1, fixed by small patch
      • First change finally done, needs series of further changes
    • 6.10 adaption continues
    • PYSIDE 2942 Slot type annotation fix
    • QTBUG-132266 Checked the code on macOS that the user uploaded, no issues were found related to PySide or macOS.

20. February 2025

  • General
    • QtWS possible participation
    • QtCS has a priority of bringing more external contributors
  • Infra & Releases
    • 6.9 RC February 28th (maybe postponed)
    • Windows on ARM test cases failing due to mypy fast cache (requires rust toolchain, that's currently missing from the CI). static libclang doesn't work on ARM builds (but does in x86_64).
    • RTA trials continue, possibility to use qtpip
  • Bugs & Features
    • PYSIDE-2701 Size reduction for virtual functions patch was merged
    • PYSIDE-3002 painted virtual functions solved (even though we had our own opinion about performance)
    • 3020 SignalInstance disconnect issue fixed
    • Templates/snippets cleanup in the typesystem.
    • 6.10 adaption continues
    • QtCreator toml changes:
      • psyide6-project adaption to the latest changed related
    • QtDS changes postponed (to be available in QtDS 4.8)
    • PYSIDE-3017 QSerialBus overload order issue was fixed
    • PYSIDE-3012 Still addressing issues (CI currently failing)
    • qtqa improving the wheel testing process.
    • Brainstorming a better approach for QML Next
    • Finishing the folding patches, they don't make a lot of sense at the moment due to previous changes (being added into shiboken)


13. February 2025

  • General
    • Did you know Shiboken translates into "Death Sword"? 死某剣
    • QtCS happening after QtWS in Munich in early May.
    • Qt Design Studio integration (internal presentation) with Python to be prepared.
  • Infra & Releases
    • Windows on ARM research continues.
    • QtDS wheels to be updated for the new release
    • 6.9.0 RC by the end of the February.
    • RTA testing initiative to be restart
    • Evaluating scikit-core-build for replacing build_scripts/
  • Bugs & Features
    • Flatpak issue was solved (cleanup)
    • Brainstorming ideas for QML Next (preparing internal presentation)
    • Android wheel names to be adapted https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#android
    • Qt Creator finishing .toml support for Python Projects.
    • Qt DS Python changes ready to be merged
      • Tutorial changes to be prepared
    • Type hints heuristic evaluation in order to address newly found issues related to overloads with similar shape.
    • Handling of value-types in shiboken (refactoring, new features and doc)
    • PYSIDE-3005 OpenGL issues were fixed
    • PYSIDE-3013 Font issue was fixed
    • PYSIDE-3015 OpcUA support bug fixed
    • PYSIDE-3014 virtual function on QSpinBox issue fixed
    • 6.9 adaption patches
      • Found newly moc changes were breaking our enums
    • Size Reduction
      • hashing functions to re-use them.
      • changing the policy to use absolute size measure (sizebench)
      • Removing a few things from the folding patch, in order to merge it
    • PYSIDE-2997 and PYSIDE-3003 type hints issues were solved. A couple are still open.

6. February 2025

  • General
    • We went to FOSDEM and meet many PySide users!
    • Commercial / LTS naming on the Installer.
  • Infra & Releases
    • Reviewing our branching policies. There is interest in branching pyside-setup sooner.
    • We might need to move the Android wheels to PyPI (Probably from 6.9 on)
    • 6.8.2.1 release is planned in order to fix the missing DLLs in Windows (MSVC)
      • cheery pick is missing for 5.15
    • PySide6_DS 4.7 to be released in the next couple of weeks.
  • Bugs & Features
    • Adding TOML support for Python projects in QtCreator
    • TypeHints new reports, trying to get an idea of what's causing the errors
    • Issues in Flatpak: updating version, checking a cleanup issue. Addressing dependencies issues for optional packages.
    • QtQA internal scripting: Adapting an automatic wheel download.
    • Size reduction
      • Move virtual function overrides. Only generated on the base classes.
      • Discovered and fixed a few multiple inheritance with shiboken
    • Snippets translation tool: Trying to add a feature to use fully qualified enums.
    • clang-tidy warnings were fixes
    • Handling value types on non-default constructors (inspired by 6.9 changes)
    • Discussion on moving away out internal building process to scikit-build
    • Size reduction (folding approach): To publish first results soon.
    • Supporting team member with pyi session to understand the internal mechanism.
    • Ideas from the size reduction research were implemented
    • Changing the benchmark code for the size reduction (which might not include the new changes to shiboken)

30. January 2025

  • General
  • Infra & Releases
    • Preparing 6.8.2
  • Bugs & Features
    • Size reduction PYSIDE-2701 : Implemented code reuse for Python overrides of virtual functions
    • QtPythonScripting: continue working on multiple inheritance, added more widgets
    • Size reduction: PYSIDE-2701 Folding progress: We can now combine multiple foldings of the same function. This will bring some more reduction.
    • Simplebrowser example updated
    • adding imageviewer docs

23. January 2025

  • General
  • Infra & Releases
    • Windows on ARM configuration testing.
    • 6.8.2 scheduled release next week, and branching will happen today.
  • Bugs & Features
    • QtPythonScripting: continue working on Stable ABI support and multiple inheritance
    • [ext] 6.9 Designer release issues with macOS drag and drop + bug fixing
    • PYSIDE-2990 Slot Executed in Signal's Thread Even With Auto & QueuedConnection
      • People is getting the documentation from an outdated wiki page, which is causing new reports.
      • Wiki will be updated.
    • Size reduction: we generate a lot of code for parsing keyword arguments. The code was moved to libshiboken and the size was reduced 3%
      • Optimization reviews: it seems it's only the virtual functions, but not the actual bindings.
    • Size reduction: Windows is giving some issues for special characters, which seems to be also present in Linux.
    • Cross compiling and creating wheels with the new JNI classes bindings. Trying to test them in an emulator, found other issues.
    • pyside6-deploy/project and DS changes integrating, hopefully they will be merged today \o/
    • DS-only changes are still in review.
    • TOML integration - continue research on adding new format for python projects
    • QtGraphWidgets issue with yocto build was fixed.

16. January 2025

  • General
    • Highly probable that one of us will go to FOSDEM to help with the Qt Project stand! so if you /reader/ are going, drop by and say hi!
  • Infra & Releases
    • 6.8.2 will be released on 23th January so far, so we expect providing the wheels in the following days.
    • 3.13 on the CI still on-going.
    • 6.5.4 OSS released
  • Bugs & Features
    • Discussion about QJni* bindings when cross compiling.
      • It did built (and installed) for aarch64 and x86_64 but armv7a will be tried later on.
      • The main issue with this story was that it was bindings only for cross compiled pyside
    • Exploring toml compatibilities within QtCreator
    • DS patches still needs review.
    • Binary size work continues
      • 17% reduction so far, and this could be included in the future-features list.
      • Once is ready, we might provide an option to disable it to go back to the more readable wrapper code.
      • We might evaluate a template approach once the solution is out, to avoid maintaining regexes.
    • Remote Object reviews ready in order to merge changes (only a few details)
    • Qt Python Scripting
      • Multiple inheritance is not supported yet.
      • REPL function to help development
      • Research on Limited API usage.
      • find_python macro in 3.26 allow to find the stable abi
    • docstring changes in order to expose them as docstring per methods.
      • some experiment to add it to the pyi files, but it doesn't show.

09. January 2025

  • General
    • FOSDEM 2025: Qt got a stand!
    • Internal Hackathon going on.
  • Infra & Releases
    • https://download.qt.io/official_releases/QtForPython/ got restructured and it's now very tidy
    • Preparing 6.8.2
    • 6.8.1.1 Windows and Linux wheels were uploaded for consistency thanks to user-reports when uploading only the 6.8.1.1 on macOS due to a missing module
    • Tests with 3.13 on the CI
  • Bugs & Features
    • PYSIDE-2966 Disabled instantiating non-instantiable classes
    • PYSIDE-1735 Examples and tests were ported to use fully qualified enumerations
    • Python Scripting continues (enable adding __repr__ functions)
    • Discussion about QJni* bindings when cross compiling.
      • We might try a few new configurations for adding this bindings.
    • Tutorial for Boot2Qt and PySide apps deployment
    • Doc changes: adding comments for using uv
    • QML Next: still working on improved decorators for a smoother integration
    • Qt Remote Objects: Big set of patches by external contributor
    • Binary size reduction work continues with new ideas from other projects: folding, string handling, renaming, etc.
    • Yocto builds issues with LLVM still not solved.

2024

2023

2022

2021

2020

2019

2018