Univention Bugzilla – Bug 49163
Migrate management/univention-self-service to dh_python2
Last modified: 2019-11-13 16:04:35 CET
The package management/univention-self-service should be migrated to use dh_python instead of python-support. Migration-Guide: https://hutten.knut.univention.de/mediawiki/index.php/Python_DebHelper_Migration
Patch available in git:dh-python/management
The following line in "debian/univention-self-service-passwordreset-umc.install" seems to be unnecessary: "umc/python/passwordreset/sending/* usr/lib/python2.7/dist-packages/univention/management/console/modules/passwordreset/sending" All the needed stuff to build a python3 package, like build dependencies, is there. But no python3 package is build, is this ok? Otherwise feel free to merge
(In reply to Jürn Brodersen from comment #2) > The following line in > "debian/univention-self-service-passwordreset-umc.install" seems to be > unnecessary: > "umc/python/passwordreset/sending/* > usr/lib/python2.7/dist-packages/univention/management/console/modules/ > passwordreset/sending" No, it's not unnecessary. dh_umc doesn't install the email_body.txt file (and I think no subfolders at all when using python-support). > All the needed stuff to build a python3 package, like build dependencies, is > there. But no python3 package is build, is this ok? Yes, as discussed, I think it's okay. > Otherwise feel free to merge Done: univention-self-service (4.0.3-14) 312aff92c942 | Bug #49163: migrate to dh_python univention-self-service.yaml 312aff92c942 | Bug #49163: migrate to dh_python
What I tested: jenkins -> OK Upgrade -> OK Password change -> OK* Attribute change (phone) -> OK Files moved -> OK * I had to restart heimdal, see bug 49134. Upgrading only the self-service packages wasn't a problem -> OK [4.4-2 a811a43fa8] Bug #49163: yaml yaml -> OK -> Verified
<http://errata.software-univention.de/ucs/4.4/340.html>