[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ A ] [ B ] [ next ]

Debian Python Policy
Appendix B - Upgrade Procedure


This section describes the procedure for the upgrade when the default python version is changed in the unstable distribution, requiring recompilation of many python-related packages.

  1. The Debian Python maintainer decides for the new default Debian Python version and announces the upgrade.
  1. Upload of the python core metapackages python, python-dev, python-doc and several python-module, depending on the new pythonX.Y, pythonX.Y-dev and so on.

    These new packages will make uninstallable all python packages depending on the previous python with a dependency requiring version less than X.Y.

  1. From this point, all these python modules/packages which are uninstallable have to be rebuilt against the new python version, fixing dependencies and build-dependencies.

    NMUs are allowed after notifying the package maintainer to have all these packages rebuilt in a reasonable timeline.

  1. File bug report against packages and/or make NMU's for packages that are not adapted by their maintainer.
  1. If a package doesn't work with the new python version, make it use the older version as described in Programs Using a Particular Python Version, Section 3.2.
  1. When all packages are updated (or removed), the new python packages can migrate to testing together with all packages depending on it.

[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ A ] [ B ] [ next ]

Debian Python Policy

version 0.3.7.2

Neil Schemenauer nas@debian.org
Matthias Klose doko@debian.org
Gregor Hoffleit flight@debian.org
Josselin Mouette joss@debian.org