Qt for Python Development Notes: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(364 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:Qt for Python]]
[[Category:Qt for Python]]
== 2020 ==


==== 25. June 2020 ====
==2024==


* Infra update
===18. April 2024===
** Release of the second set of Windows 64bit wheels.
** Issues on the CI due to some internal issues, everything should be running soon.
* (in progress) from __future__ import newapi
** it's tricky to provide snake_case instead of camelCase
** issues with tp_getattro
** creating modified Python objects to replace the original types at runtime
* (in progress) from __future__ import newproperties
** Still many things to go
* PYSIDE-1282 pthread crash solved, and will be merge in 5.14
* Indentation fixes for generated code. Prefix adaptation for a standard format so it can be loaded in QtCreator (from warning and stuff)
* Qt for Python 6 is partially working in some platforms
** Still many missing modules,
** CMakeLists.txt files needs some love,
** Needs to adapt CI for the new dev branch
** Windows has some issues still :)
* libclang situation, are we sharing the same version for qdoc, qtcreator, qt, etc...?
** Need to check in case we decide to update
* Commercial wheels split progress


==== 18. June 2020 ====
* 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.


* Infra update
===11. April 2024===
** The new windows wheels still had some issues, it seems the latest are OK, and we would need to publish '_2' wheels.
* General
** Some issues with macOS builds for 5.15.0
** Bug fixing week.
* Qt6 compatibility
** Qt 6.6.3 Library split broke our release, so we provided 6.6.3.1 as a fix.
** This is stopping the improvements in the QML integration story
** Qt 6.7.0 also had an issue with a binary incompatibility change on QtAudio and QAudio
** We need this merged before continuing https://codereview.qt-project.org/c/qt/qtbase/+/301979
** Maybe we implement a simple channel of communicating this details, in order to avoid breakage [maybe architect meetings]
* Merged a bug fix to 5.12 (the CI was not broken)
** Qt Creator 13 creates venvs automatically. This needs to be revisited to avoid multiple environments to be created.
* (in progress) Qt6 Properties camelCase to lower_case
** New epics with brainstorming ideas.
** Not a trivial task
* Infra & Releases
** It's possible to rename dynamically functions, and other things.
** 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.
** Containers needs to be taken care too
** 5.15.17 commercial LTS to be release next week.
** Having more than one object with the same ID is challenging
** QtDS packages a bit delay due to CI errors.
** Issues with str based objects
** Qt Installer (Maintenance tool) has  still some issues with the structure.
* Fixed PYSIDE-1332, PYSIDE-1327
* Bugs & Features
* (in progress) Commercial wheel are almost ready on Linux, later some changes for Windows and macOS are required.
** Adding new Qt tools to the wheels (wrappers)
* (in progress) WigglyWidget example almost there
** PYSIDE-2602 special virtual function research
* (in progress) New StyleSheet tutorial.
** PYSIDE-2669 designer issue
==== 11. June 2020 ====
** 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.


* Infra Update
===4. April 2024===
** MSVC 2019 DLL issue with 5.15.0, we shipped a DLL that was too new. (https://bugreports.qt.io/browse/PYSIDE-1323)
* General
** A new set of wheels will be available for Windows users (without a modern MSVC)
** Large part of the team at conferences/on Easter holiday
* QEnum implementation
* Infra & Releases
** Waiting for review
** Released 6.6.3.1 release with fixes for Quick Controls/Multimedia
** Qt5 compatible
** Preparing for 6.7.0
** QFlag is also exposed
* Bugs & Features
* Research: Qt6 Properties camelCase to lower_case
** [https://bugreports.qt.io/browse/PYSIDE-2646 PYSIDE-2646] Improved cleanup of signal manager objects
** https://bugreports.qt.io/browse/PYSIDE-1019
** [https://bugreports.qt.io/browse/PYSIDE-2662 PYSIDE-2662] Fix for a signal in OpcUA
* Started to fix missing types information: https://bugreports.qt.io/browse/PYSIDE-1318
** [https://bugreports.qt.io/browse/PYSIDE-2663 PYSIDE-2663] Fixed a crash in webengine bindings
* Fix memory leaks in property accesors (https://bugreports.qt.io/browse/PYSIDE-1321),
** [https://bugreports.qt.io/browse/PYSIDE-2668 PYSIDE-2668] Fixed an error in enums
* Fix code generation bugs (https://bugreports.qt.io/browse/PYSIDE-1325)
* Incremental wheels
* Missing pyside2uic features
* Backports for 5.12
** Ask Gerrit admins
** Try one last patch.


==== 4. June 2020 ====
===28. March 2024===
* General
* Infra & Releases
** Prepared 6.6.3.1 release; 6.6.3 was unfortunately broken due to missing libraries (Quick Controls/Multimedia)
* Bugs & Features
** [https://bugreports.qt.io/browse/PYSIDE-2654 PYSIDE-2654] Fixed multiple inheritance when no __init__ is in a subclass
** Still investigating a crash on Ubuntu with Python 3.12 and bug_825.py . The crash is deeply hiding in Qt6.
** [https://bugreports.qt.io/browse/PYSIDE-2652 PYSIDE-2652] Fixed an int overflow
** [https://bugreports.qt.io/browse/PYSIDE-2649 PYSIDE-2649] Work on building without OpenGL
** [https://bugreports.qt.io/browse/PYSIDE-2653 PYSIDE-2653] Fixed a syntax error in type hints


* CI Update
===21. March 2024===
** Limited API reports work
* General
** Improve integrations on macOS
** Ideas to improve the module.
* Documentation updates for Qt Assistant
** Most of the team is going on vacation the following weeks.
* PYSIDE-1257 cx_Freeze issues seems to be related to cx_Freeze itself.
* Infra & Releases
* Q_ENUM and QFlag will be soon available.
** 6.7.0 to be released the first week of April [delayed]
* New Shiboken example to expose a custom Qt Widget to Python
** 6.2.12 Commercial LTS to be release in the following days [delayed]
* loadUiType is back into PySide (relies on pyside2-uic on PATH)
** 6.6.3 to be release next week [delayed]
* Other bug fixes.
* 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.


==== 28. May 2020 ====
===14. March 2024===
* Releases
* General
** 5.15.0 and 5.14.2.2 were released :) https://www.qt.io/blog/qt-for-python-5.15.0-is-out
** PyConDE schedule is out, don't miss Shyam's talk https://pretalx.com/pyconde-pydata-2024/talk/W7YDRX/
** Thoughts about 5.14.2.3
** Python 3.13.0a5 is out.
** 5.15.1 release is still not defined
* Infra & Releases
* Documentation
** 6.7.0 in preparation, docs adjustments and new pages will come. Branching on Monday.
* CI Status
** 6.2.12 LTS release in preparation.
** The limited-api check was somehow bypass by one specific patch https://codereview.qt-project.org/c/pyside/pyside-setup/+/298845 We need to keep an eye to avoid this in the future.
** 6.6.3 will be release next week.
* Backlog status [https://bugreports.qt.io/secure/RapidBoard.jspa?rapidView=262&view=planning.nodetail&selectedIssue=PYSIDE-463&issueLimit=100 check it here]
** qtpip 0.1.1 to be released
* QML Integration update
** dev is already Python 3.8 free, and we support 3.9+ for 6.7+
** We are working on finishing the implementation of Q_ENUM, to be able to use the singletonType registration
* Bugs & Features
** Additionally, we are looking into the uncreatableType registration too.
** Triaging and fixing issues in general: 2638 layout crash.
* Development branch for Qt6
** PYSIDE-2690 namespaces support continues
** We need the following before jumping into dev.
** Lazy initialization got merged
*** QList/QVector
*** New improvements might land in future versions
*** QString -> integrated (clarity)
** PYSIDE-2635 OpcUA example problem
** PYSIDE-2633 remoteobjects issue
** 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


==== 21. May 2020 ====
===07. March 2024===
* '''Holiday'''
* General
** Participation in FOSS Backstage
* Infra & Releases
** 6.5.5 Commercial LTS was released
** 5.15.13 OSS Package will be released tomorrow
** qtpip 0.1.1 release delayed
** Python 3.8 deprecation is still pending due to CI configuration dependencies.
* Bugs & Features
** permission api changes are mostly merged, one pending https://codereview.qt-project.org/c/pyside/pyside-setup/+/536759/15
** all deployment fixes are in.
** lazy initialization work continues, and some issues were fixed already.
*** Ubuntu 22.04 | Python 3.10.2 |is showing an issue with scriptableapplication
** Continue implementing more API for QtAsyncio which is currently working well
** two pending change for 6.7.0 and 6.6.3 to be merged.
** PYSIDE-2590 qt namespaces support required a patch for Qt/C++
** PYSIDE-2619 gentoo issue with a build
** PYSIDE-2624 typing issue with '/' is being researched
** Qt Icon Teams issues were discovered
** PYSIDE-2602 virtual function research on a special signature
** One regression related to the QObject.connect changes.


==== 14. May 2020 ====
===29. February 2024===


* CI Updates
* General
** CI blocked due to some provisioning issues in red hat
** Leap day!
** 5.14.2.2 Release is on hold
** Documentation changes
** 5.15 commercial release in preparation
* Infra & Releases
** License check
** 6.7.0 will drop support of Python 3.8
* 5.15 Release
** 6.5.5 to be released in the following days
** Pickling changes
** 6.7.0 RC marks our feature freeze, some exceptions will be discussed in order to release on time.
** Examples
** qtpip 0.1.1 to be released soon for new indexing and shiboken_wizard package
** loadUiType
** General update of Python versions in our CI configuration is being planned (for dev-6.7)
* Tutorials rcc, designer
* Bugs & Features
** Add project's tutorial.
** PYSIDE-2599 QMatrix3x3 issues with QVariant
* Continue research of using Qt6
** PYSIDE-2605 Embedding an application, using .style() - qAPP
* __qualname__ attributes are almost done
** PYSIDE-2590 QT_NAMESPACES support
** This changes was required for the pickling support.
** PYSIDE-2602 clash on signature for QtWebEngine returning tuple
** Preparing 6.5.5 and 6.7.0 releases.
** PYSIDE-2612 CMake issue from Anaconda builds when find_package
** macOS permissions changes are almost all merged
** Windows BTLE services crash
** QIO-class are required for some new QAsyncio API using pipes
** Lazy loading moving forward, but still a few issues are around
*** A couple of shiboken tests seems to have outdated imports that are not helping.
*** shiboken compatibility types missing
** Typing issues being solved in order to improve the pyi quality


==== 7. May 2020 ====
===22. February 2024===
* CI Updates
* General
** Issues with the provisioning, for example the connection with PyPi, still in progress.
** Brainstorming discussion about new JIRA items.
** We will add a requirements.txt for provisioning.
* Infra & Releases
* Issues
** 6.6.2 was released!
** PYSIDE-1255 Signal not reached in QML
** qtpip getting a new minor version in order to be able to install new shiboken wizard
** Pickling Qt Enums PYSIDE-15
* Bugs & Features
*** Almost finished, but we are waiting for PYSIDE-1285 to be fix (modulename, qualname).
** Permission API issue failing on the release framework. QtLocation problems were addressed.
** Many other minor bugs have been fixed, but still there are a couple of strange ones.
** QtAsyncio blog post was published.
** First attempts to build shiboken with Qt6
** 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.
** Ideas repo re-organization
** Lazy initialization of numpy support in PySide, to improve the general lazy loading effort.
* Features
** Starting documenting pyside6-* tools
** Commercial addons
** PYSIDE-2610 Qt3D issues
** Tutorials
** 6.7 adaption was a lot of work, namespaces were something tricky.
*** rcc
** 6.7 changelog drafted.
*** uic
** Started to improve the type hinting issues.
*** QTranslator (*)
*** ...
** QtAssistant integration
** loadUiType
** The new way of registering QML properties needs to be applied to the code base.


==== 30. April 2020 ====
===15. February 2024===
* CI Updates
** Issues with pip upgrades
** Planning new Python versions for new configurations.
* Update on bugs still around after 5.14.2.1
** 1271: Deadlock (fixed)
** 1255: Signal not reached in QML (still in progress)
** 1280: Research
* Features
** QML interaction
** Q_ENUM and pickling SbkEnum
** Commercial Addons


==== 23. April 2020 ====
* General
* 5.14.2.1 Release
** Brainstorming session was held.
* New bugs around threading:
** Europython Call for Proposal is open!
** https://bugreports.qt.io/browse/PYSIDE-1271
* Infra & Releases
** https://bugreports.qt.io/browse/PYSIDE-1255 needs to be reopen.
** 6.6.2 release waiting for Qt/C++ packages to be done.
* Documentation changes around the replacement of the old pysideuic module
** Commercial 6.5.5 LTS to be out next week.
* Q_ENUM update
** Some improvements to the CI and macOS behavior
** How to get a reference from the QMetaObjectBuilder without a QObject based project?
** Cherry pick bot on commercial repositories.
* mypy compatibility
* Bugs & Features
** depends a bit on the Q_ENUM
** singleShot changes are merged, keep an eye on strange behavior.
** 6.7 adaption: metaobjectdump improvements
** 6.6.2 fixes with the commercial shibokenwizard
** lupdate support for pyside improved (qm files)
** pyside6-project problems with dry-run were fixed. Some improvements planned.
** CI android wheels upgrade [skip armv7 in the meantime]
** Lazy imports research continues, we see lots of improvements on apple M* devices.


==== 16. April 2020 ====


* Plan for 5.14.2-1 release
===8. February 2024===
* Research on Pickling support, PYSIDE-15
* Provided fix for PYSIDE-1267  related to efforts of exposing QScintilla
* Object dumper to help debugging python implementations
* Debugging options for the code model.
* pysideuic old functionality into the QUiTools module
** compileUI
** loadUiType
* Q_ENUM discussion


==== 9. April 2020 ====
* 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.


* Most bugs reported in 5.14.2 are fix on 5.14
===1. February 2024===
** Preparing the process for the release of 5.14.2-1
** Check about versioning on pypi to not override 5.14.2 wheels.
* PYSIDE-813 is now fixed
* PYSIDE-1255, Signals not being emitted.
* Working on Q_ENUM


==== 2. April 2020 ====
* 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


* 5.14.2 is out:
** keep an eye on new bug reports.
*** https://bugreports.qt.io/browse/PYSIDE-1253
*** https://bugreports.qt.io/browse/PYSIDE-1254
*** https://bugreports.qt.io/browse/PYSIDE-1255
** The new documentation is out too: https://doc.qt.io/qtforpython/
* 'manylinux1' discussion
* CI status
* 'loadUiType' status https://bugreports.qt.io/browse/PYSIDE-1223
** two approaches for it, a Python and another in C.
* PYSIDE-813
** Finding where the reference is gone, but there is the only issue left.
** All the other issues were solved.
** A solution should be out soon.
* Research on adding Python support for Qt's lupdate: PYSIDE-1252


==== 26. March 2020 ====
===25. January 2024===


* 5.14.2 Release
* General
* OKRs Update
** Configuring additional embedded devices for RTA
** Looking for commercial opportunities
** Focus on spending some time on embedded linux, in order to see usability, and compatibility with Boot2Qt images.
* PYSIDE-813 new discoveries found:
** Conferences: submissions to PyCon SK, PyCon DE, PyCon LT, PyCon US
** There are a couple of issues with one of the PYSIDE-803 patches that will be solved soon.
* Infra & Releases
** PYSIDE-164 is out of the picture
** Decouple of the commercial wheels in order to have a finer granularity and simpler tree on the Qt Installer (Maintenance Tool)
* Lambda functions for QWebEngineCallback PYSIDE-946 so we can expose the missing bindings.
** Qt for Python 6.6.2 is waiting for Qt to be released (by the end of the month)
* QVariant conversions tweaks PYSIDE-1250
** The next 5.15.13 LTS open source release will include a new fix for a missing symbol (PyIndex_Check)
* Working on adding 'loadUiType' into PySide PYSIDE-1223
** New CI configuration without '--unity' for manual testing, to spot issues.
* Research on adding Python support for Qt's lupdate: PYSIDE-1252
* 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.


==== 19. March 2020 ====
===18. January 2024===


* 5.14.2 Release preparations
* General
* Work on Widget gallery example
* Infra & Releases
* Done: Refinements to wheel-tester.py
** Commercial LTS 6.2.11 was released
* Done: Reworked test_wheel.py for macOS
** Add missing tags OSS LTS 5.15.x
* Done: Fixed PYSIDE-1247 signature warning in Python 3.6
** 6.6.2 scheduled by the end of the month
* In progress: Instrumentation of PYSIDE-164/813
** 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


==== 12. March 2020 ====
===11. January 2024===


* CI Status
* General
** Everything up and running
** Hackathon at TQtC
** 5.14.2 to be released next week hopefully.
** CI process presentation
* PYSIDE-803
* Infra & Releases
** Almost there!
** Commercial LTS 6.5.4 release starting (to be finished today)
** retrieveMetaObject improvements.
** Commercial LTS 6.2.11 still pending release
** We will try to test it without the allow-thread patch to evaluate performance.
** 6.6.2 schedule by the end of the month.
* PYSIDE-813
** CI still showing some issues after the maintenance break.
** we will keep PYSIDE-164 open until we find a solution that fixes both.
** Update of the Python versions are pending.
* Starting to evaluate std::function compatibility with Shiboken.
* 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


==== 5. March 2020 ====
===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.


* CI Update
==2023==
** Including Python 3.8
** Maybe using alternatives to have many Python versions.
* Priority bugs
** PYSIDE-803
*** major changes in (caching)
*** still other minor patches to be merged.
*** allow-thread patch has a bug, maybe this can be detach from the snippets one.
** PYSIDE-813
*** PYSIDE-164 appears again if we fix it,
*** Maybe a solution is to fix 164 in another way.
* 5.15 feature status
* Changes for Qt 6
** Changes in the [https://codereview.qt-project.org/c/qt/qtbase/+/284225 QMetaType representation]
*** Reference of the [https://codereview.qt-project.org/c/qt/qtdeclarative/+/285788 new system in qtdeclarative]
** Wishlist for [https://bugreports.qt.io/browse/PYSIDE-904 Qt6 opportunities]


==== 27. February 2020 ====
*[[Qt for Python Development Notes 2023]]


* CI Updates
==2022==
** 5.12 cherry-picks
* qApp
** Deprecation message or alias (when using QtWidgets.qApp)
* PYSIDE-803
** Missing patches to be merged
*** Python 2.7 issues
*** allow-thread commit message (add a changelog)
*** second caching mechanism to be studied after we merge the first set of patches.
*** Third attempt after the stackless gilstate approach
** Documentation
* Python 3.8 testing is still being worked out


==== 20. February 2020 ====
*[[Qt for Python Development Notes 2022]]


* CI Updates
==2021==
** Cherry-picking some changes to 5.12 to fix the virtualenv 20 issues.
** macOS timeouts
** possibility of merging simple changes directly.
* qApp issues
** Patches ready for review
* PYSIDE-803
** Patches needs some polishing
* Testrunner improvements
** stdout/stderr issues with ctest on windows
** smart pointers tests crashing, due to qApp issues.
** Python 3.8 is also giving problems (DLLs missing)
** debug builds on windows does not work.
* Shiboken documentation being reorganized
* Starting testing Python 3.9


==== 13. February 2020 ====
*[[Qt for Python Development Notes 2021]]


* CI updates
==2020==
** Windows package signing will be possible, hopefully soon.
* Documentation updates
** Example gallery
** WebChannel example merged,
* Python 3.8 changes on Windows are still being tackled.
* Bugs
** PYSIDE-803 status: A patch waiting for review is there, but we need to combine it with the other solutions we currently have. Still, there are some corner cases where the problem is not properly solved.
** qApp issues to be solved, but we will remove the import features. qApp will remain as a built-in.
* OKRS 1Q/2020


==== 6. February 2020 ====
*[[Qt for Python Development Notes 2020]]


* CI status and issues with the Qt provisioning 5.12
==2019==
** 5.12.7 release will take more time to add new features.
** 5.14 has some issues with OpenGLFunctions.
* Documentation: Interest for the new shiboken2 documentation structure and usage of the ApiExtractor.
* Python 3.8 compatibility with older branches.
* Updates on PYSIDE-803 [https://bugreports.qt.io/browse/PYSIDE-803?focusedCommentId=496894&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-496894 link]
* Suggestion about iterations a-la-python https://bugreports.qt.io/browse/PYSIDE-1216
* Events
** Qt World Summit 2020 Palm Springs
** PyCon US


==== 30. January 2020 ====
*[[Qt for Python Development Notes 2019]]
* 5.14.1 release rolling
* Work on [https://bugreports.qt.io/browse/PYSIDE-1204 PYSIDE-1204]
* Work on [https://bugreports.qt.io/browse/PYSIDE-1191 PYSIDE-1191] PySide2 5.14 source now builds against Qt 5.12 as well
* Further research on [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
** full instrumentation of generated source for tracing,
** discovery of new hooks to support. Still in flux.
* Fixed some issues of Python 3.8 (most prominently warnings about implicit conversion to integers for QFlags), will be fixed in 5.14.2
* qApp macro [https://bugreports.qt.io/browse/PYSIDE-1178 PYSIDE-1178] [https://bugreports.qt.io/browse/PYSIDE-1158 PYSIDE-1158] [https://bugreports.qt.io/browse/PYSIDE-1135 PYSIDE-1135] finally closed. One cleanup check in may follow.


==== 23. January 2020 ====
==2018==
* Fix for CI/macOS problem is in, but it requires some merges in Qt5. Until all required merges are done, we will use Qt5 5.14.1 with Qt For Python 5.14
* Research on [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
* Proposed an "until" attribute for typesystem files to make it possible to build Pyside 5.14 against Qt 5.12  [https://bugreports.qt.io/browse/PYSIDE-1195 PYSIDE-1195]
* Improved the view of compare app for [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
* Analysis of PyQt5 and SIP implementation


==== 16. January 2020 ====
*[[Qt for Python Development Notes 2018]]
* CI/macOS problems are being worked.
* qApp fix waiting to be merged.
* first attempts to tackle [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
* Python 3.8 fix to old branches is required for distributions using 5.12 LTS like Conda.
* Working on Q_ENUM support.
* Viewer for [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803] is ready to try. Please check out https://git.qt.io/playground/pyside-compare.git and give feedback.
 
==== 9. January 2020 ====
* [https://bugreports.qt.io/browse/PYSIDE-1185 PYSIDE-803] needs to be tackled soon, it's critical, and we cannot carry that into Qt6.
* Python 3.8.1 on Windows has [https://codereview.qt-project.org/c/pyside/pyside-setup/+/285797/ some issues] while building.
* qApp macro changes [https://codereview.qt-project.org/c/pyside/pyside-setup/+/285655 discussion].
* documentation updates are still pending.
* with the release of 5.14 we have been fixing many details from uic's Python support.
* designer's RUNPATH [https://codereview.qt-project.org/c/pyside/pyside-setup/+/285712 needed to be patched], waiting for approval,
* A modular way of packing wheels is being studied.
* Re-take the Python extensions for QtCreator project evaluation.
 
== 2019 ==
* [[Qt for Python Development Notes 2019]]
 
== 2018 ==
 
* [[Qt for Python Development Notes 2018]]

Latest revision as of 08:33, 18 April 2024


2024

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

  • General
    • Large part of the team at conferences/on Easter holiday
  • Infra & Releases
    • Released 6.6.3.1 release with fixes for Quick Controls/Multimedia
    • Preparing for 6.7.0
  • Bugs & Features

28. March 2024

  • General
  • Infra & Releases
    • Prepared 6.6.3.1 release; 6.6.3 was unfortunately broken due to missing libraries (Quick Controls/Multimedia)
  • Bugs & Features
    • PYSIDE-2654 Fixed multiple inheritance when no __init__ is in a subclass
    • Still investigating a crash on Ubuntu with Python 3.12 and bug_825.py . The crash is deeply hiding in Qt6.
    • PYSIDE-2652 Fixed an int overflow
    • PYSIDE-2649 Work on building without OpenGL
    • PYSIDE-2653 Fixed a syntax error in type hints

21. March 2024

  • 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
  • Infra & Releases
    • 6.7.0 in preparation, docs adjustments and new pages will come. Branching on Monday.
    • 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
    • Triaging and fixing issues in general: 2638 layout crash.
    • PYSIDE-2690 namespaces support continues
    • Lazy initialization got merged
      • New improvements might land in future versions
    • PYSIDE-2635 OpcUA example problem
    • PYSIDE-2633 remoteobjects issue
    • 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
    • Participation in FOSS Backstage
  • Infra & Releases
    • 6.5.5 Commercial LTS was released
    • 5.15.13 OSS Package will be released tomorrow
    • qtpip 0.1.1 release delayed
    • Python 3.8 deprecation is still pending due to CI configuration dependencies.
  • Bugs & Features
    • permission api changes are mostly merged, one pending https://codereview.qt-project.org/c/pyside/pyside-setup/+/536759/15
    • all deployment fixes are in.
    • lazy initialization work continues, and some issues were fixed already.
      • Ubuntu 22.04 | Python 3.10.2 |is showing an issue with scriptableapplication
    • Continue implementing more API for QtAsyncio which is currently working well
    • two pending change for 6.7.0 and 6.6.3 to be merged.
    • PYSIDE-2590 qt namespaces support required a patch for Qt/C++
    • PYSIDE-2619 gentoo issue with a build
    • PYSIDE-2624 typing issue with '/' is being researched
    • Qt Icon Teams issues were discovered
    • PYSIDE-2602 virtual function research on a special signature
    • One regression related to the QObject.connect changes.

29. February 2024

  • General
    • Leap day!
    • Documentation changes
  • Infra & Releases
    • 6.7.0 will drop support of Python 3.8
    • 6.5.5 to be released in the following days
    • 6.7.0 RC marks our feature freeze, some exceptions will be discussed in order to release on time.
    • 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
    • PYSIDE-2599 QMatrix3x3 issues with QVariant
    • PYSIDE-2605 Embedding an application, using .style() - qAPP
    • PYSIDE-2590 QT_NAMESPACES support
    • PYSIDE-2602 clash on signature for QtWebEngine returning tuple
    • Preparing 6.5.5 and 6.7.0 releases.
    • PYSIDE-2612 CMake issue from Anaconda builds when find_package
    • macOS permissions changes are almost all merged
    • Windows BTLE services crash
    • QIO-class are required for some new QAsyncio API using pipes
    • Lazy loading moving forward, but still a few issues are around
      • A couple of shiboken tests seems to have outdated imports that are not helping.
      • shiboken compatibility types missing
    • Typing issues being solved in order to improve the pyi quality

22. February 2024

  • 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
    • Brainstorming session was held.
    • Europython Call for Proposal is open!
  • Infra & Releases
    • 6.6.2 release waiting for Qt/C++ packages to be done.
    • Commercial 6.5.5 LTS to be out next week.
    • Some improvements to the CI and macOS behavior
    • Cherry pick bot on commercial repositories.
  • Bugs & Features
    • singleShot changes are merged, keep an eye on strange behavior.
    • 6.7 adaption: metaobjectdump improvements
    • 6.6.2 fixes with the commercial shibokenwizard
    • lupdate support for pyside improved (qm files)
    • pyside6-project problems with dry-run were fixed. Some improvements planned.
    • CI android wheels upgrade [skip armv7 in the meantime]
    • Lazy imports research continues, we see lots of improvements on apple M* devices.


8. February 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
    • 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 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

2022

2021

2020

2019

2018