Skip to content

pyside2@5.15.15_py312: update revision to force rebuild bottle#751

Open
ipatch wants to merge 1 commit intoFreeCAD:masterfrom
ipatch:rebuild-bottles-1x1
Open

pyside2@5.15.15_py312: update revision to force rebuild bottle#751
ipatch wants to merge 1 commit intoFreeCAD:masterfrom
ipatch:rebuild-bottles-1x1

Conversation

@ipatch
Copy link
Collaborator

@ipatch ipatch commented Nov 24, 2025

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 Nov 24, 2025

build error on macos-14 github hosted runner image, and ubuntu 22.04 hosted runner

2025-11-24T03:11:56.6353510Z --------------------------------------------------------
2025-11-24T03:11:56.6353920Z PYTHON=
2025-11-24T03:11:56.6355860Z PYTHONPATH=/opt/homebrew/Cellar/pyside2@5.15.15_py312/5.15.15_2/lib/python3.12/site-packages
2025-11-24T03:11:56.6356380Z --------------------------------------------------------
2025-11-24T03:11:56.6356940Z �[34m==>�[0m �[1mpython3.12 -c import PySide2�[0m
2025-11-24T03:11:56.6357530Z �[34m==>�[0m �[1mpython3.12 -c import shiboken2�[0m
2025-11-24T03:11:56.6358000Z �[34m==>�[0m �[1mpython3.12 -c import PySide2.QtCore�[0m
2025-11-24T03:11:56.6359800Z �[34m==>�[0m �[1mpython3.12 -c import PySide2.QtGui�[0m
2025-11-24T03:11:56.6360360Z �[34m==>�[0m �[1mpython3.12 -c import PySide2.QtNetwork�[0m
2025-11-24T03:11:56.6362800Z �[34m==>�[0m �[1mpython3.12 -c import PySide2.QtPositioning�[0m
2025-11-24T03:11:56.6363740Z �[34m==>�[0m �[1mpython3.12 -c import PySide2.QtQuick�[0m
2025-11-24T03:11:56.6364480Z �[34m==>�[0m �[1mpython3.12 -c import PySide2.QtSvg�[0m
2025-11-24T03:11:56.6366730Z �[34m==>�[0m �[1mpython3.12 -c import PySide2.QtWidgets�[0m
2025-11-24T03:11:56.6373730Z �[34m==>�[0m �[1mpython3.12 -c import PySide2.QtXml�[0m
2025-11-24T03:11:56.6374490Z �[34m==>�[0m �[1mpython3.12 -c import PySide2.QtWebEngineCore�[0m
2025-11-24T03:11:56.6374900Z Traceback (most recent call last):
2025-11-24T03:11:56.6375590Z   File "<string>", line 1, in <module>
2025-11-24T03:11:56.6376310Z ModuleNotFoundError: No module named 'PySide2.QtWebEngineCore'
2025-11-24T03:11:56.6456860Z ##[error]freecad/freecad/pyside2@5.15.15_py312: failed
2025-11-24T03:11:56.6467360Z An exception occurred within a child process:
2025-11-24T03:11:56.6467860Z   BuildError: Failed executing: python3.12 -c import\ PySide2.QtWebEngineCore
2025-11-24T03:11:56.6486880Z ##[error]test failed
2025-11-24T03:11:56.6487850Z /opt/homebrew/Library/Homebrew/formula.rb:3263:in 'block in Formula#system'
2025-11-24T03:11:56.6488330Z /opt/homebrew/Library/Homebrew/formula.rb:3199:in 'IO.open'
2025-11-24T03:11:56.6488760Z /opt/homebrew/Library/Homebrew/formula.rb:3199:in 'Formula#system'
2025-11-24T03:11:56.6489660Z /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/call_validation.rb:179:in 'UnboundMethod#bind_call'
2025-11-24T03:11:56.6497900Z /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/call_validation.rb:179:in 'T::Private::Methods::CallValidation.validate_call_skip_block_type'
2025-11-24T03:11:56.6499270Z /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/call_validation.rb:121:in 'block in Formula#create_validator_slow_skip_block_type'

@ipatch
Copy link
Collaborator Author

ipatch commented Nov 24, 2025

testing locally on my m1 asahi box there may be a edge case with the older OSes,

╰─λ bp312
Python 3.12.12 (main, Oct  9 2025, 11:07:00) [GCC 15.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PySide2.QtXml
>>> import PySide2.QtWidgets
>>> import PySide2.QtWebEngineWidgets
>>>

@ipatch
Copy link
Collaborator Author

ipatch commented Nov 24, 2025

on my local ubuntu 22.04 box,

╰─λ bp312                                                                                                               0 (2.782s)
Python 3.12.12 (main, Oct  9 2025, 11:07:00) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PySide2.QtXml
>>> import PySide2.QtWidgets
>>> import PySide2.QtWebEngineWidgets
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/linuxbrew/.linuxbrew/Cellar/pyside2@5.15.15_py312/5.15.15/lib/python3.12/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libQt5WebEngineWidgets.so.5: cannot open shared object file: No such file or directory
>>> import PySide2.QtWebEngineCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/linuxbrew/.linuxbrew/Cellar/pyside2@5.15.15_py312/5.15.15/lib/python3.12/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libQt5WebEngineCore.so.5: cannot open shared object file: No such file or directory
>>> ^D
╭─brewer ssh linuxmbp in /opt/code/hbfc (master ✔)
╰─λ fd -HIL 'old' -t d --exclude /proc --exclude /sys -exclude 'libQt5WebEngineCore' /home/linuxbrew/.linuxbrew/     0 (02:09.636)
[fd error]: Search path 'libQt5WebEngineCore' is not a directory.
╭─brewer ssh linuxmbp in /opt/code/hbfc (master ✔)
╰─λ fd -HIL 'libQt5WebEngineCore' $bp                                                                                   0 (2.806s)
/home/linuxbrew/.linuxbrew/Cellar/qt@5/5.15.17/lib/libQt5WebEngineCore.prl
/home/linuxbrew/.linuxbrew/Cellar/qt@5/5.15.17/lib/libQt5WebEngineCore.so
/home/linuxbrew/.linuxbrew/Cellar/qt@5/5.15.17/lib/libQt5WebEngineCore.so.5.15
/home/linuxbrew/.linuxbrew/Cellar/qt@5/5.15.17/lib/libQt5WebEngineCore.so.5.15.19
/home/linuxbrew/.linuxbrew/Cellar/qt@5/5.15.17/lib/libQt5WebEngineCore.so.5

@ipatch
Copy link
Collaborator Author

ipatch commented Nov 24, 2025

╰─λ l $bp/Cellar/qt@5/5.15.17/lib/libQt5*.so.5  | sed 's/.*libQt5//' | sed 's/\.so.*//' | sort                          0 (0.006s)
3DAnimation
3DCore
3DExtras
3DInput
3DLogic
3DQuick
3DQuickAnimation
3DQuickExtras
3DQuickInput
3DQuickRender
3DQuickScene2D
3DRender
Bluetooth
Bodymovin
Charts
Concurrent
Core
DataVisualization
DBus
Designer
DesignerComponents
EglFSDeviceIntegration
EglFsKmsSupport
Gamepad
Gui
Help
Location
Multimedia
MultimediaQuick
MultimediaWidgets
Network
NetworkAuth
Nfc
OpenGL
Pdf
PdfWidgets
Positioning
PositioningQuick
PrintSupport
Purchasing
Qml
QmlModels
QmlWorkerScript
Quick
Quick3D
Quick3DAssetImport
Quick3DRender
Quick3DRuntimeRender
Quick3DUtils
QuickControls2
QuickParticles
QuickShapes
QuickTemplates2
QuickTest
QuickWidgets
RemoteObjects
Script
ScriptTools
Scxml
Sensors
SerialBus
SerialPort
Sql
Svg
Test
TextToSpeech
VirtualKeyboard
WaylandClient
WaylandCompositor
WebChannel
WebEngine
WebEngineCore
WebEngineWidgets
WebSockets
WebView
Widgets
X11Extras
XcbQpa
Xml
XmlPatterns

looks like the qt@5 formula dropped the webengine{Core,Widgets} in the 5.15.17_8 bottle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant