Univention Bugzilla – Bug 54706
Drop unused Python 2 packages
Last modified: 2022-07-04 14:08:18 CEST
Almost all UMC modules are now running with Python 3 exclusively but are still installing Python 2 code which is not used anywhere. We should remove this code. Plus some additions: * Move /etc/univention/templates/files/etc/logrotate.d/univention-admindiary from python-univention-admin-diary into python3-univention-admin-diary. * Move /etc/univention/templates/files/etc/logrotate.d/univention-appcenter, /etc/univention/templates/files/etc/postgresql/* and /etc/univention/templates/modules/create_portal_entries.py from python-univention-appcenter into python3-univention-appcenter. * Move /var/cache/univention-appcenter, /var/lib/univention-appcenter/* from python-univention-appcenter into python3-univention-appcenter. * Move /usr/share/locale/de/LC_MESSAGES/* from python-univention-connector-s4 into python3-univention-connector-s4. * Move /usr/lib/univention-directory-listener/system/udm_extension.py, /usr/lib/univention-install/18python-univention-directory-manager.inst, /usr/share/locale/de/LC_MESSAGES/* from python-univention-directory-manager into python3-univention-directory-manager * Move /etc/univention/templates/files/etc/logrotate.d/univention-directory-manager from python-univention-directory-manager-cli into python3-univention-directory-manager-cli * Move /var/cache/univention-directory-reports from python-univention-directory-reports into python3-univention-directory-reports * Move /etc/univention/registry.info/{categories,variables}/python-univention-lib.cfg from python-univention-lib into python3-univention-lib.
All unused Python 2 modules of UMC modules have been removed. All directories and files e.g. translation/mo, UCR conffiles has been moved from python- to python3- debian package. Python 2 packages which are unused because the scripts using them are Python 3 only have been transformed into empty transitional dummy packages. I would also like to change https://git.knut.univention.de/univention/ucs/-/merge_requests/419 here - let's see on monday, if you agree. univention-system-activation (5.0.2-1) 6eaaf49142ca | Bug #54706: [system activation] drop Python 3 UMC package files univention-server-overview (3.0.2-1) 506402efe51c | Bug #54706: [server overview] drop Python 3 package files univention-saml (7.0.5-1) de8f5c0ecbdc | Bug #54706: [saml] drop Python 2 package files univention-s4-connector (14.0.8-2) 97d76baf2a55 | Bug #54706: [s4c] drop Python 2 packages univention-s4-connector (14.0.8-1) 4407a58c2beb | Bug #54706: [s4c] move essential files into Python 3 package univention-s4-connector (14.0.9-1) 70d8b54141df | Bug #54748: make sure Python 2.7 UDM modules are written again by the listener univention-radius (7.0.2-1) 9f2de958bda1 | Bug #54706: [radius] drop Python 2 packages univention-quota (14.0.2-1) babf9c27dbbc | Bug #54706: [quota] drop Python 3 UMC package files univention-printserver (13.0.3-1) a39a211a1e07 | Bug #54706: [prinserver] drop Python 3 package files univention-pkgdb (13.0.2-3) f091ec743b36 | Bug #54706: [pkgdb] drop Python 2 packages univention-pkgdb (13.0.2-2) ea3d46102625 | Bug #54706: [pkgdb] drop Python 3 UMC package files univention-pkgdb (13.0.2-1) 0bdef8cecb14 | Bug #54706: [pkgdb] move postinst into Python 3 package univention-management-console-module-udm (10.0.2-1) ac9c6bde8d47 | Bug #54706: [udm] drop Python 3 package files univention-management-console-module-top (9.0.1-1) 81fd78a99ba3 | Bug #54706: [top] drop Python 3 package files univention-management-console-module-lib (9.0.1-1) f604cbd9b1fa | Bug #54706: [lib] drop Python 3 package files univention-management-console-module-diagnostic (6.0.1-1) 58f409d6e016 | Bug #54706: [diagnostic] drop Python 3 package files univention-management-console-module-adtakeover (7.0.3-1) a06047850822 | Bug #54706: [adtakeover] drop Python 3 package files univention-management-console (12.0.13-1) e1d0f92fac2f | Bug #54706: [umc] drop Python 3 package files in templates univention-mail-dovecot (6.0.4-1) a3106de2c180 | Bug #54706: [dovecot] drop Python 2 package files univention-lib (9.0.12-1) 0b1894be642c | Bug #54706: [lib] move essential files into Python 3 package univention-join (12.0.4-1) 9404f5cf81b5 | Bug #54706: [join] drop Python 3 package files univention-directory-reports (12.0.2-2) dc2711fd77ca | Bug #54706: [directory-reports] drop Python 2 package univention-directory-reports (12.0.2-1) a4bc08ea1e66 | Bug #54706: [reports] move essential files into Python 3 package univention-directory-manager-rest (10.0.3-1) 197fa6a0aa34 | Bug #54706: [udm-rest] drop Python 2 package univention-directory-manager-modules (15.0.12-2) 666284bd031c | fixup! Bug #54706: [udm admincli] drop Python 2 package d84b1b99043e | fixup! Bug #54706: [udm] move essential files into Python 3 package 283f397b8081 | Bug #54706: [udm admincli] drop Python 2 package univention-directory-manager-modules (15.0.12-1) 4da03b93cabc | Bug #54706: [udm] move essential files into Python 3 package univention-directory-listener (14.0.6-1) 01d1f57fa5eb | Bug #54706: [listener] drop Python 2 package files univention-cloud-init (7.0.1-1) 36d5372e2c82 | Bug #54706: [cloud-init] drop Python 2 package files univention-appcenter (9.0.3-1) 7c903acc0175 | Bug #54706: [appcenter] move essential files into Python 3 package univention-app-appliance (4.0.1-1) 02fb06487970 | Bug #54706: [app-appliance] drop Python 2 packages univention-admin-diary (2.0.4-2) e8d79564045c | Bug #54706: [admin diary] drop Python 3 package files univention-admin-diary (2.0.4-1) a9df0996a074 | Bug #54706: [admin-diary] move essential files into Python 3 package univention-ad-connector (14.0.9-1) 53b0268dcd5d | Bug #54706: [adc] drop Python 2 packages changelog-5.0-2.xml 212bf5bca0e8 | Changelog Bug #54706
[5.0-2] 5fb391b188 fix[diary]: Fix missing dependency for create_logfile services/univention-admin-diary/debian/changelog | 6 ++++++ services/univention-admin-diary/debian/control | 1 + services/univention-admin-diary/debian/python3-univention-admin-diary.postinst | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) Package: univention-admin-diary Version: 2.0.4-3A~5.0.0.202206231831 Branch: ucs_5.0-0 Scope: ucs5.0-2
univention-directory-manager-rest (10.0.4-1) 3103de6b400b | Bug #54706: split into python3-univention-directory-manager-rest-client
OK: Code review OK: Update 5.0-1 to 5.0-2 FYI: ADC fails to restart if unconfigured - see Bug #53337 FIXED: changelog 59b26053d0
UCS 5.0-2 has been released. https://docs.software-univention.de/release-notes-5.0-2-en.html If this error occurs again, please clone this bug.