Bug 52063 - Migrate univention-python to Python3
Summary: Migrate univention-python to Python3
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: General
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0
Assignee: Florian Best
QA Contact: Jürn Brodersen
URL:
Keywords:
Depends on:
Blocks: 52956
  Show dependency treegraph
 
Reported: 2020-09-19 11:36 CEST by Florian Best
Modified: 2021-05-25 15:59 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2020-09-19 11:36:24 CEST
univention-python needs to be migrated to Python 3.

IMHO we should remove:
utf8.py
dns.py
ipv4.py
misc.py (move close_fd_spawn to UDM?)
hooks.py if we can drop it in the updater, otherwise move it to the updater.

So only uldap.py and password.py remains.
Comment 1 Florian Best univentionstaff 2020-09-22 09:30:40 CEST
univention-python (13.0.1-0)
14ab7349dc1e | Bug #52063: remove obsolete modules

changelog-5.0-0.xml
73c12c39786a | Changelog Bug #52063

ucslint test cases:
4f55970f0ee4 | Bug #52063 ucslint: remove use of univention.misc

univention-updater (15.0.0-8)
493242a06dcc | Bug #52063: move univention.hooks.HookManager to updater

univention-ssl (4.0.1-1)
4f55970f0ee4 | Bug #52063 ucslint: remove use of univention.misc

univention-directory-logger (11.0.0-1)
6266b933aa9e | Bug #52063 logger: remove use of univention.misc

univention-directory-listener (14.0.0-2)
e419beddedee | Bug #52063 UDL: remove use of univention.misc

univention-directory-manager-modules (15.0.2-13)
52598bc87d5f | Bug #52063: move univention.misc.close_fd_spawn to UDM
53cb8ec1f388 | Bug #52063 UDM: remove use of univention.misc
Comment 2 Jürn Brodersen univentionstaff 2020-10-07 13:16:21 CEST
What I tested:
The removed modules are not used any more -> OK
flake8 (python3) for uldap.py and password.py ->OK
jenkins -> OK
changelog -> OK

-> Verified
Comment 3 Florian Best univentionstaff 2021-05-25 15:59:54 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".