Univention Bugzilla – Bug 52429
Mark App Center LDAP extensions as Python3 incompatible (4.4)
Last modified: 2021-02-19 20:53:32 CET
As preparation to the UCS-5 release the UDM extensions, join hooks and LDAP ACL templates that contain Python code need to be marked as Python2 or Python3 compatible, see https://filestore.knut.univention.de/owncloud/f/975138 . Otherwise the update will get blocked. Some of the UDM extensions registered by the App center have been adjusted in UCS 5 and can be marked e.g. as "--ucsversionend 4.4-99". They will get replaced in UCS-5 anyway. The output of git diff 4.4-6 5.0-0 -- management/univention-appcenter/udm shows that udm/handlers/appcenter/app.py needed some adjustment for Python3.
If Apps like the S4C are only installed on a UCS 4.4 system other than the Primary Directory Node (already updated to UCS 5), then the package needs to register a module that is also Python 3 compatible. Either by making it Py2+3 compatible or by registering two separate ones. I've backported the Python3 adjustments for the UDM extensions part of the Appcenter. Cherry-picked the following parts of the UCS 5.0-0 commits: git show da3ab2d784 management/univention-appcenter/udm
fd4da7d024 | add python 3 compatibility faf4eef014 | python*-appcenter depends on python-u-lib a0e2b0fbfb | Mark Appcenter UDM extensions as Python3 compatible 4a0640ccaa | Branch merge 2ceba4094f | 4.4-7 changelog Package: univention-appcenter Version: 8.0.11-137A~4.4.0.202011261510 Branch: ucs_4.4-0 Scope: ucs4.4-7
Changes OK Upgrade OK flake8 OK jenkins OK Changelog OK -> Verified
UCS 4.4-7 has been released: https://docs.software-univention.de/release-notes-4.4-7-en.html If this error occurs again, please use the 'Clone This Bug' option.