FreeCAD moved from PyQt to PySide with 0.14, so this is actually an
aliased import that's stuck around for historical compatibility reasons.
The underlying problem is a little tricky to explain, but here goes: The
version of PySide 2 that was in Ubuntu was removed because of bugs with
Python 3.8. The version of PySide 2 that adds Python 3.8 support,
however, requires Qt 5.14 because of breaking changes (the pyside2-rcc
and pyside2-uic binaries were removed with their functionality added as
flags to /usr/bin/rcc and /usr/bin/uic provided by Qt.) Unfortunately,
the upstream commit that adds Python 3.8 support was applied after
significant changes from the version that was in Ubuntu, so backporting
that commit to add Python 3.8 support was not straightforward for me.
The same problem is manifesting in Fedora 32:
https://forum.freecadweb.org/viewtopic.php?f=10=45898
Here's the related Arch Linux bug report:
https://bugs.archlinux.org/task/64514
and here's the upstream bug for Python 3.8:
https://bugreports.qt.io/browse/PYSIDE-1140
Trying to switch to PyQt5 may be a solution, but since we haven't used
it in a long time it also may not be straightforward, and furthermore it
introduces a license complication (FreeCAD & PySide 2 are LGPL, PyQt5 is
GPL.)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876184
Title:
FreeCAD is missing PyQt5 dependency
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1876184/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs