Bug 55994 - Drop Python 2.7 packages and support
Summary: Drop Python 2.7 packages and support
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: General
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.1
Assignee: Florian Best
QA Contact: Christian Castens
URL:
Keywords:
: 56530 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-20 15:37 CEST by Florian Best
Modified: 2025-02-05 15:08 CET (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 2023-04-20 15:37:49 CEST
In UCS 5.1 all Python 2.7 packages should be removed.

- [ ] remove all python- packages
- [ ] remove them from base/univention-errata-level/maintained-packages.txt
- [ ] remove all dependencies to python- packages
- [ ] base/univention-base-files/conffiles/etc/python2.7/sitecustomize.py.d/ hooks have to be removed.
- [ ] The Python 2.7 version has to be removed from setup.py classifiers.
- [ ] UDM Extensions should only be installed for Python 3
- [ ] UMC modules should only be installed for Python 3
- [ ] remove Python version specification in UMC XML files
- [ ] remove the Python 3 migration sections from developer-reference
- [ ] remove all use of python "six" compatibility layer
Comment 2 Florian Best univentionstaff 2023-09-11 19:50:19 CEST
*** Bug 56530 has been marked as a duplicate of this bug. ***
Comment 3 Florian Best univentionstaff 2023-09-11 19:53:24 CEST
- [ ] update task list (base/univention-dvd/tasks/ucs520/task-ucs520)
-python-univention-license
+python3-univention-license
Comment 4 Florian Best univentionstaff 2023-10-13 11:31:15 CEST
(In reply to Florian Best from comment #0)
> - [ ] remove all use of python "six" compatibility layer
→ moved to Bug #56604
Comment 5 Christian Castens univentionstaff 2023-10-16 12:37:43 CEST
QA:
  - checked every point on the list from comment 0: OK
  - advisory: OK
Comment 6 Florian Best univentionstaff 2024-03-08 10:37:12 CET
univention-updater (16.0.7)
455344964a1c | chore(python): drop Python 2 binary packages

univention-unittests (3.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-s4-connector (15.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-radius (8.0.5)
455344964a1c | chore(python): drop Python 2 binary packages

univention-python-heimdal (11.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-python (14.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-pkgdb (14.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-package-template-python (9.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-management-console (13.0.7)
455344964a1c | chore(python): drop Python 2 binary packages

univention-licence-python (12.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-lib (10.0.5)
455344964a1c | chore(python): drop Python 2 binary packages

univention-ipcalc (12.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-directory-reports (13.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-directory-manager-rest (11.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-directory-manager-modules (16.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-debug-python (13.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-debhelper (3.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-config-registry (16.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-appcenter (10.0.5)
455344964a1c | chore(python): drop Python 2 binary packages

univention-app-appliance (5.0.3)
455344964a1c | chore(python): drop Python 2 binary packages

univention-admin-diary (3.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

univention-ad-connector (15.0.4)
455344964a1c | chore(python): drop Python 2 binary packages

ucs-test (11.0.6)
aa0d05485176 | test(check-ucr-templates): test idempotency of UCR templates with Python 3 only