Univention Bugzilla – Bug 43336
Remove XS-Python-Version == 2.6
Last modified: 2018-03-14 14:38:42 CET
We should remove support for python2.6 in all of our components.
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
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>
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.
Feature branch available: fbest/43336-python-versions Removes all XS-Python-Version and XB-Python-Version in debian/control.
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
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.
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.
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".