Univention Bugzilla – Bug 56390
Replace python-notifier functionality in UCS@school UMC modules
Last modified: 2023-10-26 11:22:30 CEST
The UCS@school modules should be adjusted to: 1. replace the direct use of python-notifier with functionality provided by UMC itself 2. replace the use of deprecated UMC Python APIs with newly provided APIs +++ This bug was initially created as a clone of Bug #56201 +++ We still use the python-notifier thread functionality in our UMC server functionality. We can simply replace this with native threading. There are also some UMC modules which uses notifier.threads directly. We should provide functionality in UMC, so that we can switch to that and we have the code under control. python3-notifier will be removed in UCS 5.1.
MR: https://git.knut.univention.de/univention/ucsschool/-/merge_requests/257
The UMCP and python-notifier functionality has been replaced with new APIs: ucs-test-ucsschool (7.3.145) 47f2679a513d | refactor: replace notifier.threads with new SimpleThread UMC API ucs-school-umc-wizards (12.0.14) 3c0ff402ab8f | chore: add changelog and advisory 50a62cd77c1b | refactor(umc): replace deprecated API with new UMC Python API 47f2679a513d | refactor: replace notifier.threads with new SimpleThread UMC API ucs-school-umc-printermoderation (17.1.4) 3c0ff402ab8f | chore: add changelog and advisory 50a62cd77c1b | refactor(umc): replace deprecated API with new UMC Python API 47f2679a513d | refactor: replace notifier.threads with new SimpleThread UMC API ucs-school-umc-installer (8.0.10) 50a62cd77c1b | refactor(umc): replace deprecated API with new UMC Python API 47f2679a513d | refactor: replace notifier.threads with new SimpleThread UMC API 3c0ff402ab8f | chore: add changelog and advisory ucs-school-umc-import (3.0.7) 3c0ff402ab8f | chore: add changelog and advisory 50a62cd77c1b | refactor(umc): replace deprecated API with new UMC Python API 47f2679a513d | refactor: replace notifier.threads with new SimpleThread UMC API ucs-school-umc-helpdesk (16.0.7) 3c0ff402ab8f | chore: add changelog and advisory 50a62cd77c1b | refactor(umc): replace deprecated API with new UMC Python API 47f2679a513d | refactor: replace notifier.threads with new SimpleThread UMC API ucs-school-umc-exam (10.0.10) 3c0ff402ab8f | chore: add changelog and advisory 50a62cd77c1b | refactor(umc): replace deprecated API with new UMC Python API 47f2679a513d | refactor: replace notifier.threads with new SimpleThread UMC API ucs-school-umc-distribution (18.0.8) 3c0ff402ab8f | chore: add changelog and advisory 50a62cd77c1b | refactor(umc): replace deprecated API with new UMC Python API 47f2679a513d | refactor: replace notifier.threads with new SimpleThread UMC API ucs-school-umc-computerroom (12.0.13) 3c0ff402ab8f | chore: add changelog and advisory d8872654f2e1 | chore(computeroom): remove obsolete comment b510324ebb15 | fix(computeroom): fix error handling 50a62cd77c1b | refactor(umc): replace deprecated API with new UMC Python API 47f2679a513d | refactor: replace notifier.threads with new SimpleThread UMC API ucs-school-lib (13.0.41) 3c0ff402ab8f | chore: add changelog and advisory 50a62cd77c1b | refactor(umc): replace deprecated API with new UMC Python API 47f2679a513d | refactor: replace notifier.threads with new SimpleThread UMC API .pre-commit.cfg 280ee321b4bd | ci(pyproject): remove python-notifier from ruff-isort config ucs-school-umc-wizards.yaml ucs-school-umc-printermoderation.yaml ucs-school-umc-installer.yaml ucs-school-umc-import.yaml ucs-school-umc-helpdesk.yaml ucs-school-umc-exam.yaml ucs-school-umc-distribution.yaml ucs-school-umc-computerroom.yaml ucs-school-lib.yaml 3c0ff402ab8f | chore: add changelog and advisory
Errata updates for UCS@school 5.0 v4 have been released. https://docs.software-univention.de/ucsschool-changelog/5.0v4/en/changelog.html https://docs.software-univention.de/ucsschool-changelog/5.0v4/de/changelog.html If this error occurs again, please clone this bug.