Bug 56390 - Replace python-notifier functionality in UCS@school UMC modules
Replace python-notifier functionality in UCS@school UMC modules
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 5.0 v4-errata
Assigned To: Florian Best
J Leadbetter
https://git.knut.univention.de/univen...
:
Depends on: 56201
Blocks: 56264
  Show dependency treegraph
 
Reported: 2023-08-01 21:33 CEST by Florian Best
Modified: 2023-10-26 11:22 CEST (History)
2 users (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): Cleanup
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 2023-08-01 21:33:02 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.
Comment 3 Florian Best univentionstaff 2023-10-24 11:39:40 CEST
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
Comment 4 Tobias Wenzel univentionstaff 2023-10-26 11:22:30 CEST
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.