freecad@1.1.1_py313_qt6: experiment with running non gui test suite - #825
freecad@1.1.1_py313_qt6: experiment with running non gui test suite#825ipatch wants to merge 12 commits into
Conversation
|
obviously not the most helpful error message. error message |
|
and from the github ci, github ci error message |
|
been going through each test module of the test suite. and this (the below stacktrace) is definitely an issue.
output |
|
and the following test module causes the freecad binary to crash as well. output |
|
and output from running test module for BIM / arch wb |
|
doing a little more digging apparently this might be a qt pyside v6.11 issue. ╰─λ git show 1c599a2248
commit 1c599a22484b8ddff803483c184f00fe6c4d9c9c
Author: marioalexis84 <53127171+marioalexis84@users.noreply.github.com>
Date: Fri Apr 17 06:32:35 2026 -0300
Draft: Avoid using QTextStream due to bug in PySide6.11 (#29439)
diff --git a/src/Mod/Draft/draftutils/params.py b/src/Mod/Draft/draftutils/params.py
index 3018de3f7c..88ece49bfe 100644
--- a/src/Mod/Draft/draftutils/params.py
+++ b/src/Mod/Draft/draftutils/params.py
@@ -697,7 +697,9 @@ def _get_param_dictionary():
# https://stackoverflow.com/questions/14750997/load-txt-file-from-resources-in-python
fd = QtCore.QFile(fnm)
if fd.open(QtCore.QIODevice.ReadOnly | QtCore.QFile.Text):
- text = QtCore.QTextStream(fd).readAll()
+ # avoid using QTextStream due to bug in PySide6.11
+ # text = QtCore.QTextStream(fd).readAll()
+ text = fd.readAll().toStdString()
fd.close()
else:
continue |
bf3bdbc to
7952794
Compare
7952794 to
904b26e
Compare
|
test failure with github provided ci runner |
|
running the test suite locally on my m1 running asahi cam workbench test failure output |
|
and apparently i'm bad at testing these patch files 🤦♂️ (will try and resume once i finish the upstream bisect first) |
|
testing locally with the new patch seems to be working 🤞. now just waiting on the ci. |
|
logging into the macos 26 github provided ci runner i get the following results when attempting to run the test suite. macos 26 test resultsalso i believe i need to update the path in the formula to the correct location for the i believe a possible fix to find the binary on macos test do
freecadcmd = OS.mac? ? prefix/"MacOS/FreeCADCmd" : bin/"FreeCADCmd"
system freecadcmd, "-t", "0"
end |
20d34fa to
1d6b0b3
Compare
1d6b0b3 to
1d28dfb
Compare
7313a61 to
6e97dd5
Compare
|
progress github provided ubuntu 24.04 arm runner output |
|
same failing test with github provided ubuntu 24.04 github hosted runner, |
…fg and system.cfg
…cify path to directories
…cify path to directories
6575558 to
93ad58d
Compare
update june 26 2026
started the below homebrew discussion about the permission issues posted in this PR.
update june 24 2026
basically certain tests from the test suite are failing on macos due to permission related issues possibly because of some new homebrew sandboxing that has recently been enforced 🤔. hopefully setting an env var for the CI environment will be enough, but will continue to troubleshoot time permitting.
latest error messages
error messages
output from running above command should output something similiar to the below
Not all PRs require passing these checks ie. adding
[no ci]in the commit message will prevent the CI from running but PRs that change formula files generally should run through the CI checks that way new bottles are built and uploaded to the repository thus not having to build all formula from source but rather installing from a bottle (significantly faster 🐰 ... 🐢)For more information about this template file learn more