Bug 43336 - Remove XS-Python-Version == 2.6
Remove XS-Python-Version == 2.6
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.2
Other Linux
: P5 normal with 1 vote (vote)
: UCS 4.3
Assigned To: Florian Best
Dirk Wiesenthal
: interim-1
Depends on: 45841
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-13 16:31 CET by Florian Best
Modified: 2018-03-14 14:38 CET (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):
Max CVSS v3 score:
best: Patch_Available+


Attachments
patch (26.58 KB, patch)
2017-01-13 17:53 CET, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2017-01-13 16:31:12 CET
We should remove support for python2.6 in all of our components.
Comment 1 Florian Best univentionstaff 2017-01-13 17:53:46 CET
Created attachment 8351 [details]
patch

sed -i 's/2.6, \?//g' -i -- $(git grep -l XS-Python-Version.*2.6)
for file in $(find -name pyversions); do echo 2.7 > "$file"; done
Comment 2 Philipp Hahn univentionstaff 2017-02-02 10:57:59 CET
Also remove all those "XB-Python-Version" lines as they are deprecated/unused:
 find -name control\* -path \*/debian/control\* -exec sed -i -e '/^XB-Python-Version:/d' {} +

Also note that "XS-Python-Version" should be replaced by "X-Python-Version" (without the 'S')

<https://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-specifying_versions>
Comment 3 Philipp Hahn univentionstaff 2017-02-17 16:03:54 CET
AFAIK "XS-Python-Version" can be removed completely, as is is a relic from python-central - python-support only uses it with "/usr/share/python-support/private/parseversions --pycentral"

Otherwise uses "debian/pyversion" - `man 1 dh_pysupport`:
> If a file named debian/pyversions exists, it is used to determine the python versions with which the package can work.
Comment 4 Florian Best univentionstaff 2017-12-20 13:54:58 CET
Feature branch available: fbest/43336-python-versions
Removes all XS-Python-Version and XB-Python-Version in debian/control.
Comment 5 Florian Best univentionstaff 2017-12-21 12:03:01 CET
The changes have been merged. Packages will now be built:

changelog-4.3-0.xml
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
ba6a7acd9782 | Bug #43336: Changelog

univention-saml (5.0.0-4)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-package-template-python (6.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-directory-manager-module-example (7.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console-module-mrtg (6.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

phantomjs (3.0.0-1)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-heimdal (11.0.1-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console-module-top (7.0.1-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-policy (9.0.0-3)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-firewall (10.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-ldb-modules (6.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-ad-connector (12.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-samba (12.0.0-4)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-printserver (11.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-self-service (3.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-radius (5.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console (10.0.0-5)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-licence (9.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-server-overview (1.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-system-setup (11.0.2-3)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

ucs-windows-tools (5.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-appcenter (7.0.1-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-base-files (7.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-quota (12.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-doc (5.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console-module-diagnostic (4.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console-module-passwordchange (3.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-debug (10.0.0-3)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-config-registry (13.0.0-3)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-novnc (2.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console-module-udm (8.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-python-heimdal (8.0.0-4)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-app-appliance (2.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-ipcalc (9.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-updater (13.0.0-9)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console-module-reboot (7.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-nagios (11.0.0-3)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console-module-ucr (7.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console-module-ipchange (6.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-cloud-init (5.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

ucslint (7.0.0-3)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

ucs-test-tools (7.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-directory-manager-modules (13.0.0-4)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-directory-reports (10.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-virtual-machine-manager-daemon (7.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-system-info (8.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-demo-configuration (6.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-virtual-machine-manager-node (6.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-directory-listener (12.0.0-6)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-join (10.0.0-3)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

ucs-test (8.0.1-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-virtual-machine-manager-schema (8.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console-module-lib (7.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-directory-manager-modules (9.0.16-1)
r43336 | Bug #31916: allow a list of policy DNs for simplePolicy.policy_result()

univention-mail-dovecot (4.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-s4-connector (12.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-management-console-module-services (7.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version

univention-python (11.0.0-2)
26ef0598e1b1 | Bug #43336: Merge branch 'fbest/43336-python-versions' into 4.3-0
e7d1e244e98f | Bug #43336: remove XS-Python-Version
Comment 6 Florian Best univentionstaff 2017-12-21 16:30:17 CET
I can't build univention-directory-listener due to Bug #45841.
phantomjs cannot be build either, not this problem here.
All other packages are build.
Comment 7 Dirk Wiesenthal univentionstaff 2017-12-22 00:22:42 CET
For what it's worth, maybe you can remove XS-Python-Version from
  management/univention-management-console/doc/packaging.rst

at some point. Do not see the need to REOPEN anything for that, though.


univention-base-files: We still ship /etc/python2.6/sitecustomize.py - which is a bit strange as we do nothing with Python2.6 anymore. I still think that this is okay, as we might break something? (Probably not, though...)


What do you think of:
services/univention-cloud-init/debian/univention-cloud-init.links

Otherwise VERIFIED.
Comment 8 Stefan Gohmann univentionstaff 2018-03-14 14:38:42 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

If this error occurs again, please use "Clone This Bug".