Univention Bugzilla – Bug 49161
Migrate management/univention-management-console to dh_python2
Last modified: 2019-10-29 08:47:54 CET
The package management/univention-management-console should be migrated to use dh_python instead of python-support. Migration-Guide: https://hutten.knut.univention.de/mediawiki/index.php/Python_DebHelper_Migration
Depends on: ucs-school-umc-computerroom/italc2-ctrl.py:sys.path.insert(0, '/usr/share/pyshared/univention/management/console/modules/computerroom')
Depends on: base/univention-updater/umc/python/updater/__init__.py:HOOK_DIRECTORY = '/usr/share/pyshared/univention/management/console/modules/updater/hooks'
test/utils/utils.sh: sed -i 's/if mod._connect_retries > 200:/if mod._connect_retries > 1200:/' /usr/share/pyshared/univention/management/console/protocol/session.py
(In reply to Florian Best from comment #1) > Depends on: > ucs-school-umc-computerroom/italc2-ctrl.py:sys.path.insert(0, > '/usr/share/pyshared/univention/management/console/modules/computerroom') This is a file which is not shipped in any package.
Patch in dh-python/49161-univention-management-console. It allows to set PythonVersion in debian/*.umc-module so that we can dynamically create python2 / python3 packages.
The package has been migrated to dh_python2. It seems that UMC modules which use as build dependency dh_umc are not affected by the changes in dh_umc until they change their debhelper to dh_python as well. That's very nice and eases the migration very much. ucs-test 843968186714 | Bug #49161: fix python path univention-management-console (11.0.4-36) 6e62ffc72d60 | Bug #49161: pep8 cf922604090a | Bug #49161: make python version in umc debhelper selectable dfba74fd3834 | Bug #49161: libfuturize.fixes.fix_print_with_import 9582a46612fe | Bug #49161: add python3-univention-management-console c7ea7204d09b | Bug #49161: migrate univention-management-console to dh_python2 univention-management-console.yaml 1bb1bc190ba8 | Bug #49161: Merge branch 'dh-python/49161-univention-management-console' into 4.4-2 1828d1ceb83e | YAML Bug #49161 univention-management-console (11.0.4-37) 1bb1bc190ba8 | Bug #49161: Merge branch 'dh-python/49161-univention-management-console' into 4.4-2 59322d6f01fc | Bug #49161: migrate package to dh_python
OK: upgrade per UMC OK: dpkg -L OK: import of univention-management-console OK: import of py-support module OK: functionality of the UMC OK: jenkins OK: yaml -> verified
<http://errata.software-univention.de/ucs/4.4/310.html> <http://errata.software-univention.de/ucs/4.4/311.html> <http://errata.software-univention.de/ucs/4.4/312.html> <http://errata.software-univention.de/ucs/4.4/313.html> <http://errata.software-univention.de/ucs/4.4/314.html> <http://errata.software-univention.de/ucs/4.4/315.html> <http://errata.software-univention.de/ucs/4.4/316.html> <http://errata.software-univention.de/ucs/4.4/318.html> <http://errata.software-univention.de/ucs/4.4/319.html>