Qt for Python Development Notes: Difference between revisions

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


==== 15. August 2019 ====
==2024==


  - Merges/work on continous integration infrastructure (preparing 5.13.1)
===28. March 2024===
* General
* Infra & Releases
* 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.


==== 8. August 2019 ====
===21. March 2024===
  - Licenses on Pypi
* General
    - pypi is used for commercial and open source users
** Ideas to improve the module.
    - currently only publishing the open source license -> will add second "commercial" license
** Most of the team is going on vacation the following weeks.
  - Releasing
* Infra & Releases
    - 5.13.1 release is being prepared
** 6.7.0 to be released the first week of April [delayed]
    - 5.12.5 follows later this month
** 6.2.12 Commercial LTS to be release in the following days [delayed]
  - Documentation changes
** 6.6.3 to be release next week [delayed]
    - Qt for Python Logo updated
* Bugs & Features
    - CSS updates -> (lots of suggestions/bug reports from the community)
** 6.8 adaption patches are being worked
  - PYSIDE-951 (primitive type support) merged and done
** PYSIDE-2638 fix crash QLayout when None is passed
  - PYSIDE-795 (Numpy support progressing)
** Documentation updates: for tooling and examples.
  - ported simpletreewidget from C++ to python
** QtRhi missing API provided
  - restructuring cmake setup with the aim to have a more modular build selection
** 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.


==== 1. August 2019 ====
===14. March 2024===
  - (Summer break)
* General
  - PYSIDE-795 (numpy support is progressing)
** PyConDE schedule is out, don't miss Shyam's talk https://pretalx.com/pyconde-pydata-2024/talk/W7YDRX/
  - PYSIDE-951 (primitive pointer types ready for review)
** Python 3.13.0a5 is out.
  - Fixed pyside-setup 5.14 branch building (addressing lots of deprecation changes)
* 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


==== 25. July 2019 ====
===07. March 2024===
  - (Summer break)
* General
  - continuing on PYSIDE-795: documentation,  
** Participation in FOSS Backstage
    - supporting the iterable protocol (will become sub-task)
* Infra & Releases
    - augmenting incomplete classes (QtPrintSupport)
** 6.5.5 Commercial LTS was released
    - checking and correcting function signatures according to PYSIDE-951
** 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.


==== 18. July 2019 ====
===29. February 2024===
  - (Summer break)
  - Some progress related to Bug fixing is being done.
  - bug fixing on signatures accessing "__doc__" on a module function.
  - continued on PYSIDE-795


==== 11. July 2019 ====
* General
  - visiting EuroPython
** Leap day!
  - discussed roadmap for 5.14 release (check out Pyside Jira project with FixVersion 5.14)
** Documentation changes
  - continued CI configuration setup for pyside-setup
* Infra & Releases
  - continued on shared pointer bugs(PYSIDE-1024 & PYSIDE-1043)
** 6.7.0 will drop support of Python 3.8
  - assert triggering for certain types (PYSIDE-1037)
** 6.5.5 to be released in the following days
  - further changes for PYSIDE-951
** 6.7.0 RC marks our feature freeze, some exceptions will be discussed in order to release on time.
  - numpy enhancements (PYSIDE-795) (documentation and tests improvements)
** 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


==== 04. July 2019 ====
===22. February 2024===
  - Qt for Python 5.13.0 released
* General
  - Experimented with cross compiling
** Brainstorming discussion about new JIRA items.
    - not easily possible -> build system needs major work
* Infra & Releases
  - New control system for Qt for Python (isolates Qt4Python CI configuration from coin)
** 6.6.2 was released!
    - more flexible way of working as not dependent on coin release
** qtpip getting a new minor version in order to be able to install new shiboken wizard
  - [https://bugreports.qt.io/browse/PYSIDE-951 PYSIDE-951] finish
* Bugs & Features
  - [https://bugreports.qt.io/browse/PYSIDE-795 PYSIDE-795] work continues
** Permission API issue failing on the release framework. QtLocation problems were addressed.
  - fixed QFlags handling
** QtAsyncio blog post was published.
  - had trouble merging pyside to dev branch
** 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.
  - some discussions around smart pointer handling in Qt4Python
** Lazy initialization of numpy support in PySide, to improve the general lazy loading effort.
  - https://bugreports.qt.io/browse/PYSIDE-634 ready to be merged
** Starting documenting pyside6-* tools
  - https://bugreports.qt.io/browse/PYSIDE-1010
** 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.


==== 27. June 2019 ====
===15. February 2024===
  - about to finish [https://bugreports.qt.io/browse/PYSIDE-951 PYSIDE-951]
  - fixed "Fix qApp import of QCoreApplication"
  - cleanup formatting of all source code and modern C++11 features
  - final re-working of "Example: Move the SQL statements", improving the C++ code as well


==== 20. June 2019 ====
* General
  - Release
** Brainstorming session was held.
    - Qt for Python 5.12.4 released today
** Europython Call for Proposal is open!
    - Qt for Python 5.13.0 wheels done -> still need testing
* Infra & Releases
  - Coin configurations to be separated from qt5.git (will become part of pyside-setup.git
** 6.6.2 release waiting for Qt/C++ packages to be done.
  - SQL example was updated (to be more pythonic)
** Commercial 6.5.5 LTS to be out next week.
  - Shared pointer related fixes being done
** Some improvements to the CI and macOS behavior
  - reopened https://bugreports.qt.io/browse/PYSIDE-1033 (how to build shiboken) after reviewing the current situation
** Cherry pick bot on commercial repositories.
  - macOS build issue being addressed
* Bugs & Features
  - https://bugreports.qt.io/browse/PYSIDE-951
** singleShot changes are merged, keep an eye on strange behavior.
  - team got commit rights for pyinstaller project repository
** 6.7 adaption: metaobjectdump improvements
  - TQtC is sponsoring PyCon DE
** 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.


==== 12. June 2019 ====
  - Example polish, introduced QSaveFile, fixed tabbed browser [https://bugreports.qt.io/browse/PYSIDE-1022 PYSIDE-1022]
  - Fixed [https://bugreports.qt.io/browse/PYSIDE-1017 PYSIDE-1017], named parameters in added functions
  - Started to look at some issues with smart pointers, [https://bugreports.qt.io/browse/PYSIDE-1024 PYSIDE-1024], [https://bugreports.qt.io/browse/PYSIDE-1016 PYSIDE-1016] related to [https://bugreports.qt.io/browse/PYSIDE-454 PYSIDE-454]
  - Making progress in the embedded support story.
    - After trying the setup.py approach, there was a lot of modifications involve in our build process, so it was not considered a good option.
    - a CMake approach is currently being used, and shiboken generator and the python module are successfully cross-compiled, but still, there is work to do.
  - Final solution of qApp embedding [https://bugreports.qt.io/browse/PYSIDE-571 PYSIDE-571]. After a long Odyssey of breaking solutions, qApp macro works now as expected with embedding.
  - PyInstaller maintainer still did not reply as promised on 2019-06-04 phone call.


==== 6. June 2019 ====
===8. February 2024===
  - Summer holidays affecting releasing? Any estimate when we would have:
    - Qt for Python 5.13.0 (Qt still on RC0)
    - Qt for Python 5.12.4 (in the next few weeks)
  - discussed options how to sign wheel content
  - cross compilation of Qt for Python (work in progress)
    -> investigating options on how to achieve that in an easy way
  - fixed build on CentOS
  - https://bugreports.qt.io/browse/PYSIDE-1017
  - https://bugreports.qt.io/browse/PYSIDE-1016
  - https://bugreports.qt.io/browse/PYSIDE-1024
  - https://bugreports.qt.io/browse/PYSIDE-1019
  - https://bugreports.qt.io/browse/PYSIDE-795 (NumPy)
  - discussed commit issues with pyinstaller maintainer
  - QtC will have presence on PyCon DE


==== 23. May 2019 ====
* General
  - Qt 6 (e.g. Pyside 6.0?) https://bugreports.qt.io/browse/PYSIDE-904
** We got a PyConDE 2024 talk accepted (python -> android deployment)!
  - Pyinstaller issues being a bottle neck at the moment for the deployment story
* Infra & Releases
  - Qt for Python 5.12.4 release
** Addressing some issues with the android wheels
    - patches are accumulating
** 6.6.2 got delayed until next week
    - TODO: branching, changelog, testing
** Preparing for the 6.7 switch on dev
  - Qt for Python 5.13 release status
* Bugs & Features
    - need cleanup in Jira of fix versions
** macOS: permission api patches ready for review
    - Qt 5.13 blog post
** singleShot patches merged
    - start generating 5.13 release wheels for testing
** Lazy initialization was finished, and ready for discussion.
  - Discussed Python 2 EOL on 1.1.2020
** Check compatibility with the new REST module (from Qt/C++)
    - Current proposal is dropping Python 2 support in Qt for Python 6
** Preparations for 6.7 continues.
    - Python 2 users can continue to use Qt for Python 5.15


==== 16. May 2019 ====
===1. February 2024===
  - Team member attended PyCon US
  - Work on tutorials
  - [https://bugreports.qt.io/browse/PYSIDE-816 PYSIDE-816] [https://bugreports.qt.io/browse/PYSIDE-1003 PYSIDE-1003] Final fix checked in
  - [https://bugreports.qt.io/browse/PYSIDE-735 PYSIDE-735] Make generate_pyi crash on real ImportErrors, only!
  - [https://bugreports.qt.io/browse/PYSIDE-1004 PYSIDE-1004] writable signatures implemented but needs to change


==== 9. May 2019 ====
* General
  - Final fixes to uic to be able to generate Python [https://bugreports.qt.io/browse/PYSIDE-797 PYSIDE-797]
** Interest from KDE to enable flatpak packages (maybe base pyside app).
  - Refactorings in libpyside
** Discussion on adding more tutorials of specific functionality.
  - Work on SQL book tutorial
** CI Maintenance Break next Monday (first Monday of each month)
  - Research into using Clang C++ API
* Infra & Releases
  - [https://bugreports.qt.io/browse/PYSIDE-816 PYSIDE-816] [https://bugreports.qt.io/browse/PYSIDE-1003 PYSIDE-1003] Final fix is waiting for approval
** no unity build discussion and checks
  - Viewer tool for [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803] nearly ready for browsing code
** 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


==== 2. May 2019 ====
  - 5.12.3 released
  - Looking into OpenGL version functions [https://bugreports.qt.io/browse/PYSIDE-955 PYSIDE-955]
  - Improved shiboken2 progress message output
  - Sped up shiboken2 class generation significantly
  - Improved code generated for multiple inheritance
  - First look at 5.14 API
  - Fixed Problems with PyInstaller after removal of Coin glitches
  - Wrote viewer tool to finally support [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]


==== 25. April 2019 ====
===25. January 2024===
- Preparation for Qt for Python 5.12.3 release.
  - Replaced QtXmlPatterns by libxml2/libxslt for documentation generation
  - Testing and final polishing of Python output mode of uic 5.14
  - New signatures related to PYSIDE-989
  - Looking into OpenGL version functions [https://bugreports.qt.io/browse/PYSIDE-955 PYSIDE-955]
  - Improving the usability of the "--reuse-build" option
  - fixing new PyInstaller problem with Python 2.7.16


==== 18. April 2019 ====
* General
- Usage of QtXmlPattern in doc tool chain of Qt for Python
** Configuring additional embedded devices for RTA
  - xml pattern deprecated in Qt 5.13
** Focus on spending some time on embedded linux, in order to see usability, and compatibility with Boot2Qt images.
  - working on libxml2 replacement (has issues on platforms w/o libxml2 support)
** Conferences: submissions to PyCon SK, PyCon DE, PyCon LT, PyCon US
  - in the long term, the qdoc generation process should really produce python docs too
* Infra & Releases
  - updated coin to continue to include QtXmlPattern for Qt for Python builds
** Decouple of the commercial wheels in order to have a finer granularity and simpler tree on the Qt Installer (Maintenance Tool)
- [https://bugreports.qt.io/browse/PYSIDE-996 PYSIDE-996] fixed on SuSE but not yet RedHat
** Qt for Python 6.6.2 is waiting for Qt to be released (by the end of the month)
- working on docs to provide hints when working with pyinstaller
** The next 5.15.13 LTS open source release will include a new fix for a missing symbol (PyIndex_Check)
- [https://bugreports.qt.io/browse/PYSIDE-955 PYSIDE-955 ] in progress
** New CI configuration without '--unity' for manual testing, to spot issues.
- New attempt on [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
* Bugs & Features
- shiboken [https://bugreports.qt.io/browse/PYSIDE-995 PYSIDE-995] call operator support
** VS Code will use .flake8 (formerly setup.cfg) file for configuration once merged
- custom scene graph rendering node in Python (related to PYSIDE-955 PYSIDE-989)
** 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).
- improving primitive type conversion (by the various OpenGL related bugs like PYSIDE-989 or PYSIDE-955)
** 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.


==== 11. April 2019 ====
===18. January 2024===
- PyInstaller problems identified as COIN bugs [https://bugreports.qt.io/browse/PYSIDE-996 PYSIDE-996 ]
- continuing with [https://bugreports.qt.io/browse/PYSIDE-795 PYSIDE-795 ]
  - handling pointers which are arrays arrays (patch defunct after too many other changes)
  - identifying remaining bad spots that need improving
- Started work on [https://bugreports.qt.io/browse/PYSIDE-955 PYSIDE-955 ]
- Started diagnosis of [https://bugreports.qt.io/browse/PYSIDE-995 PYSIDE-995 ]
- Continued on work enabling extending namespaces across modules


==== 4. April 2019 ====
* General
- working in Wiki page on how to port a C++ application to Qt for Python (over time should turn into tutorial)
* Infra & Releases
- further discussion how to handle snippets
** Commercial LTS 6.2.11 was released
- more tutorials (especially for PYSIDE-901)
** Add missing tags OSS LTS 5.15.x
- Further work on cross compilation for ARMv7
** 6.6.2 scheduled by the end of the month
- Various fixes for Shiboken to handle namespaces in Qt better
** Release documentation to be written to have tasks on JIRA
- Improve Shiboken documentation composition/layout
* Bugs & Features
- Bugfixing related to Qt file handling
** 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


==== 28. March 2019 ====
===11. January 2024===
- Qt for Python 5.12.2 released last on 22. March 2019
- started to write up documentation on how to deploy with pyinstaller
  - finding quite a few issues when using pyinstaller on Windows (and particular Python 2)
  - macOS & Linux less problematic
- worked on documentation issues (like missing links for easier browsing)
- investigated issues where shiboken didn't handle C++ namespaces across modules
- handle nullptr usage properly in docs
- more translation of C++ snippets to Python (is a never ending task as there are thousands of C++ snippets)


==== 21. March 2019 ====
* General
- Qt for Python 5.12.2 release activities
** Hackathon at TQtC
  - some bugs and general CI issues kept delaying the generation of the final release wheels
** CI process presentation
  - most bugs were related to pyinstaller and other deployment tools
* Infra & Releases
  - one last cxfreeze bug being integrated
** Commercial LTS 6.5.4 release starting (to be finished today)
  - next/subsequent set of wheels will be 5.12.2 release
** Commercial LTS 6.2.11 still pending release
- Lots of installer related discussions in the team
** 6.6.2 schedule by the end of the month.
  - question is which installer/deployment tool to use/recommend
** CI still showing some issues after the maintenance break.
  - current decision is to provide guides/documentation for at least fbs and pyinstaller
** Update of the Python versions are pending.
- review of project's current release practices (in particular in the area of QA)
* Bugs & Features
  - no outcome at this stage
** Fixing a few small issues with QtAsyncio
- addressed issues in dev branch related to changes in Qt dev branch
** Documentation for the QtAsyncio is currently in review.
- Qt for Python team joined Qt doc team to talk about ways how to improve Qt for Python docs
** 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


==== 14. March 2019 ====
===04.January 2024===
- Fixed broken documentation formatting; added deprecation information
* General
- [https://bugreports.qt.io/browse/QTBUG-74424 QTBUG-74424] 5.13 Release blocker affecting doc generation occurred
** Happy new year fellow readers :D
- [https://bugreports.qt.io/browse/PYSIDE-932 PYSIDE-932]/[https://bugreports.qt.io/browse/PYSIDE-942 PYSIDE-942]: The embedding patch is mostly
** New OKR organization
  working, but needs some refinement to be complete:
** Keeping in an eye on Conferences
  - The .pyc generation contradicts the Limited API and must be changed to
** PyPy is now on 3.10
    use source code.
** Ideas on the wheel organization for the Qt Installer
  - The code isolation must be made explicit and complete, so that installers
* Infra & Releases
    ''don't recognize'' that there is something.
** CI Maintenance break continues. Some new issues were discovered.
    Right now this was done in the wrong direction.
** Pending releases: 6.2.11 and 6.5.4
  Not much code and time necessary, just fixing ''the right'' bits.
** Android [https://download.qt.io/snapshots/ci/pyside/test/Android/aarch64/ wheels for testing] purposes are available (not for production)
- PYSIDE-934 The Buffer protocol for Python 2 needed a special flag to be compatible.               
** Xcode issues with a new M3
- Added more features for the Python project wizards on QtCreator https://codereview.qt-project.org/#/c/255686/
** Planning the inclusion of Python 3.12 in the CI
- Created a new tutorial for a workshop https://github.com/cmaureir/qtforpython_workshop
* 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.


==== 7. March 2019 ====
==2023==
- Qt for Python 5.12.2 release
  - waiting for final patch before release (PYSIDE-942/PYSIDE-932)
- Setting up test envs for Python 3.7 & 3.5 (so far testing was always done on Python 3.6) -> work in progress
- QML tutorial under review (https://codereview.qt-project.org/#/c/254044/10)
- how to integrate deprecation infos from Qt to the Python side
- Python output to rcc [https://bugreports.qt.io/browse/PYSIDE-855 PYSIDE-855]
- [https://bugreports.qt.io/browse/PYSIDE-95 PYSIDE-95] fixed
- Experimented with MicroPython
- Found the reason for [https://bugreports.qt.io/browse/PYSIDE-966 PYSIDE-966]: A memory leak was fixed by ctypes.


==== 28. February 2019 ====
*[[Qt for Python Development Notes 2023]]
- Discussion on adding more python testing environments to be certain 3.5+ versions are properly working.
- [https://bugreports.qt.io/browse/PYSIDE-953 PYSIDE-953] fixed
- [https://bugreports.qt.io/browse/PYSIDE-934 PYSIDE-934] almost done
- [https://bugreports.qt.io/browse/PYSIDE-931 PYSIDE-931] almost done
- refcount bug fixes mathplotlib crashes:
  - [https://bugreports.qt.io/browse/PYSIDE-928 PYSIDE-928]
  - [https://bugreports.qt.io/browse/PYSIDE-937 PYSIDE-937]
  - [https://bugreports.qt.io/browse/PYSIDE-943 PYSIDE-943]
- WIP: Embedding to solve signature problems dependency of support directory since 5.12.1 . Will solve 
  - [https://bugreports.qt.io/browse/PYSIDE-942 PYSIDE-942] missing support, PyInstaller  (was solved but involves PyInstaller change)
  - [https://bugreports.qt.io/browse/PYSIDE-932 PYSIDE-932] missing support, cx_freese


==== 21. February 2019 ====
==2022==
- research on how to do ad hoc releases of Pyside 2 for bug fixes like last weeks meta data change (and otherwise no further source change)
- Qt 5.12.2 about to be released -> should have a Qt for Python 5.12.2 release
- discussed installer related crash bug following 5.12.1 release [https://bugreports.qt.io/browse/PYSIDE-932 PYSIDE-932] etc.
- tutorials works (based on recent Qt for Python youtube videos)
- prepared discussions with doc team meeting next week (on Python support)
- some more work on [https://bugreports.qt.io/browse/PYSIDE-795 PYSIDE-795]
- work to distinguish array types from pointer variables
- [https://bugreports.qt.io/browse/PYSIDE-946 PYSIDE-946] under development
- [https://bugreports.qt.io/browse/PYSIDE-934 PYSIDE-934] void* type handling
- [https://bugreports.qt.io/browse/PYSIDE-938 PYSIDE-938] under review
- Current Creator 4.9 beta released today added Python project templates
- PEP 518 (project format for Python projects) -> needs Qt Creator support


==== 14. February 2019 ====
*[[Qt for Python Development Notes 2022]]
- 5.12.1 wheels had meta data issues and were redone with fixed meta data
- discussed improving the integration of Python example code into Qt for Python docs
- [https://bugreports.qt.io/browse/PYSIDE-921 PYSIDE-921]
- improved signature matching for custom types
- [https://bugreports.qt.io/browse/PYSIDE-816 PYSIDE-816] fixed and merged
- [https://bugreports.qt.io/browse/PYSIDE-922 PYSIDE-922] fixed
- [https://bugreports.qt.io/browse/PYSIDE-45 PYSIDE-45] fixed
- looking at crashes when importing pandas & numpy (the order of imports matters when working around it)
==== 7. February 2019 ====
- Fixed 5.13 deprecation warnings (which unearthed that we had a dependency on QString::isNull() vs isEmpty() in shiboken)
- Fixed a large number of shiboken code generation warnings (revealing some issues)
- Provided s solution for one issue mentioned at PYSIDE-725 (apparently Sharon Woods from US is involved in some consulting?)
- Will start formal release tag marking in Jira (matching Qt style)
- Data visualization tutorial fixes
- Talking about further integration of existing examples into general docs
- [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803] further investigation - no conclusion yet
- [https://bugreports.qt.io/browse/PYSIDE-921 PYSIDE-921] fixed
- [https://bugreports.qt.io/browse/PYSIDE-816 PYSIDE-816] investigated - fix seems at hand
- [https://bugreports.qt.io/browse/PYSIDE-924 PYSIDE-924] fixed issue where Q_PROPERTY flags were not properly passed on to Qt
- restructured cmake files adding a master cmake file (simplifies opening of project in IDEs)
  - Now it's possible to open the whole project (PySide2 + Shiboken2) on QtCreator using the global CMakeList.txt
- worked on issues related to the setup.py and how to execute it.


==== 31. January 2019 ====
==2021==
- Preparing 5.12.1 release
  - Packages are looking good, likely to be released at same time as Qt 5.12.1 release
- Submitted class bindings of Qt RemoteObjects for [https://bugreports.qt.io/browse/PYSIDE-862 PYSIDE-862]
- Added classes QWebEngineHistory, WebEngineHistoryItem with required fix [https://bugreports.qt.io/browse/PYSIDE-906 PYSIDE-906]
- Have calls to method annotated as deprecated issue a warning
- Fixed warnings, prepared Qt 5.13 bindings (based on current 5.13 API additions)
- Looked into [https://bugreports.qt.io/browse/PYSIDE-816 PYSIDE-816], [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
- Data visualization tutorial added
- working on ways of substitution of C++ specific terms in docs against Python equivalents (e.g. nullptr and bool)


==== 24. January 2019 ====
*[[Qt for Python Development Notes 2021]]
- Release branch for 5.12.1 exist
  - There was some issues in CI with 5.12 branch earlier this week and it was pretty much blocked. All issues should be solved now.
- Prepared class bindings of Qt RemoteObject for PYSIDE-862 for review
- Some creativity to keep integrations going due to COIN issues
- Investigation of PYSIDE-803 is ongoing. The issue needs deep analysis to isolate the problem.


==== 17. January 2019 ====
==2020==
- Fixed PYSIDE-908, further investigation into PYSIDE-803 (free threading)
- QfP 5.12.1 release being prepared
- PYSIDE-797 (uic change ready for review)
- PYSIDE-862 (Qt RemoteObject module support)
- PYSIDE-634 being fixed
- started to look at true cross compilation (PYSIDE-802)
- Improving Qt Creator project template support (QTCREATORBUG-21824)


==== 10. January 2019 ====
*[[Qt for Python Development Notes 2020]]
- Scope for Qt for Python 5.13 release
  -> relevant tasks marked with Fixversion 5.13 in bugreports.qt.io
  -> feature freeze for Qt for Python 5.13 (April 2019)
- looked into case of corrupted meta data of wheel
- supporting named arguments for signals
- some minimal support in Qt Creator to create a Qt for Python project
- bug hunting in 5.12.0 release
- working on Pyside-797
- further analysis of PYSIDE-803, working on an implementation plan


==== 3. January 2019 ====
==2019==
- Completed: Complete The Signature Introspection (PYSIDE-510)
- After the release there has been a couple of new reported bugs that we are working on:
  - There was some outdated documentation issue regarding Slots()
  - A couple of issues with multiple inheritance like: PYSIDE-868
  - and with QPlainTextEdit PYSIDE-886
- Restarted investigation of PYSIDE-803


== 2018 ==
*[[Qt for Python Development Notes 2019]]


* [[Qt for Python Development Notes 2018]]
==2018==
 
*[[Qt for Python Development Notes 2018]]

Revision as of 09:49, 28 March 2024


2024

28. March 2024

  • General
  • Infra & Releases
  • 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.

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