| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PyPy never had a distinction between normal methods and
builtin methods like Python has by PyCFunction.
Not immediately on our demand, but because the NumPy
extension grew a problem out of exactly the same fact,
a new "builtin method" was created.
Using this new type, three errors concerning signatures
could be resolved:
sample::renaming
QtWidgets::signature_test
QtQml::qqmlnetwork_test
[ChangeLog][PySide6] The new PyPy "builtin method" is
now adopted and handled correctly in the signature module.
Task-number: PYSIDE-1843
Task-number: PYSIDE-535
Change-Id: I462fe67fe63453fc214e332645dba60a1d399f5c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The test has been observed to fail on ARM.
Add a processor tag to blacklisting that gices
"i364" or "arm" on macOS.
Pick-to: 6.2
Change-Id: I746c98a15160ab1cf9385986a9ecbef99d6a9f65
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The testing framework was written with the rule that
sections may not repeated - only the last entry would
persist.
When adding a whole row of PyPy entries, it turned out
to be a drawback. It is nicer if sections can be repeated
without interaction.
[ChangeLog][shiboken6] In blacklist.txt now sections can
be repeated. They will be combined as one section.
Task-number: PYSIDE-535
Change-Id: I5e2ac435c7508b542306b470eca50411ee01606b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These ten errors could be removed.
There were more GC calls needed.
Sometimes, calling GC twice did the trick.
We are now at 14 core errors, 18 in total :)
Task-number: PYSIDE-1843
Task-number: PYSIDE-535
Change-Id: Iafb3f93682639ba28e5326f3b8cdebf6670a7b69
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PyPy is very far and usable in almost all examples.
Still, about 25 bugs are remaining which are hiding
deep inside and can only over time and with some luck
be found.
Blacklist those remaining errors in order to publish
PyPy's 96% status. Currently 27 of 657 tests fail.
(24 in the core tests)
[ChangeLog][PySide6] PyPy is by 96% ready. We publish it
in the current state, hoping to solve the rest over time.
Task-number: PYSIDE-535
Change-Id: I718747c09709b5e040b7b95e86a8ac95dfd89cf4
Reviewed-by: Simo Fält <simo.falt@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Observed to crash with Python 3.6 on Linux:
Fatal Python error: take_gil: NULL tstate
Current thread 0x00007f3d4f596700 (most recent call first):
Thread 0x00007f3d597b8b80 (most recent call first):
File "sources/pyside6/tests/QtCore/qthread_test.py", line 101 in testSignals
Pick-to: 6.2
Change-Id: Ibb57ae06d530799b94d27e8c54b9bc387c2916ba
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
| |
Change-Id: I7555127e772be15267800ecf5bb1e13c72226953
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Seven tests create an RPython: NotImplemented error that needs
fixing in PyPy. We skip the error until solved, but keep an entry
in blacklist.txt in order to not forget about the fact.
This brings the error count from 30 down to 23.
Task-number: PYSIDE-535
Change-Id: I36c8d3e3e4b5b24508bae884a392f976c41964da
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PyPy has a major difference when it comes to distinguish
PyCFunction and PyFunction/PyMethod. PyCFunction is not
differentiated in PyPy and its handling collapses with
PyMethod handling.
A simple way to emulate the difference is by a redefinition
that uses a check for __module__, that does not exist for
builtins.
Observation: There are quite a number of false callbacks in
Qt that create wrong notifications. Before this error was fixed,
these errors were reported by the error handler. When handled
correctly, these spurious notifications are ignored, again.
The effect of this change is very good:
76 errors left instead of 99.
[ChangeLog][shiboken6] The override handling for PyPy was fixed
because PyPy has a different understanding of builtin functions.
Task-number: PYSIDE-535
Change-Id: I7d7419135a50df9a540e953b75890ca2ec28993c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PyPy has now an appendix of its name and version at
the end of the build path name.
There are special settings needed in command.py to locate
it in the folder structure.
An extra check for PyPy has been added to the test script,
because PyPy still has many errors. We use only one test run
and extended timeouts until some crucial errors are gone.
The blacklist file now understands pypy, pypy.7.3.6 etc.
Task-number: PYSIDE-535
Change-Id: Ic2ab88bf35c5a18320733eb2552eca9e4315d04f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use QCoreApplication.process_events() instead of
qApp..process_events() which causes:
AttributeError: 'PySide6.QtWidgets.QApplication' object has no attribute 'process_events'
Amends 9b5fa60d1fed5025e97c393ba1bab80f81ba833a.
Task-number: PYSIDE-1626
Pick-to: 6.1
Pick-to: 5.15
Change-Id: I7a268c8fa5b699813dfcb37a3093bd897fec381c
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The BindingManager::getOverride function computes the current
switch state from information of a type object. But the type object
must first be updated in case a switch has happened.
The solution was an extra update call at the beginning of the
function.
This solution _always_ works, with or without inheritance, for
Python >= 3.7.
[ChangeLog][shiboken6] Coexistence of different feature
selections works now, especially for UIC files and inheritance.
Fixes: PYSIDE-1626
Pick-to: 6.1
Pick-to: 5.15
Change-Id: I577331cfb2d7511110d1e16e729bed80985340a0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QItemSelection with no argument should create an empty
selector. This worked in Qt5.
In Qt6, everything works but the empty argument.
Without further analysis, this might be related to the
new [default] tag found in the Qt6 QItemSelection documentation?
Fixing this bug leads directly to the add operator, which returns
a list instead of a combined QItemSelection.
Fixed by removing `operator+(list<QItemSelectionRange>)` and re-adding it
with QItemSelection
Unrelated, occurred during bug hunting.
Task-number: PYSIDE-535
Change-Id: Ie5b881659e54fc0eebc8c9903df6e14eb2788565
Pick-to: 6.1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are two hard-to-solve refcounting bugs that are
only detected in debug mode.
For the new Windows debug test setup (hopefully coming
soon), these errors need to be ignored.
Task-number: PYSIDE-68
Task-number: PYSIDE-79
Change-Id: I86bb3fa06cc201e5c123aa3f7cff1d814d44e242
Pick-to: 6.1
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
| |
Partially revert 29edb488705c1498f67ff7c1958b27d617136da0, which
was integrated without macOS checks.
Change-Id: If74902a1944fc0bc106ab2f9d689a1235d075f1f
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
| |
Remove tests that pass by trial and error.
Change-Id: Ia4a1ca5c25ba4cddc882a29c580edc7c1b1957d1
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modifying the paths to work in the new way is a quite ambitious
task. But doing so improves the overall project structure and
makes imports unambiguous.
This patch should not be applied alone but with
move "shiboken6/shiboken6" to "shiboken6/Shiboken" temp
The reworked version of this patch no longer has different
structures in `build` and `install`.
Tested with
Python 3.6, 3.7, 3.8, 3.9 debug build
Python 3.6 debug install
Python 3.9 release install
Task-number: PYSIDE-1497
Change-Id: Id9d816dd825907f9359651e7e2f69f54e1ba46c9
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
| |
Pick-to: 6.0
Change-Id: Iae2540ea863cc2e4c33ac3798aa05f3592c9b513
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The QBackingStore part of qrasterwindow_test.py does not work
on macOS. We remove this part of the test that should not
even reside in PySide but is a Qt matter.
Change-Id: I520a5fd1336850d3e3883bcccb9b6a4b2cdafeda
Pick-to: 6.0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
| |
Change-Id: I61af0ec073341d89d602aa600060a4d9cc4acb19
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a years-old qflags test failing on Python 3.
It was blacklisted with the comment
"# Nested exception in Python 3"
This was nonsense: The test was wrong also for Python 2.
It just happened to work, because Python 2 had some weird
errors leaking. The real bug was in missing error handling
in cppgenerator.cpp .
See the main description in the issue.
Change-Id: Ia0f9466640e0eb33f1b8b26178d33f2be0bcb32f
Task-number: PYSIDE-1442
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
| |
It was using the old Qt Quick Controls 1.
Change-Id: Ia1d6a884267fdcd8e3808b08bf1efa12eb62b4dd
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
Tested using Qt 6 beta 5.
Task-number: PYSIDE-1339
Task-number: PYSIDE-904
Change-Id: I378770df929327aa8aa502751baac482702520d7
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
| |
Adapt CMake files, build scripts, tests and examples.
Task-number: PYSIDE-904
Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 422546c884b9115cc2f1ba35bca36cc09a0a71ec.
5.14 should follow default Qt5 branch again, but we still want to
update the PyInstaller to 3.6.
Change-Id: I801d1a40192b2ee2873ca04710c788879a35532d
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test has been observed to fail apparently since
the result was not collected.
Traceback (most recent call last)
File "sources/shiboken2/tests/smartbinding/smart_pointer_test.py", line 82, in testObjSmartPointer
self.assertEqual(integerCount(), 1)
AssertionError 2 != 1
File "sources/shiboken2/tests/smartbinding/smart_pointer_test.py", line 154, in testSmartPointersWithNamespace
self.assertEqual(integerCount(), 2)
AssertionError 3 != 2
Enforce a garbage collection to ensure the object is deleted.
Task-number: PYSIDE-454
Change-Id: I85baa059319a5286f94a5607c4de32bfc50ae0e0
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-66304
Change-Id: Ia6b02492c138aadefdf5c58c572bae54da7008c8
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
| |
Looks like a qt5.git upgrade broke something.
Change-Id: I57ec39b2ce2154745bb49028b5bf65dd87dcb34f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This test has failed three times until it passed.
We therefore blacklisted it on all platforms.
See also the bug report.
Task-number: PYSIDE-754
Change-Id: Ieb84eb6605d309eb3963fbc867fcf8f6fc497a3e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
| |
Task-number: PYSIDE-431
Change-Id: I31deef0dc12a4b3ce11a6300c8594598d78c4712
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
| |
Complements 458c258fbaf3b24ffa0132093be4d6af2f8dfd.
Task-number: PYSIDE-431
Task-number: PYSIDE-487
Change-Id: Ia432097722eb87bb74d08b81e9b304edcec4fe81
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|\
| |
| |
| | |
Change-Id: I254cc725505349e73c7abc290afc7abb85156997
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Testrunner checks if it is running in COIN.
If so, it runs each tested project 5 times and reports an error if
3 errors were found in a test function and not blacklisted.
The time is measured, so we know if we can run all the tests five
times or if we can run only the failed tests.
At the moment, the option COIN_RERUN_FAILED_ONLY is activated
by default. We can configure it by setting to false.
Since this change turns the registry existence test into a flaky test
(te tests generates it's missing file in the first run),
the registry existence test is no more blacklisted.
We simulate our own tee command now with decorated output.
Task-number: PYSIDE-578
Change-Id: I6390cd50398a97a168c85c6bb778984c6a5b90fc
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ie1b0e43f876cb4ac4228457ccb49ab43e63affe1
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|\|
| |
| |
| | |
Change-Id: I78039827d32c1d4d540a8b1b2afd4841e40d5c2c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The test used Python functionality to create a temporary
file which caused an access error on Windows, apparently due to
the file still being open. Besides, the temporary file was leaked.
Rewrite using QTemporaryFile and make sure the file is closed
and the QTemporaryFile is deleted before using it and delete it
in __del__().
Task-number: PYSIDE-431
Change-Id: I5d63e76ead7169d9f3f2267ee53aa91b601a3968
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I4813d79f6f4acb4dc47ec7dbfdee111de76a2fde
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ibef497a2439a05114eb2123e5f39c00aec8dc460
|
| |
| |
| |
| |
| |
| |
| | |
At the moment, we don't want to activate this.
Change-Id: Ie5ccb3513dce776cff20ee29b992a6aadc88320f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I772d789bd3c8628594f35c60738f2decf5e96aa1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I79637555fbfbd596dee4313baf80149d03bb5206
|
| |
| |
| |
| |
| | |
Change-Id: Idcbf62b58f097370f61a27d0f16bce630e817526
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I180ef64fd2a318b13bf51568ebc4a935f08f8d4e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I073b05f8b39c0af32aa57ce3589c1aac2d712213
|
| |
| |
| |
| |
| | |
Change-Id: If2c134595efbb1fab29e92c67afa1d58f3831df6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|/
|
|
|
|
|
|
|
| |
Since the Clang parser does not define Q_QDOC, the function is rejected due
to the callback parameter.
Task-number: PYSIDE-474
Change-Id: I932da6ceb31f3e197c121de10885293656247324
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: I7cbbb50dab06396059cb15afdd679abeb7177624
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
| |
The test crashes in COIN.
Task-number: PYSIDE-431
Change-Id: Ibd65c722212b21d0a6993152711d316fb02a2234
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
| |
bug_951 was enabled by 424652bf651ea2a5179e18e918ad6f63eb33fc81,
but seems to failing with Python3.
Task-number: PYSIDE-431
Change-Id: I38386810e469275e73f26448b71dd7cc68e586b5
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-431
Task-number: PYSIDE-452
Change-Id: I52519ccd9bb19448910a1741abee80fd3cbcc859
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|