Univention Bugzilla – Full Text Bug Listing |
Summary: | Migrate base/univention-python to dh_python2 | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | General | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Jürn Brodersen <brodersen> |
Severity: | normal | ||
Priority: | P5 | CC: | troeder |
Version: | UCS 4.4 | ||
Target Milestone: | UCS 4.4-0-errata | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=49060 | ||
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): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 28497, 49136, 49145, 49506, 50425 |
Description
Florian Best
2019-03-28 10:26:01 CET
@Daniel, feel free to take this bug, if you have time. Migrated the univention package to dh_python2. New location of modules is /usr/lib/python2.7/dist-packages/univention/. Old modules+packages in the location /usr/lib/pymodules/python2.7/univention/, /usr/share/pyshared/univention/ are still supported via a namespace package. I found no hardcoded references to any of the python files. The services UMC, UDL, UDM-CLI, samba, heimdal work after/during the upgrade. The discussion was mainly done in Bug #49060. univention-python (12.0.0-3) e1db749da65f | Bug #49140: migrate univention-python to dh_python2 univention-python.yaml 3c21cd02bd4b | YAML Bug #49140 commit 4ea26a93337d5946f84b4399e22c051a743a15de Bug #49140: check for uldap.py existence test/scenarios/autotest-201-ucsschool-singleserver-s4-all-components.cfg | 3 ++- The python3-univention package wasn't build with pybuild, instead the files were just copied with a debian install file. I fixed that by adding python3-all as a build dependency and removing the install file. I had to explicitly set the changelog encoding in setup.py because our pbuilder environment doesn't seem to be using an utf-8 locale and the python3 build failed with an encoding error... [4.4-0 1e9429fb24] Bug #49140: improve python3 build process [4.4-0 c39ca28339] Bug #49140: Fix changelog encoding [4.4-0 21ea1e370c] Bug #49140: yaml What I tested: Note: univention.ipcalc -> python-support univention.dns -> dh_python (from this package) Imported ipcalc first and dns afterwards -> both work -> OK Imported dns first and ipcalc afterwards -> both work -> OK Tests look good -> OK -> Verified |