Univention Bugzilla – Bug 32821
univention-updater should use UCS_Version definition from python-univention-lib
Last modified: 2021-05-25 15:58:57 CEST
The definition of UCS_Version was copied from univention-updater to python-univention-lib for bug #32409. univention-updater should use the UCS_Version definition from python-univention-lib, the duplicate code should be removed.
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4. If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Patch @ <https://git.knut.univention.de/univention/ucs/-/commits/python3/udm?utf8=%E2%9C%93&search=Bug+%2332821> This should be fixed with the Python 3 migration as otherwise two implementations have to be migrated/maintained.
The univention-lib part of the patch has been applied in Bug #51592.
The univention-lib part is done The univention-updater part needs to wait until the new repository layout is implemented.
So then, I reopen.
Wrong: 0c24811b2d607b3d242106ce90fb84c5aec5d791 also includes the updater part.
OK: merging of implementations FYI: e.g. `UCS_Version([4, 4, 5, 0])` changed from TypeError → ValueError. OK: changelog entry
From Bug #51316: [5.0-0] 4c7113923c fix Bug #46600 lib: Fix PEP 484 type annotations [5.0-0] 4115e20913 fix Bug #46600 lib: Name binary unit test cases [5.0-0] e833163b17 fix Bug #46600 lib: Fix UCS_Version comparison Package: univention-lib Version: 9.0.11-1A~5.0.0.202102011824
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".