Skip to content

pyside6_py313: checkin versioned formula of pyside6#763

Closed
ipatch wants to merge 9 commits intoFreeCAD:masterfrom
ipatch:pyside6_py313
Closed

pyside6_py313: checkin versioned formula of pyside6#763
ipatch wants to merge 9 commits intoFreeCAD:masterfrom
ipatch:pyside6_py313

Conversation

@ipatch
Copy link
Collaborator

@ipatch ipatch commented Feb 22, 2026

  • pyside6_py313: scaffold out new pyside6 formula for py313

  • pyside6_py313: tshoot test suite

  • pyside6_py313: tshoot test failure locally on asahi linux

  • pyside6_py313: tshoot test failure locally on asahi linux POSSIBLE FIX 🤞

  • Have you ensured that your commits follow the commit style guide?

brew style freecad/freecad/[NAME_OF_FORMULA_FILE]

output from running above command should output something similiar to the below

1 file inspected, no offenses detected
  • Have you ensured your commit passed audit checks, ie.
brew audit freecad/freecad/[NAME_OF_FORMULA_FILE] --online --new-formula

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

@ipatch
Copy link
Collaborator Author

ipatch commented Feb 22, 2026

there is a limitation for arm64 linux currently due to no bottles present for qtwebengine.

 on_linux do
    depends_on "gettext" => :test
    depends_on "mesa" # req for linking against -lintl
    # TODO: Add dependencies on all Linux when `qtwebengine` is bottled on arm64 Linux
    on_intel do
      depends_on "qtwebengine"
      depends_on "qtwebview"
    end
  end

and running brew audit on asahi linux

╰─λ brew audit freecad/freecad/pyside6_py313 --online --formula --verbose
freecad/freecad/pyside6_py313
  * Non-executables were installed to "/home/capin/homebrew/opt/pyside6_py313/bin".
    The offending files are:
      /home/capin/homebrew/opt/pyside6_py313/bin/metaobjectdump.py
      /home/capin/homebrew/opt/pyside6_py313/bin/project.py
      /home/capin/homebrew/opt/pyside6_py313/bin/qml.py
      /home/capin/homebrew/opt/pyside6_py313/bin/qtpy2cpp.py
      /home/capin/homebrew/opt/pyside6_py313/bin/deploy.py
      /home/capin/homebrew/opt/pyside6_py313/bin/android_deploy.py
      /home/capin/homebrew/opt/pyside6_py313/bin/requirements-android.txt
      /home/capin/homebrew/opt/pyside6_py313/bin/deploy_lib
      /home/capin/homebrew/opt/pyside6_py313/bin/project_lib
      /home/capin/homebrew/opt/pyside6_py313/bin/qtpy2cpp_lib
Error: 1 problem in 1 formula detected.

@ipatch
Copy link
Collaborator Author

ipatch commented Feb 22, 2026

on the github provided macos 26 runner, error message,

2026-02-22T20:34:34.8196440Z -- Installing: /opt/homebrew/Cellar/pyside6_py313/6.10.2/bin/project_lib
2026-02-22T20:34:34.8196610Z -- Installing: /opt/homebrew/Cellar/pyside6_py313/6.10.2/bin/project_lib/pyproject_toml.py
2026-02-22T20:34:34.8196780Z -- Installing: /opt/homebrew/Cellar/pyside6_py313/6.10.2/bin/project_lib/pyproject_json.py
2026-02-22T20:34:34.8196950Z -- Installing: /opt/homebrew/Cellar/pyside6_py313/6.10.2/bin/project_lib/newproject.py
2026-02-22T20:34:34.8197120Z -- Installing: /opt/homebrew/Cellar/pyside6_py313/6.10.2/bin/project_lib/project_data.py
2026-02-22T20:34:34.8197270Z -- Installing: /opt/homebrew/Cellar/pyside6_py313/6.10.2/bin/project_lib/__init__.py
2026-02-22T20:34:34.8197650Z -- Installing: /opt/homebrew/Cellar/pyside6_py313/6.10.2/bin/project_lib/utils.py
2026-02-22T20:34:34.8197950Z -- Installing: /opt/homebrew/Cellar/pyside6_py313/6.10.2/bin/project_lib/design_studio_project.py
2026-02-22T20:34:34.8198260Z -- Installing: /opt/homebrew/Cellar/pyside6_py313/6.10.2/bin/project_lib/pyproject_parse_result.py
2026-02-22T20:34:34.8198420Z CMake Error at build/sources/pyside-tools/cmake_install.cmake:137 (file):
2026-02-22T20:34:34.8198570Z   file INSTALL cannot find "/opt/homebrew/bin/Assistant.app": No such file or
2026-02-22T20:34:34.8198610Z   directory.
2026-02-22T20:34:34.8198670Z Call Stack (most recent call first):
2026-02-22T20:34:34.8198730Z   build/cmake_install.cmake:52 (include)
2026-02-22T20:34:34.8198740Z 
2026-02-22T20:34:34.8198740Z 
2026-02-22T20:34:34.8198740Z 

@ipatch
Copy link
Collaborator Author

ipatch commented Feb 22, 2026

github macos 26 runner

2026-02-22T22:49:12.4454960Z �[31m==>�[0m �[1m�[31mFAILED�[0m�[0m
2026-02-22T22:49:12.4465740Z ##[group]Full audit --formula freecad/freecad/pyside6_py313 --new output
2026-02-22T22:49:12.4466680Z freecad/freecad/pyside6_py313
2026-02-22T22:49:12.4467740Z   * Non-executables were installed to "/opt/homebrew/opt/pyside6_py313/bin".
2026-02-22T22:49:12.4501440Z     The offending files are:
2026-02-22T22:49:12.4502310Z       /opt/homebrew/opt/pyside6_py313/bin/requirements-android.txt
2026-02-22T22:49:12.4503070Z       /opt/homebrew/opt/pyside6_py313/bin/deploy.py
2026-02-22T22:49:12.4505320Z       /opt/homebrew/opt/pyside6_py313/bin/qtpy2cpp_lib
2026-02-22T22:49:12.4524280Z       /opt/homebrew/opt/pyside6_py313/bin/android_deploy.py
2026-02-22T22:49:12.4525570Z       /opt/homebrew/opt/pyside6_py313/bin/qtpy2cpp.py
2026-02-22T22:49:12.4526160Z       /opt/homebrew/opt/pyside6_py313/bin/deploy_lib
2026-02-22T22:49:12.4526890Z       /opt/homebrew/opt/pyside6_py313/bin/project_lib
2026-02-22T22:49:12.4527610Z       /opt/homebrew/opt/pyside6_py313/bin/qml.py
2026-02-22T22:49:12.4561270Z       /opt/homebrew/opt/pyside6_py313/bin/metaobjectdump.py
2026-02-22T22:49:12.4562350Z       /opt/homebrew/opt/pyside6_py313/bin/project.py
2026-02-22T22:49:12.4640110Z ##[error]1 problem in 1 formula detected.
2026-02-22T22:49:12.4686800Z ##[error]Non-executables were installed to "/opt/homebrew/opt/pyside6_py313/bin".
The offending files are:
  /opt/homebrew/opt/pyside6_py313/bin/requirements-android.txt
  /opt/homebrew/opt/pyside6_py313/bin/deploy.py
  /opt/homebrew/opt/pyside6_py313/bin/qtpy2cpp_lib
  /opt/homebrew/opt/pyside6_py313/bin/android_deploy.py
  /opt/homebrew/opt/pyside6_py313/bin/qtpy2cpp.py
  /opt/homebrew/opt/pyside6_py313/bin/deploy_lib
  /opt/homebrew/opt/pyside6_py313/bin/project_lib
  /opt/homebrew/opt/pyside6_py313/bin/qml.py
  /opt/homebrew/opt/pyside6_py313/bin/metaobjectdump.py
  /opt/homebrew/opt/pyside6_py313/bin/project.py

@ipatch ipatch changed the title pyside6_py313: check versioned formula of pyside6 pyside6_py313: checkin versioned formula of pyside6 Feb 23, 2026
@ipatch
Copy link
Collaborator Author

ipatch commented Feb 23, 2026


==> brew bottle --merge --write --no-commit --no-all-checks ./pyside6_py313--6.10.2.arm64_tahoe.bottle.json
==> brew uninstall --formula --force --ignore-dependencies freecad/freecad/pyside6_py313
==> brew uninstall --formulae --force --ignore-dependencies ada-url autoconf automake bison c-ares cmake cxxopts docbook docbook-xsl fmt gnu-getopt gnu-sed gobject-introspection googletest hdrhistogram_c libnghttp2 libnghttp3 libngtcp2 libtool libuv lit llhttp lzip m4 make meson molten-vk ninja node python-setuptools simdjson swig texinfo util-macros uvwasi vulkan-headers vulkan-loader xcb-proto xmlto xtrans
==> brew install --only-dependencies ./pyside6_py313--6.10.2.arm64_tahoe.bottle.tar.gz
==> brew install ./pyside6_py313--6.10.2.arm64_tahoe.bottle.tar.gz
==> brew linkage --test freecad/freecad/pyside6_py313
==> brew linkage --cached --test --strict freecad/freecad/pyside6_py313
==> FAILED
Full linkage --cached --test --strict freecad/freecad/pyside6_py313 output
  Files with missing rpath:
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/Qt3DAnimation.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/Qt3DCore.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/Qt3DExtras.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/Qt3DInput.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/Qt3DLogic.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/Qt3DRender.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtBluetooth.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtCharts.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtConcurrent.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtCore.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtDBus.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtDataVisualization.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtDesigner.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtGraphs.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtGraphsWidgets.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtGui.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtHelp.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtHttpServer.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtLocation.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtMultimedia.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtMultimediaWidgets.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtNetwork.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtNetworkAuth.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtNfc.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtOpenGL.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtOpenGLWidgets.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtPdf.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtPdfWidgets.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtPositioning.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtPrintSupport.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtQml.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtQuick.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtQuick3D.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtQuickControls2.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtQuickTest.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtQuickWidgets.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtRemoteObjects.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtScxml.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtSensors.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtSerialBus.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtSerialPort.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtSpatialAudio.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtSql.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtStateMachine.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtSvg.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtSvgWidgets.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtTest.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtTextToSpeech.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtUiTools.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtWebChannel.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtWebEngineCore.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtWebEngineQuick.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtWebEngineWidgets.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtWebSockets.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtWebView.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtWidgets.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/QtXml.cpython-313-darwin.so
    /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/shiboken6/Shiboken.cpython-313-darwin.so

==> FAILED
Full test freecad/freecad/pyside6_py313 output
  /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.8/bin/bundle 
  ==> Testing freecad/freecad/pyside6_py313
  ==> python3.13 -c import PySide6
  PySide6/__init__.py: Unable to import Shiboken from , /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages, /opt/homebrew/Cellar/python@3.13/3.13.12_1/Frameworks/Python.framework/Versions/3.13/lib/python313.zip, /opt/homebrew/Cellar/python@3.13/3.13.12_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13, /opt/homebrew/Cellar/python@3.13/3.13.12_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload, /opt/homebrew/lib/python3.13/site-packages: dlopen(/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/shiboken6/Shiboken.cpython-313-darwin.so, 0x0002): Library not loaded: @rpath/libshiboken6.cpython-313-darwin.6.10.dylib
    Referenced from: <9ACEAFA5-0497-3FAF-A004-66C169598A74> /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/shiboken6/Shiboken.cpython-313-darwin.so
    Reason: tried: '/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/shiboken6/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file), '/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/shiboken6/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file), '/opt/homebrew/lib/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file), '/opt/homebrew/lib/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file)
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
      import PySide6
    File "/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/__init__.py", line 143, in <module>
      _setupQtDirectories()
      ~~~~~~~~~~~~~~~~~~~^^
    File "/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/PySide6/__init__.py", line 66, in _setupQtDirectories
      from shiboken6 import Shiboken
    File "/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/shiboken6/__init__.py", line 27, in <module>
      from shiboken6.Shiboken import *
  ImportError: dlopen(/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/shiboken6/Shiboken.cpython-313-darwin.so, 0x0002): Library not loaded: @rpath/libshiboken6.cpython-313-darwin.6.10.dylib
    Referenced from: <9ACEAFA5-0497-3FAF-A004-66C169598A74> /opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/shiboken6/Shiboken.cpython-313-darwin.so
    Reason: tried: '/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/shiboken6/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file), '/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib/python3.13/site-packages/shiboken6/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file), '/opt/homebrew/lib/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file), '/opt/homebrew/lib/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libshiboken6.cpython-313-darwin.6.10.dylib' (no such file)
  Error: freecad/freecad/pyside6_py313: failed
  An exception occurred within a child process:
    BuildError: Failed executing: python3.13 -c import\ PySide6
  /opt/homebrew/Library/Homebrew/formula.rb:3323:in 'block in Formula#system'
  /opt/homebrew/Library/Homebrew/formula.rb:3259:in 'IO.open'
  /opt/homebrew/Library/Homebrew/formula.rb:3259:in 'Formula#system'

@ipatch
Copy link
Collaborator Author

ipatch commented Feb 23, 2026

now i'm getting the below build error.

[8](https://github.com/FreeCAD/homebrew-freecad/actions/runs/22323359315/job/64587244930#step:29:100)
==> FAILED
Error: test failed
Full test freecad/freecad/pyside6_py313 output
  /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.8/bin/bundle 
  ==> Testing freecad/freecad/pyside6_py313
  ==> python3.13 -c import PySide6
  ==> python3.13 -c import shiboken6
  ==> python3.13 -c import PySide6.QtCore
  ==> python3.13 -c import PySide6.QtGui
  ==> python3.13 -c import PySide6.QtNetwork
  ==> python3.13 -c import PySide6.QtPositioning
  ==> python3.13 -c import PySide6.QtQuick
  ==> python3.13 -c import PySide6.QtSvg
  ==> python3.13 -c import PySide6.QtWidgets
  ==> python3.13 -c import PySide6.QtXml
  ==> python3.13 -c import PySide6.QtWebEngineCore
  ==> python3.13-config --includes
  ==> python3.13-config --ldflags --embed
  ==> /usr/bin/clang++ -std=c++17 test.cpp -I/opt/homebrew/Cellar/pyside6_py313/6.10.2/include/shiboken6 -L/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib -lshiboken6.cpython-313-darwin -L/opt/homebrew/opt/gettext/lib -I/opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13 -I/opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13 -L/opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/lib/python3.13/config-3.13-darwin -lpython3.13 -ldl -framework CoreFoundation -o test
  test.cpp:1:10: fatal error: 'shiboken.h' file not found
      1 | #include <shiboken.h>
        |          ^~~~~~~~~~~~
  1 error generated.
  Error: freecad/freecad/pyside6_py313: failed
  An exception occurred within a child process:
    BuildError: Failed executing: /usr/bin/clang++ -std=c++17 test.cpp -I/opt/homebrew/Cellar/pyside6_py313/6.10.2/include/[8](https://github.com/FreeCAD/homebrew-freecad/actions/runs/22323359315/job/64587244930#step:29:100)
==> FAILED
Error: test failed
Full test freecad/freecad/pyside6_py313 output
  /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.8/bin/bundle 
  ==> Testing freecad/freecad/pyside6_py313
  ==> python3.13 -c import PySide6
  ==> python3.13 -c import shiboken6
  ==> python3.13 -c import PySide6.QtCore
  ==> python3.13 -c import PySide6.QtGui
  ==> python3.13 -c import PySide6.QtNetwork
  ==> python3.13 -c import PySide6.QtPositioning
  ==> python3.13 -c import PySide6.QtQuick
  ==> python3.13 -c import PySide6.QtSvg
  ==> python3.13 -c import PySide6.QtWidgets
  ==> python3.13 -c import PySide6.QtXml
  ==> python3.13 -c import PySide6.QtWebEngineCore
  ==> python3.13-config --includes
  ==> python3.13-config --ldflags --embed
  ==> /usr/bin/clang++ -std=c++17 test.cpp -I/opt/homebrew/Cellar/pyside6_py313/6.10.2/include/shiboken6 -L/opt/homebrew/Cellar/pyside6_py313/6.10.2/lib -lshiboken6.cpython-313-darwin -L/opt/homebrew/opt/gettext/lib -I/opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13 -I/opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13 -L/opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/lib/python3.13/config-3.13-darwin -lpython3.13 -ldl -framework CoreFoundation -o test
  test.cpp:1:10: fatal error: 'shiboken.h' file not found
      1 | #include <shiboken.h>
        |          ^~~~~~~~~~~~
  1 error generated.
  Error: freecad/freecad/pyside6_py313: failed
  An exception occurred within a child process:
    BuildError: Failed executing: /usr/bin/clang++ -std=c++17 test.cpp -I/opt/homebrew/Cellar/pyside6_py313/6.10.2/include/

hopefully the below statement will resolve this issue with the failing test.

shiboken_include = prefix/"shiboken6/include"

@ipatch
Copy link
Collaborator Author

ipatch commented Feb 23, 2026

  • TODO

need to rerun the macos 26 ci and see / find the new install layout and do a search for the shiboken.h header file. pretty sure something changed from v6.9 to v6.10 from what i've experienced in the past.

@ipatch ipatch self-assigned this Feb 26, 2026
@ipatch ipatch added the pr-pull label Feb 26, 2026
@github-actions github-actions bot closed this in 26d94ac Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant