Difference between revisions of "Qt for Python Development Notes"

From Qt Wiki
Jump to: navigation, search
 
(91 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
[[Category:Qt for Python]]
 
[[Category:Qt for Python]]
== 2019 ==
+
== 2020 ==
 +
==== 28. May 2020 ====
 +
* Releases
 +
** 5.15.0 and 5.14.2.2 were released :) https://www.qt.io/blog/qt-for-python-5.15.0-is-out
 +
** Thoughts about 5.14.2.3
 +
** 5.15.1 release is still not defined
 +
* Documentation
 +
* CI Status
 +
** 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.
 +
* Backlog status [https://bugreports.qt.io/secure/RapidBoard.jspa?rapidView=262&view=planning.nodetail&selectedIssue=PYSIDE-463&issueLimit=100 check it here]
 +
* QML Integration update
 +
** We are working on finishing the implementation of Q_ENUM, to be able to use the singletonType registration
 +
** Additionally, we are looking into the uncreatableType registration too.
 +
* Development branch for Qt6
 +
** We need the following before jumping into dev.
 +
*** QList/QVector
 +
*** QString -> integrated (clarity)
 +
 
 +
==== 21. May 2020 ====
 +
* '''Holiday'''
 +
 
 +
==== 14. May 2020 ====
 +
 
 +
* CI Updates
 +
** CI blocked due to some provisioning issues in red hat
 +
** 5.14.2.2 Release is on hold
 +
** 5.15 commercial release in preparation
 +
** License check
 +
* 5.15 Release
 +
** Pickling changes
 +
** Examples
 +
** loadUiType
 +
* Tutorials rcc, designer
 +
** Add project's tutorial.
 +
* Continue research of using Qt6
 +
* __qualname__ attributes are almost done
 +
** This changes was required for the pickling support.
 +
 
 +
==== 7. May 2020 ====
 +
* CI Updates
 +
** Issues with the provisioning, for example the connection with PyPi, still in progress.
 +
** We will add a requirements.txt for provisioning.
 +
* Issues
 +
** PYSIDE-1255 Signal not reached in QML
 +
** Pickling Qt Enums PYSIDE-15
 +
*** Almost finished, but we are waiting for PYSIDE-1285 to be fix (modulename, qualname).
 +
** Many other minor bugs have been fixed, but still there are a couple of strange ones.
 +
** First attempts to build shiboken with Qt6
 +
** Ideas repo re-organization
 +
* Features
 +
** Commercial addons
 +
** Tutorials
 +
*** rcc
 +
*** uic
 +
*** QTranslator (*)
 +
*** ...
 +
** QtAssistant integration
 +
** loadUiType
 +
** The new way of registering QML properties needs to be applied to the code base.
 +
 
 +
==== 30. April 2020 ====
 +
* 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 ====
 +
* 5.14.2.1 Release
 +
* New bugs around threading:
 +
** https://bugreports.qt.io/browse/PYSIDE-1271
 +
** https://bugreports.qt.io/browse/PYSIDE-1255 needs to be reopen.
 +
* Documentation changes around the replacement of the old pysideuic module
 +
* Q_ENUM update
 +
** How to get a reference from the QMetaObjectBuilder without a QObject based project?
 +
* mypy compatibility
 +
** depends a bit on the Q_ENUM
 +
 
 +
==== 16. April 2020 ====
 +
 
 +
* Plan for 5.14.2-1 release
 +
* 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 ====
 +
 
 +
* Most bugs reported in 5.14.2 are fix on 5.14
 +
** 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 ====
  
==== 12. June 2019 ====
+
* 5.14.2 is out:
  - Example polish, introduced QSaveFile, fixed tabbed browser [https://bugreports.qt.io/browse/PYSIDE-1022 PYSIDE-1022]
+
** keep an eye on new bug reports.
  - Fixed [https://bugreports.qt.io/browse/PYSIDE-1017 PYSIDE-1017], named parameters in added functions
+
*** https://bugreports.qt.io/browse/PYSIDE-1253
  - 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]
+
*** https://bugreports.qt.io/browse/PYSIDE-1254
  - Making progress in the embedded support story.
+
*** https://bugreports.qt.io/browse/PYSIDE-1255
    - 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.
+
** The new documentation is out too: https://doc.qt.io/qtforpython/
    - 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.
+
* 'manylinux1' discussion
  - 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.
+
* CI status
  - PyInstaller maintainer still did not reply as promised on 2019-06-04 phone call.
+
* '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
  
==== 6. June 2019 ====
+
==== 26. March 2020 ====
  - 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 ====
+
* 5.14.2 Release
  - Qt 6 (e.g. Pyside 6.0?) https://bugreports.qt.io/browse/PYSIDE-904
+
* OKRs Update
  - Pyinstaller issues being a bottle neck at the moment for the deployment story
+
** Looking for commercial opportunities
  - Qt for Python 5.12.4 release
+
* PYSIDE-813 new discoveries found:
    - patches are accumulating
+
** There are a couple of issues with one of the PYSIDE-803 patches that will be solved soon.
    - TODO: branching, changelog, testing
+
** PYSIDE-164 is out of the picture
  - Qt for Python 5.13 release status
+
* Lambda functions for QWebEngineCallback PYSIDE-946 so we can expose the missing bindings.
    - need cleanup in Jira of fix versions
+
* QVariant conversions tweaks PYSIDE-1250
    - Qt 5.13 blog post
+
* Working on adding 'loadUiType' into PySide PYSIDE-1223
    - start generating 5.13 release wheels for testing
+
* Research on adding Python support for Qt's lupdate: PYSIDE-1252
  - Discussed Python 2 EOL on 1.1.2020
 
    - Current proposal is dropping Python 2 support in Qt for Python 6
 
    - Python 2 users can continue to use Qt for Python 5.15
 
  
==== 16. May 2019 ====
+
==== 19. March 2020 ====
  - 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 ====
+
* 5.14.2 Release preparations
  - Final fixes to uic to be able to generate Python [https://bugreports.qt.io/browse/PYSIDE-797 PYSIDE-797]
+
* Work on Widget gallery example
  - Refactorings in libpyside
+
* Done: Refinements to wheel-tester.py
  - Work on SQL book tutorial
+
* Done: Reworked test_wheel.py for macOS
  - Research into using Clang C++ API
+
* Done: Fixed PYSIDE-1247 signature warning in Python 3.6
  - [https://bugreports.qt.io/browse/PYSIDE-816 PYSIDE-816] [https://bugreports.qt.io/browse/PYSIDE-1003 PYSIDE-1003] Final fix is waiting for approval
+
* In progress: Instrumentation of PYSIDE-164/813
  - Viewer tool for [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803] nearly ready for browsing code
 
  
==== 2. May 2019 ====
+
==== 12. March 2020 ====
  - 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 ====
+
* CI Status
- Preparation for Qt for Python 5.12.3 release.
+
** Everything up and running
  - Replaced QtXmlPatterns by libxml2/libxslt for documentation generation
+
** 5.14.2 to be released next week hopefully.
  - Testing and final polishing of Python output mode of uic 5.14
+
* PYSIDE-803
  - New signatures related to PYSIDE-989
+
** Almost there!
  - Looking into OpenGL version functions [https://bugreports.qt.io/browse/PYSIDE-955 PYSIDE-955]
+
** retrieveMetaObject improvements.
  - Improving the usability of the "--reuse-build" option
+
** We will try to test it without the allow-thread patch to evaluate performance.
  - fixing new PyInstaller problem with Python 2.7.16
+
* PYSIDE-813
 +
** we will keep PYSIDE-164 open until we find a solution that fixes both.
 +
* Starting to evaluate std::function compatibility with Shiboken.
  
==== 18. April 2019 ====
+
==== 5. March 2020 ====
- Usage of QtXmlPattern in doc tool chain of Qt for Python
 
  - xml pattern deprecated in Qt 5.13
 
  - working on libxml2 replacement (has issues on platforms w/o libxml2 support)
 
  - in the long term, the qdoc generation process should really produce python docs too
 
  - updated coin to continue to include QtXmlPattern for Qt for Python builds
 
- [https://bugreports.qt.io/browse/PYSIDE-996 PYSIDE-996] fixed on SuSE but not yet RedHat
 
- working on docs to provide hints when working with pyinstaller
 
- [https://bugreports.qt.io/browse/PYSIDE-955 PYSIDE-955 ] in progress
 
- New attempt on [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
 
- shiboken [https://bugreports.qt.io/browse/PYSIDE-995 PYSIDE-995] call operator support
 
- custom scene graph rendering node in Python (related to PYSIDE-955 PYSIDE-989)
 
- improving primitive type conversion (by the various OpenGL related bugs like PYSIDE-989 or PYSIDE-955)
 
  
==== 11. April 2019 ====
+
* CI Update
- PyInstaller problems identified as COIN bugs [https://bugreports.qt.io/browse/PYSIDE-996 PYSIDE-996 ]
+
** Including Python 3.8
- continuing with [https://bugreports.qt.io/browse/PYSIDE-795 PYSIDE-795 ]
+
** Maybe using alternatives to have many Python versions.
  - handling pointers which are arrays arrays (patch defunct after too many other changes)
+
* Priority bugs
  - identifying remaining bad spots that need improving
+
** PYSIDE-803
- Started work on [https://bugreports.qt.io/browse/PYSIDE-955 PYSIDE-955 ]
+
*** major changes in (caching)
- Started diagnosis of [https://bugreports.qt.io/browse/PYSIDE-995 PYSIDE-995 ]
+
*** still other minor patches to be merged.
- Continued on work enabling extending namespaces across modules
+
*** 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]
  
==== 4. April 2019 ====
+
==== 27. February 2020 ====
- working in Wiki page on how to port a C++ application to Qt for Python (over time should turn into tutorial)
 
- further discussion how to handle snippets
 
- more tutorials (especially for PYSIDE-901)
 
- Further work on cross compilation for ARMv7
 
- Various fixes for Shiboken to handle namespaces in Qt better
 
- Improve Shiboken documentation composition/layout
 
- Bugfixing related to Qt file handling
 
  
==== 28. March 2019 ====
+
* CI Updates
- Qt for Python 5.12.2 released last on 22. March 2019
+
** 5.12 cherry-picks
- started to write up documentation on how to deploy with pyinstaller
+
* qApp
  - finding quite a few issues when using pyinstaller on Windows (and particular Python 2)
+
** Deprecation message or alias (when using QtWidgets.qApp)
  - macOS & Linux less problematic
+
* PYSIDE-803
- worked on documentation issues (like missing links for easier browsing)
+
** Missing patches to be merged
- investigated issues where shiboken didn't handle C++ namespaces across modules
+
*** Python 2.7 issues
- handle nullptr usage properly in docs
+
*** allow-thread commit message (add a changelog)
- more translation of C++ snippets to Python (is a never ending task as there are thousands of C++ snippets)
+
*** 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
  
==== 21. March 2019 ====
+
==== 20. February 2020 ====
- Qt for Python 5.12.2 release activities
 
  - some bugs and general CI issues kept delaying the generation of the final release wheels
 
  - most bugs were related to pyinstaller and other deployment tools
 
  - one last cxfreeze bug being integrated
 
  - next/subsequent set of wheels will be 5.12.2 release
 
- Lots of installer related discussions in the team
 
  - question is which installer/deployment tool to use/recommend
 
  - current decision is to provide guides/documentation for at least fbs and pyinstaller
 
- review of project's current release practices (in particular in the area of QA)
 
  - no outcome at this stage
 
- addressed issues in dev branch related to changes in Qt dev branch
 
- Qt for Python team joined Qt doc team to talk about ways how to improve Qt for Python docs
 
  
==== 14. March 2019 ====
+
* CI Updates
- Fixed broken documentation formatting; added deprecation information
+
** Cherry-picking some changes to 5.12 to fix the virtualenv 20 issues.
- [https://bugreports.qt.io/browse/QTBUG-74424 QTBUG-74424] 5.13 Release blocker affecting doc generation occurred
+
** macOS timeouts
- [https://bugreports.qt.io/browse/PYSIDE-932 PYSIDE-932]/[https://bugreports.qt.io/browse/PYSIDE-942 PYSIDE-942]: The embedding patch is mostly
+
** possibility of merging simple changes directly.
  working, but needs some refinement to be complete:
+
* qApp issues
  - The .pyc generation contradicts the Limited API and must be changed to
+
** Patches ready for review
    use source code.
+
* PYSIDE-803
  - The code isolation must be made explicit and complete, so that installers
+
** Patches needs some polishing
    ''don't recognize'' that there is something.
+
* Testrunner improvements
    Right now this was done in the wrong direction.
+
** stdout/stderr issues with ctest on windows
  Not much code and time necessary, just fixing ''the right'' bits.
+
** smart pointers tests crashing, due to qApp issues.
- PYSIDE-934 The Buffer protocol for Python 2 needed a special flag to be compatible.               
+
** Python 3.8 is also giving problems (DLLs missing)
- Added more features for the Python project wizards on QtCreator https://codereview.qt-project.org/#/c/255686/
+
** debug builds on windows does not work.
- Created a new tutorial for a workshop https://github.com/cmaureir/qtforpython_workshop
+
* Shiboken documentation being reorganized
 +
* Starting testing Python 3.9
  
==== 7. March 2019 ====
+
==== 13. February 2020 ====
- 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 ====
+
* CI updates
- Discussion on adding more python testing environments to be certain 3.5+ versions are properly working.
+
** Windows package signing will be possible, hopefully soon.
- [https://bugreports.qt.io/browse/PYSIDE-953 PYSIDE-953] fixed
+
* Documentation updates
- [https://bugreports.qt.io/browse/PYSIDE-934 PYSIDE-934] almost done
+
** Example gallery
- [https://bugreports.qt.io/browse/PYSIDE-931 PYSIDE-931] almost done
+
** WebChannel example merged,
- refcount bug fixes mathplotlib crashes:
+
* Python 3.8 changes on Windows are still being tackled.
  - [https://bugreports.qt.io/browse/PYSIDE-928 PYSIDE-928]
+
* Bugs
  - [https://bugreports.qt.io/browse/PYSIDE-937 PYSIDE-937]
+
** 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.
  - [https://bugreports.qt.io/browse/PYSIDE-943 PYSIDE-943]
+
** qApp issues to be solved, but we will remove the import features. qApp will remain as a built-in.
- WIP: Embedding to solve signature problems dependency of support directory since 5.12.1 . Will solve 
+
* OKRS 1Q/2020
  - [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 ====
+
==== 6. February 2020 ====
- 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 ====
+
* CI status and issues with the Qt provisioning 5.12
- 5.12.1 wheels had meta data issues and were redone with fixed meta data
+
** 5.12.7 release will take more time to add new features.
- discussed improving the integration of Python example code into Qt for Python docs
+
** 5.14 has some issues with OpenGLFunctions.
- [https://bugreports.qt.io/browse/PYSIDE-921 PYSIDE-921]
+
* Documentation: Interest for the new shiboken2 documentation structure and usage of the ApiExtractor.
- improved signature matching for custom types
+
* Python 3.8 compatibility with older branches.
- [https://bugreports.qt.io/browse/PYSIDE-816 PYSIDE-816] fixed and merged
+
* 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]
- [https://bugreports.qt.io/browse/PYSIDE-922 PYSIDE-922] fixed
+
* Suggestion about iterations a-la-python https://bugreports.qt.io/browse/PYSIDE-1216
- [https://bugreports.qt.io/browse/PYSIDE-45 PYSIDE-45] fixed
+
* Events
- looking at crashes when importing pandas & numpy (the order of imports matters when working around it)
+
** Qt World Summit 2020 Palm Springs
+
** PyCon US
==== 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 ====
+
==== 30. January 2020 ====
- Preparing 5.12.1 release
+
* 5.14.1 release rolling
  - Packages are looking good, likely to be released at same time as Qt 5.12.1 release
+
* Work on [https://bugreports.qt.io/browse/PYSIDE-1204 PYSIDE-1204]
- Submitted class bindings of Qt RemoteObjects for [https://bugreports.qt.io/browse/PYSIDE-862 PYSIDE-862]
+
* Work on [https://bugreports.qt.io/browse/PYSIDE-1191 PYSIDE-1191] PySide2 5.14 source now builds against Qt 5.12 as well
- Added classes QWebEngineHistory, WebEngineHistoryItem with required fix [https://bugreports.qt.io/browse/PYSIDE-906 PYSIDE-906]
+
* Further research on [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
- Have calls to method annotated as deprecated issue a warning
+
** full instrumentation of generated source for tracing,
- Fixed warnings, prepared Qt 5.13 bindings (based on current 5.13 API additions)
+
** discovery of new hooks to support. Still in flux.
- Looked into [https://bugreports.qt.io/browse/PYSIDE-816 PYSIDE-816], [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
+
* Fixed some issues of Python 3.8 (most prominently warnings about implicit conversion to integers for QFlags), will be fixed in 5.14.2
- Data visualization tutorial added
+
* 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.
- working on ways of substitution of C++ specific terms in docs against Python equivalents (e.g. nullptr and bool)
 
  
==== 24. January 2019 ====
+
==== 23. January 2020 ====
- Release branch for 5.12.1 exist
+
* 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
  - 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.
+
* Research on [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
- Prepared class bindings of Qt RemoteObject for PYSIDE-862 for review
+
* 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]
- Some creativity to keep integrations going due to COIN issues
+
* Improved the view of compare app for [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
  - Investigation of PYSIDE-803 is ongoing. The issue needs deep analysis to isolate the problem.
+
* Analysis of PyQt5 and SIP implementation
  
==== 17. January 2019 ====
+
==== 16. January 2020 ====
- Fixed PYSIDE-908, further investigation into PYSIDE-803 (free threading)
+
* CI/macOS problems are being worked.
- QfP 5.12.1 release being prepared
+
* qApp fix waiting to be merged.
- PYSIDE-797 (uic change ready for review)
+
* first attempts to tackle [https://bugreports.qt.io/browse/PYSIDE-803 PYSIDE-803]
- PYSIDE-862 (Qt RemoteObject module support)
+
* Python 3.8 fix to old branches is required for distributions using 5.12 LTS like Conda.
- PYSIDE-634 being fixed
+
* Working on Q_ENUM support.
- started to look at true cross compilation (PYSIDE-802)
+
* 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.
- Improving Qt Creator project template support (QTCREATORBUG-21824)
 
  
==== 10. January 2019 ====
+
==== 9. January 2020 ====
- Scope for Qt for Python 5.13 release
+
* [https://bugreports.qt.io/browse/PYSIDE-1185 PYSIDE-803] needs to be tackled soon, it's critical, and we cannot carry that into Qt6.
  -> relevant tasks marked with Fixversion 5.13 in bugreports.qt.io
+
* Python 3.8.1 on Windows has [https://codereview.qt-project.org/c/pyside/pyside-setup/+/285797/ some issues] while building.
  -> feature freeze for Qt for Python 5.13 (April 2019)
+
* qApp macro changes [https://codereview.qt-project.org/c/pyside/pyside-setup/+/285655 discussion].
- looked into case of corrupted meta data of wheel
+
* documentation updates are still pending.
- supporting named arguments for signals
+
* with the release of 5.14 we have been fixing many details from uic's Python support.
- some minimal support in Qt Creator to create a Qt for Python project
+
* designer's RUNPATH [https://codereview.qt-project.org/c/pyside/pyside-setup/+/285712 needed to be patched], waiting for approval,
- bug hunting in 5.12.0 release
+
* A modular way of packing wheels is being studied.
- working on Pyside-797
+
* Re-take the Python extensions for QtCreator project evaluation.
- further analysis of PYSIDE-803, working on an implementation plan
 
  
==== 3. January 2019 ====
+
== 2019 ==
- Completed: Complete The Signature Introspection (PYSIDE-510)
+
* [[Qt for Python Development Notes 2019]]
- 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 ==
 
== 2018 ==
  
 
* [[Qt for Python Development Notes 2018]]
 
* [[Qt for Python Development Notes 2018]]

Latest revision as of 08:56, 28 May 2020

2020

28. May 2020

  • Releases
  • Documentation
  • CI Status
  • Backlog status check it here
  • QML Integration update
    • We are working on finishing the implementation of Q_ENUM, to be able to use the singletonType registration
    • Additionally, we are looking into the uncreatableType registration too.
  • Development branch for Qt6
    • We need the following before jumping into dev.
      • QList/QVector
      • QString -> integrated (clarity)

21. May 2020

  • Holiday

14. May 2020

  • CI Updates
    • CI blocked due to some provisioning issues in red hat
    • 5.14.2.2 Release is on hold
    • 5.15 commercial release in preparation
    • License check
  • 5.15 Release
    • Pickling changes
    • Examples
    • loadUiType
  • Tutorials rcc, designer
    • Add project's tutorial.
  • Continue research of using Qt6
  • __qualname__ attributes are almost done
    • This changes was required for the pickling support.

7. May 2020

  • CI Updates
    • Issues with the provisioning, for example the connection with PyPi, still in progress.
    • We will add a requirements.txt for provisioning.
  • Issues
    • PYSIDE-1255 Signal not reached in QML
    • Pickling Qt Enums PYSIDE-15
      • Almost finished, but we are waiting for PYSIDE-1285 to be fix (modulename, qualname).
    • Many other minor bugs have been fixed, but still there are a couple of strange ones.
    • First attempts to build shiboken with Qt6
    • Ideas repo re-organization
  • Features
    • Commercial addons
    • Tutorials
      • rcc
      • uic
      • QTranslator (*)
      • ...
    • QtAssistant integration
    • loadUiType
    • The new way of registering QML properties needs to be applied to the code base.

30. April 2020

  • 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

16. April 2020

  • Plan for 5.14.2-1 release
  • 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

  • Most bugs reported in 5.14.2 are fix on 5.14
    • 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

26. March 2020

  • 5.14.2 Release
  • OKRs Update
    • Looking for commercial opportunities
  • PYSIDE-813 new discoveries found:
    • There are a couple of issues with one of the PYSIDE-803 patches that will be solved soon.
    • PYSIDE-164 is out of the picture
  • Lambda functions for QWebEngineCallback PYSIDE-946 so we can expose the missing bindings.
  • QVariant conversions tweaks PYSIDE-1250
  • Working on adding 'loadUiType' into PySide PYSIDE-1223
  • Research on adding Python support for Qt's lupdate: PYSIDE-1252

19. March 2020

  • 5.14.2 Release preparations
  • Work on Widget gallery example
  • Done: Refinements to wheel-tester.py
  • Done: Reworked test_wheel.py for macOS
  • Done: Fixed PYSIDE-1247 signature warning in Python 3.6
  • In progress: Instrumentation of PYSIDE-164/813

12. March 2020

  • CI Status
    • Everything up and running
    • 5.14.2 to be released next week hopefully.
  • PYSIDE-803
    • Almost there!
    • retrieveMetaObject improvements.
    • We will try to test it without the allow-thread patch to evaluate performance.
  • PYSIDE-813
    • we will keep PYSIDE-164 open until we find a solution that fixes both.
  • Starting to evaluate std::function compatibility with Shiboken.

5. March 2020

  • CI Update
    • 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

27. February 2020

  • CI Updates
    • 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

  • CI Updates
    • 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

  • CI updates
    • 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

  • CI status and issues with the Qt provisioning 5.12
    • 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 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

  • 5.14.1 release rolling
  • Work on PYSIDE-1204
  • Work on PYSIDE-1191 PySide2 5.14 source now builds against Qt 5.12 as well
  • Further research on 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 PYSIDE-1178 PYSIDE-1158 PYSIDE-1135 finally closed. One cleanup check in may follow.

23. January 2020

  • 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 PYSIDE-803
  • Proposed an "until" attribute for typesystem files to make it possible to build Pyside 5.14 against Qt 5.12 PYSIDE-1195
  • Improved the view of compare app for PYSIDE-803
  • Analysis of PyQt5 and SIP implementation

16. January 2020

  • CI/macOS problems are being worked.
  • qApp fix waiting to be merged.
  • first attempts to tackle 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 PYSIDE-803 is ready to try. Please check out https://git.qt.io/playground/pyside-compare.git and give feedback.

9. January 2020

  • PYSIDE-803 needs to be tackled soon, it's critical, and we cannot carry that into Qt6.
  • Python 3.8.1 on Windows has some issues while building.
  • qApp macro changes 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 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

2018