Skip to content

Changelog python-defaults (2.7.17-2ubuntu4)

2020

python-defaults (2.7.17-2ubuntu4) focal; urgency=medium

   * Correct command-not-found XB-Cnf headers LP: #1867157:
     - Drop Extra-Commands headers, not needed
     - Add XB- to ensure Visible-Pkgname actually is included in the binary
       package heders

python-defaults (2.7.17-2ubuntu3) focal; urgency=medium

   * No-change rebuild with fixed binutils on arm64.

python-defaults (2.7.17-2ubuntu2) focal; urgency=medium

   * dh_python2: Rewrite shebangs to python2, generate dependencies
     on python2.

python-defaults (2.7.17-2ubuntu1) focal; urgency=medium

   * Stop building the python, python-dev, python-dbg, python-doc,
     python-minimal, libpython-dev, libpython-dbg, libpython-stdlib packages.

2019

python-defaults (2.7.17-2) unstable; urgency=medium

   * dh_python2.py: Use python2 in the shebang. Closes: #944894.

python-defaults (2.7.17-1) unstable; urgency=medium

   * Bump version to 2.7.17.
   * Bump standards version.
   * Bump debhelper compat for the tests to 9.

python-defaults (2.7.16-1) unstable; urgency=medium

   * Bump version to 2.7.16.

python-defaults (2.7.15-4) unstable; urgency=medium

   [ Matthias Klose ]
   * Fix some lintian warnings.
   * Fix typo in dh_python2(1) (Chris Lamb). Closes: #901079.
   * Bump standards version.
   * python-minimal: Make the python-central conflict unversioned.
     Closes: #910234.
 
   [ Scott Kitterman ]
   * Remove myself from uploaders

2018

python-defaults (2.7.15-3) unstable; urgency=medium

   * Fix pyversions -d invocation. Closes: #900983.

python-defaults (2.7.15-2) unstable; urgency=medium

   * Don't install the pyclean and pycompile manpages in python-minimal.
   * Don't install dh_python2 manpage in python.
   * Remove unused xsl files, remove unused code in the rules file.

python-defaults (2.7.15-1) unstable; urgency=medium

   * Bump version to 2.7.15.
   * Split out a set of python2 packages, and let the python packages depend on
     it. No changes for the "-all" packages.
   * Update Vcs attributes.
   * Remove Barry Warsaw as uploader.
   * Remove the FAQ for Python2.
   * Remove the Debian Python policy, now found in the python3 package.

python-defaults (2.7.15~rc1-1) unstable; urgency=medium

   * Bump version to 2.7.15~rc1.
   * debian/control.in (Michael Vogt):
     - add Cnf-Visible-Pkgname hint to ensure command-not-found recommends
       installing "python" instead of "python-minimal" when it is missing.

2017

python-defaults (2.7.14-4) unstable; urgency=medium

   * Stop building the python-examples and idle2 packages.
   * python: Stop shipping the 2to3 symlink (now in the 2to3 package).

python-defaults (2.7.14-3) unstable; urgency=medium

   * Stop using priority extra for the -dbg packages.
   * pycompile, pyclean, pyversions: Use python2 as the shebang to guard
     against people fiddling around with the python symlink or having a
     python3 installed as python in /usr/local. Closes: #864599. LP: #1715062.
   * Rename the idle package to idle2. idle is now built for python3.
   * Fix quoting in the prerm-clean autoscript. Closes: #815134.
   * README.Debian: Reference 2.7 and point to the python3 package for the
     Debian Python Policy.
   * Mark python-examples as M-A: foreign.

python-defaults (2.7.14-1) unstable; urgency=medium

   * Bump version to 2.7.14.
   * python-examples: Fix Multi-Arch warning.
   * Change policy format from debiandoc SGML to DocBook/XML (W. Martin Borgert).
     Closes: #872421.

python-defaults (2.7.13-2) unstable; urgency=medium

   [ Matthias Klose ]
   * Lower priority of packages from standard to optional.
 
   [ Scott Kitterman ]
   * Make another attempt at Django specific binary naming

2016

python-defaults (2.7.13-1) unstable; urgency=medium

   [ Matthias Klose ]
   * Bump version to 2.7.13.
   * Mark python-doc as M-A: foreign.
   * Bump debhelper version.
 
   [ Helmut Grohne ]
   * Fix FTCBFS: Annotate python build dependencies with :any (Closes: #841682)
 
   [ Chris Lamb ]
   * Consistently order python substvars to support reproducibility (Closes:
     #844111)
 
   [ Scott Kitterman ]
   * Add Django specific binary naming policy to align to current practice.

python-defaults (2.7.11-2) unstable; urgency=medium

   [ Scott Kitterman ]
   * Python policy updates for Stretch (Many thanks to Ben Finney for all the
     updates)
     - Change focus in text to python3
     - Remove/deprecate features no longer needed due to only a single Python 2
       version
     - Discuss update process in more detail
     - Revamp tools section to better align to current practice
 
   [ Matthias Klose ]
   * Update valgrind suppression file. Issue #12612. LP: #1512622.
   * Rebuild to pick up the GNU triplet change on i386 archs. Addresses: #826128.

2015

python-defaults (2.7.11-1) unstable; urgency=medium

   * Bump version to 2.7.11.
   * Stop shipping menu files.
   * Fix some lintian warnings.

python-defaults (2.7.9-1) unstable; urgency=medium

   * Bump version to 2.7.9.

python-defaults (2.7.8-4) unstable; urgency=medium

   [ Barry Warsaw ]
   * Update policy document to clarify the purpose and use of the wheel
     files.  No actual change in policy is made.

python-defaults (2.7.8-3) unstable; urgency=medium

   [ Michael Gilbert ]
   * Make python-minimal a pre-dependency for python (closes: #769106).

2014

python-defaults (2.7.8-2) unstable; urgency=medium

   [ Matthias Klose ]
   * Build-depend on python2.7 and dpkg-dev versions to consistently
     generate the i586-* symlinks. Closes: #758301.
 
   [ Piotr Ożarowski ]
   * dh_python2: add a warning abount missing dh-python in Build-Depends
 
   [ Scott Kitterman ]
   * Minor updates to python policy
     - Reflect disuse of pyshared directory in favor of /usr/lib/python2.7/
       dist-packages since python2.7 is the last and only python version
       supported (Closes: #763451)
     - Update python-central information to reflect its removal from Jessie

python-defaults (2.7.8-1) unstable; urgency=medium

   [ Barry Warsaw ]
   * Fix typo in policy doc re: wheel package exception list.
   * Add myself to Uploaders.
 
   [ Scott Kitterman ]
   * Fix error in pydist package relationship regex (Closes: #735163)
     - Thanks to Rafael Laboissiere for the patch
   * Switch from using lsb-release to dpkg-vendor to determine distro and drop
     lsb-release from build-depends (Closes: #751706)
     - Thanks to Peter Pentchev for the patch
   * Drop unused build-depends on libhtml-tree-perl
   * Clarify discussion of requirement to use python:Provides (Closes: #669346)
   * Add clarification of naming requirements for submocules (Closes: #701192)
   * Minor cleanups in debian/pyversions.py
   * Stop automatically regenerating static content (dh_python2 man pages and
     Python FAQ) and drop build-dep on python-docutils to ease bootstrapping
     (Closes: #754060)
     - Add direct build-dep on python-all to replace indirect build-dep
   * Bump version to 2.7.8
   * Drop ancient Breaks on python-csv, python-bz2, and python-email

python-defaults (2.7.6-2) unstable; urgency=medium

   [ Barry Warsaw ]
   * Add python policy for Python Wheels.

python-defaults (2.7.6-1) unstable; urgency=medium

   * Bump version to 2.7.6.
   * dh_python2: no longer move files to /usr/share/pyshared, don't create
     /usr/lib/pyshared symlinks for extensions.
   * Use UTF-8 encoding for the python policy in HTML format. Closes: #689931.
   * Add a chapter for the python policy to prefer Python 3 over Python 2.

2013

python-defaults (2.7.5-5) unstable; urgency=low

   [ Steve Langasek ]
   * Adjust debpython/depends.py to be multiarch-friendly.
 
   [ Piotr Ożarowski ]
   * Set "Multi-Arch: allowed" in python, python-dev, python-minimal,
     python-dbg, python-all, python-all-dev, python-all-dbg
   * Replace /usr/bin/dh_python2 with a Python script that invokes
     dh-python's dh_python2 if Build-Depends{,-Indep} contains dh-python

python-defaults (2.7.5-4) unstable; urgency=low

   * Add libpython-all-dbg.postinst to convert the doc directory to a symlink
     on upgrade (Closes: #718736)

python-defaults (2.7.5-3) unstable; urgency=low

   [ Matthias Klose ]
   * Fix libpython-all-dbg doc dir symlink. Closes: #712270.
 
   [ Piotr Ożarowski ]
   * Replace /usr/bin/dh_python2 with a shell script that invokes
     dh-python's dh_python2 if debian/control mentions dh-python
   * dh_python2: warnings about --install-layout=deb and translating
     dependencies are just an info now

python-defaults (2.7.5-2) unstable; urgency=low

   * Add dependencies on the new libpython-{stdlib,all-dev,all-dbg} packages.

python-defaults (2.7.5-1) unstable; urgency=low

   [ Matthias Klose ]
   * Bump version to 2.7.5.
   * Drop python2.6 as a supported python version.
   * Bump standards version to 3.9.4.
   * Start building the libpython-stdlib, libpython-all-dev, libpython-all-dbg
     packages.
   * Drop Python 2.6 as a supported Python version.
   * Fix some lintian warnings.
 
   [ Scott Kitterman ]
   * When X(S)-Python-Version or debian/pyversions is not present, do not
     describe them as missing, just indicate they are not there

python-defaults (2.7.3-13) experimental; urgency=low

   * Always build the policy files.

python-defaults (2.7.3-12) experimental; urgency=low

   * Move python-docutils to build-depends (from build-depends-indep).

python-defaults (2.7.3-11) experimental; urgency=low

   * Add Multi-Arch: same packages libpython-all-{dev,dbg} (not yet built,
     python2.6 doesn't have support for multiarch).
   * python-dbg: Stop providing python-gdbm-dbg, python-tk-dbg. Closes: #700716.
   * Add a libpython-stdlib package (not yet built).

2012

python-defaults (2.7.3-10) experimental; urgency=low

   * Build dependency packages as architecture dependent packages.
   * Make python, python-{minimal,dev,dbg} Multi-Arch: allowed.
   * Build Multi-Arch: any packages libpython-{dev,dbg} packages providing
     $(DEB_HOST_GNU_TYPE/DEB_HOST_MULTIARCH)-python-config symlinks.
   * Provide python2 symlinks.

python-defaults (2.7.3-5) unstable; urgency=low

   * Drop Python 2.6 as a supported Python version.

python-defaults (2.7.3-4) unstable; urgency=low

   [ Dmitry Shachnev ]
   * Revert previous prerm/postrm changes:
     - prerm is never called as `prerm purge`.
     - configuration files shouldn't be deleted on package remove.

python-defaults (2.7.3-3) unstable; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2:
     - no longer sensitive to trailing slash in private dir names
       (closes: #686358)
     - ignore /usr/bin/python3 shebangs in all packages, not just in
       python3-* ones
     - generates correct "python (<< 2.X)" dependencies for packages with
       private Python extensions (typo fixed)
   * pyversions.py: fix parsing DEBPYTHON_SUPPORTED env. variable
     (versions should be separated using comma, as in debian_defaults
     config file)
 
   [ Dmitry Shachnev ]
   * debian/python.{pre,post}rm.in: Handle purge command the same way as
     remove (thanks to Mitsuya Shibata for the bug report)

python-defaults (2.7.3-2) unstable; urgency=low

   * dh_python2: ignore empty files while trying to normalize shebangs
     (Closes: #680793)
   * Fix lack of python-imaging in pydist/dist_fallback
     - Add python-imaging override to pydist/generate_fallback_list.py
     - pydist/dist_fallback: Regenerate to add python-imaging (which wasn't
       recognized before due to .pth file) along with a few automatic
       adjustments

python-defaults (2.7.3-1) unstable; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2:
     - remove even more \.so.* dangling symlinks, thanks to Stefano
       Rivera for providing a test case
     - rewrite shebangs by default (disable via --no-shebang-rewrite),
       examples:
        + "/usr/bin/env python*" → "/usr/bin/python*"
        + "/usr/local/bin/python foo" → "/usr/bin/python foo"
        + "/usr/bin/python2" → "/usr/bin/python"
     - new --shebang option to replace all shebangs in bin dirs
       (example: --shebang /usr/bin/python2.6)
     - no longer generates python2.X | python2.Y depenendies for public modules
       (Closes: 625740)
     - translate Python version numbers into Debian ones for those
       require.txt items that have a pydist file with (uscan like) rules
       or PEP386 flag (Closes: #653740)
   * Improve dh_python2 manpage a bit, add information about cleaning debug
     packages (Closes: #653741)
   * pyversions, dh_python2, pycompile: allow to override system's list of
     supported Python versions via DEBPYTHON_SUPPORTED and default Python
     version via DEBPYTHON_DEFAULT env. variables
   * Debhelper's python2 sequence now inserts dh_python2 before dh_installinit
     (closes: 670418)
 
   [ Scott Kitterman ]
   * Bump upstream version to match current unstable/wheezy python2.7 version

python-defaults (2.7.3~rc2-1) unstable; urgency=low

   [ Scott Kitterman ]
   * Bump minimum debhelper version to 8 so all tests will run
     - dh_python2 tests 1 - 5 require dh 7 and test 6 needs dh 8
   * Move idle.xpm symlink from python to idle and add Breaks/Replaces
   * Move /usr/bin/pyversions from python to python-minimal since that's where
     the actual script it's a symlink to lives, add Breaks/Replaces
   * Bump standards version to 3.9.3 without further change
   * Correct Python package names with hyphens in them being ignored
     (Closes: #657665)
   * Drop -n from /usr/bin/idle invocations in debian/idle.desktop and
     debian/idle.menu (Closes: #482156)
   * Update Python policy
     - Describe addition of /usr/bin/python2 due to upstream changes
     - Remove redundant text on Python provides and clarify when they should be
       used
     - Update description of functionality related to X-Python-Version for
       Wheezy
     - Update X/XS-Python-Versions to also include X-Python-Version examples
     - Add appropriage Breaks/Replaces
   * Bump upstream version to match current unstable/wheezy python2.7 version
 
   [ Piotr Ożarowski ]
   * dh_python2, pyversions: make comparison of X(S)-Python-Version field names
     case-insensitive (Closes: #676224)

python-defaults (2.7.2-10) unstable; urgency=low

   [ Matthias Klose ]
   * dh_python2: For argparse eggs, generate dependencies of the form
     "python (>= 2.7) | python-argparse". Closes: #653644, #657119.
   * Regenerate pydist/dist_fallback.
 
   [ Piotr Ożarowski ]
   * pycompile: fix -O option
   * dh_python2: do not try to add python2.X dependency if private dir works
     with all Python versions

2011

python-defaults (2.7.2-9) unstable; urgency=low

   * Generate correct dependencies if private directory supports one Python
     version only (closes: #644573)

python-defaults (2.7.2-8) unstable; urgency=high

   * Fix update-manager Breaks (Closes: #644491)

python-defaults (2.7.2-7) unstable; urgency=low

   * Adjust version numbers for upload to unstable.
   * python: Break update-manager (<= 0.200.5-1).

python-defaults (2.7.2-6) experimental; urgency=low

   [ Scott Kitterman ]
   * Fixed typo in python-policy (thanks to Jakub Wilk)
 
   [ Piotr Ożarowski ]
   * dh_python2:
     - handle private dir paths without leading slash
     - add python to Depends if unversioned python shebang is detected in
       private directory
     - dist_fallback: add /usr/share/python-support/package/ to paths searched
       for Egg metadata; add "wsgiref" and "python" fallbacks
     - do not try to remove .so.foo symlinks twice (if files were listed in an
       unfortunate order)

python-defaults (2.7.2-5) experimental; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2:
     - generates rtupdate scripts for private directories that compile files
       from given package only, add --compile-all to dh_python2's call if you
       want the old behaviour (i.e. compile also files (plugins?) provided by
       other packages, which do not use a helper/bytecompile them)
     - add --no-dbg-cleaning option (to disable removing files from debug
       packages)
     - fix handling "distname[features]" in debpython.pydist.guess_dependency
       (closes: 636255)
   * pyclean now accepts --package and private dir argument at the same time
 
   [ Scott Kitterman ]
   * debpyhton/pydist: Incorporate patch from Jonathan Lange to stop printing
     to stderr (LP: #812960)
   * Add Piotr Ożarowski <piotr@debian.org> back to Uploaders

python-defaults (2.7.2-4) experimental; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2:
     - no longer moves .so.foo files to pyshared dir (closes: 635316)
     - replaces .so symlinks with .so.foo files in dist-packages
 
   [ Scott Kitterman ]
   * Drop python2 symlink pending further discussion (closes: 634967)
   * Update recent Python policy changes based on feedback from Debian Python

python-defaults (2.7.2-3) experimental; urgency=low

   * python: Provide python profiler.
   * Provide a python2 symlink according to PEP 394.
   * Bump standards version.
   * Fix some lintian warnings.
   * Add 2to3.1 manual page symlink.

python-defaults (2.7.2-2) experimental; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2:
     - no longer generates maintainer scripts that invoke pycentral's
       pkgremove script, use --clean-pycentral if you want the old behaviour
     - egg-info directories are parsed even if cleaning the name was necessary
       (thanks to Arnaud Fontaine for the patch)
     - private directory names with apostrophes are escaped properly in
       maintainer script's -X arguments (thanks to Jakub Wilk for the patch)
     - deal with original symlinks more carefully (closes: 627969, thanks to
       Leonid Borisenko for the original patch)
     - add --ignore-shebangs option that will disable translating shebangs into
       Debian dependencies
     - add --ignore-namespace option that will disable handling
       Egg-info's namespace_packages.txt (AKA namespace feature)
     - PyDist: update dist_fallback file (with atypical Debian package names)
     - disable PyDist feature if dh sequencer is invoked --with pydeb
       (closes: 630502, thanks to Gediminas Paulauskas for the original patch)
     - warn if public Python extension is linked to libpython2.X, fail if it's
       linked to a wrong version
     - warn if both XS-Python-Version and X-Python-Version are defined
     - private dirs: if there is more than one Python version parsed from
       shebangs, byte-compile the dir with default Python version (or the one
       requested via X-Python-Version) instead od failing. Add dependency for
       each (supported) interpreter detected in shebangs
     - /usr/share/pyshared is not added to the package if empty (closes: 623909)
     - dh_python2's manpage updated (among other changes, no longer advertises
       python:Breaks - closes: 631397, describes .pyinstall and .pyremove files)
     - remove setuptools from requires.txt (it is replaced with
       python-pkg-resources Debian dependency)
     - "--namespace foo" no longer triggers .../dist-packages/bar/foo/__init__.py
       creation, use "--namespace bar.foo" instead
 
   [ Scott Kitterman ]
   * Python policy:
     - Add deprecation information about python-central and python-support
     - Clarify Python module and package descriptions

python-defaults (2.7.2-1) experimental; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2: generate more strict dependencies for packages with private
     extensions (closes: #625760)
 
   [ Scott Kitterman ]
   * Set python2.7 as default for testing in experimental
     - Update version references in patching file debian/control, control.in,
       debian_defaults, python.postinst.in, python.preinst.in, pyversions.py,
       and rules

python-defaults (2.6.6-14) unstable; urgency=low

   [ Piotr Ożarowski ]
   * python.mk: add py_builddir macro.
     $(call py_builddir, 2.6) returns "build/lib.linux-x86_64-2.6" on amd64
   * dh_python2, pycompile, pyclean: add "namespace" feature:
     dh_python2 parses Egg's namespace_packages.txt files (in addition to
     --namespace command line argument(s)) and drops empty __init__.py files
     from binary package. pycompile will regenerates them at install time and
     pyclean will remove them at uninstall time (if they're no longer used in
     installed packages
   * Remove myself from Uploaders
 
   [ Scott Kitterman ]
   * Upload to Unstable (adds Python 2.7 as a supported Python in Unstable)
   * Drop python2.5 as a supported Python version
     - Update debian/debian_defaults
     - Update debpython/version.py
     - Update debian/control.in
   * Update copyright years for dh_python2, pycompile, pyclean and debpython in
     debian/copyright

python-defaults (2.6.6-13) experimental; urgency=low

   * Add python2.7 as a supported Python version.
   * python-all{,-dev,-dbg}: Depend on the 2.7 packages.
   * Run the rtinstall script, when 2.7 became a supported version (2.6.6-13)
     and python2.7 is installed.
   * Python-minimal Breaks python-support (<< 1.0.12)

python-defaults (2.6.6-12) unstable; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2:
     - use Depends: python (<< 2.X), python (>= 2.Y) rather than Breaks
       in packages with public modules (after a discussion on debian-devel
       mailing list)
     - do not try to check dangling symlinks's shebang (closes: 619005)
 
   [ Scott Kitterman ]
   * Start Python Policy updates for Wheezy:
     - Document current practice to not provide /usr/bin/python2
     - Strengthen warning aginst using /usr/bin/env python
     - Update paths section for python2.7 and python3
     - Deprecate XB-Python-Version
     - Clarify use of {python:Provides}
     - Clarify that build-dependencies on -dev packages should not be used
       except when required
   * Upload to unstable:
     - Drop python2.7 from supported versions, not ready for Python transition
       yet

python-defaults (2.6.6-11) experimental; urgency=low

   * dh_python2 and pycompile: read /usr/share/python/debian_defaults to get
     default Python version and a list of supported Python versions
   * dh_python2:
     - fix parsing .pyinstall files (a space between file name and
       module name is now required)
     - replace a file with a symlink also if there's a matching one in
       pyshared directory already
     - add support for DH_OPTIONS env. variable
     - fix checking shebangs in private directories (executable bit wasn't
       checked correctly)
     - add test4 to test handling private directories
     - make egg-info files/dirs searches case insensitive (closes: #614910)
   * pycompile:
     - --exclude now works with private dirs
     - use /usr/bin/pythonX.Y rather than pythonX.Y (to avoid /usr/local
       interpreters)
   * rewrite dh_python2.1, pycompile.1 and pyclean.1 manpages in ReStructured
     Text, add quick guide for maintainers to dh_python2 manpage

python-defaults (2.6.6-10) experimental; urgency=low

   * dh_python2: fix moving files from old debug locations (due to typo)
   * python-minimal now Breaks python-support << 1.0.12 (Python 2.7 support was
     added in 1.0.12)
   * pycompile: skip dangling symlinks

2010

python-defaults (2.6.6-9) experimental; urgency=low

   * dh_python2: fix a crash in packages with private extension (closes: 607555)
     - test3 added (to test architecture dependent packages)

python-defaults (2.6.6-8) experimental; urgency=low

   * Fix typo in minimum required python version for packages generated with
     dh_python2

python-defaults (2.6.6-7) experimental; urgency=high

   * pycompile:
     - Don't over-optimize, check the timestamps of byte-code files.
     - Add options -f/--force, -O.
     - Copy stdout/stderr of py_compile processes in case of error.
     - Propagate the exit value of the py_compile processes.
     - Update manual page.
   * Bump depends to require the fixed pycompile for dh_python2 based package
     builds.
   * Don't touch the standard python library in rtupdate scripts.

python-defaults (2.6.6-6) experimental; urgency=low

   * dh_python2:
     - make the error message about missing extension more clear
       (and more verbose in --verbose mode)
     - install files listed in debian/pkg.pyinstall file
       as public modules for all requested Python versions (use dh_install's
       package.install files for private modules)
     - remove public modules listed in debian/pkg.pyremove (glob.glob pattern
       and version range can be used in both .pyinstall and .pyremove files)
     - create symlinks for files installed into /usr/share/pyshared/ if there
       are no other public modules available
   * pycompile:
     - `pycompile $DESTDIR/usr/lib/python*` will recognize public
       site-packages directories and use the right interpreter instead of
       raising KeyError
     - do not try to check if interpreter is present when version range is
       empty

python-defaults (2.6.6-5) experimental; urgency=low

   * pycompile: if installed Python is requested via -V option, use it even if
     it's not in a list of supported Python versions (closes: 600529)

python-defaults (2.6.6-4) experimental; urgency=low

   * Add python2.7 as a supported Python version.
   * python-all{,-dev,-dbg}: Depend on the 2.7 packages.
   * Run the rtinstall script, when 2.7 became a supported version (2.6.6-4)
     and python2.7 is installed.

python-defaults (2.6.6-3+squeeze5) unstable; urgency=low

   * dh_python2: fix moving files from old debug locations
   * pycompile: skip dangling symlinks to fix upgrade problem introduced in
     -3+squeeze3 (closes: 607988)

python-defaults (2.6.6-3+squeeze4) unstable; urgency=medium

   * dh_python2: fix a crash in packages with private extension (closes: 607555)

python-defaults (2.6.6-3+squeeze3) unstable; urgency=medium

   * pycompile:
     - Don't over-optimize, check the timestamps of byte-code files.
     - Add options -f/--force, -O.
     - Propagate the exit value of the py_compile processes.
     - Update manual page.
   * Bump depends to require the fixed pycompile for dh_python2 based package
     builds.
   * Don't touch the standard python library in rtupdate scripts.

python-defaults (2.6.6-3+squeeze2) unstable; urgency=low

   * pycompile:
     - `pycompile $DESTDIR/usr/lib/python*` will recognize public
       site-packages directories and use the right interpreter instead of
       raising KeyError
     - do not try to check if interpreter is present when version range is
       empty (closes: 605356)

python-defaults (2.6.6-3+squeeze1) unstable; urgency=medium

   * pycompile: if installed Python is requested via -V option, use it even if
     it's not in a list of supported Python versions

python-defaults (2.6.6-3) unstable; urgency=low

   * Upload to unstable
   * dh_python2: egg renaming fixed

python-defaults (2.6.6-2) experimental; urgency=low

   [ Piotr Ożarowski ]
   * Add README.derivatives (source package)
   * dh_python2:
     - add dist_fallback file with a list of Python distribution name and
       Debian package name pairs (to be used as a fall back source for
       PyDist feature)
     - if dist_fallback and `dpkg -S` fails to find the right package name,
       fall back to package name recommended by Debian Python Policy (use
       debian/pydist-overrides file to override)
     - disable PyDist feature if dh_pydeb is in debian/rules
   * Use versioned interpreter name rather than "python" only in
     python-minimal.postinst (closes: 595826)
 
   [ Matthias Klose ]
   * python.mk (py_libdir): Return /usr/lib/python3/dist-packages for 3.x
     versions.
   * python.mk (py_pkgname): New macro to refer the package name depending
     on the python version.

python-defaults (2.6.6-1) unstable; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2: typo in --help output fixed (thanks to Adam D. Barratt)
   * Bump python-minimal's Breaks of python2.5-minimal to << 2.5.5-7 (due to
     missing runpy module)
   * Set the right minimum required python package version in packages with
     private modules
 
   [ Scott Kitterman ]
   * debian/python-policy.sgml and debian/pyversions.py fix typos (thanks to
     Adam D. Barratt)
 
   [ Matthias Klose ]
   * Bump version to 2.6.6.

python-defaults (2.6.5-13) unstable; urgency=low

   [ Scott Kitterman ]
   * Python policy changes for X-Python-Version and X-Python3-Version
     - Minimum changes for Squeeze
   * In pyversions, do not silently ignore Python 3 versions
   * Add support for X-Python-Version to match X-Python3-Version
 
   [ Piotr Ożarowski ]
   * Fix documentation typo in pycompile/pycompile.1
   * dh_python2:
     - pass shallow=False to cmpfiles to make sure only exactly the same files
       are moved to pyshared
     - add support for X-Python-Version

python-defaults (2.6.5-12) unstable; urgency=low

   * pycompile: do not hang if interpreters are not started in the same order
     as they're used (LP: #613675)
   * Add manpage for dh_python2, pycompile and pyclean
   * Standards-Version bumped to 3.9.1 (no other changes required)

python-defaults (2.6.5-11) unstable; urgency=medium

   * Add README.PyDist to python-doc package
   * pycompile: compile public module for the right Python version (really
     closes: 590224)
   * dh_python2: rename --depend to --depends, --recommend to --recommends and
     --suggest to --suggests

python-defaults (2.6.5-10) unstable; urgency=medium

   * dh_python2:
     - add --depend, --recommend and --suggest command line options
      (use it if requires.txt doesn't contain dependency that package needs)
     - add {/usr,}/sbin to the list of directories with checked shebangs
   * pycompile: do not exit before all background byte compilation is finished
     (closes: 590224)

python-defaults (2.6.5-9) unstable; urgency=low

   [ Piotr Ożarowski ]
   * pyclean, pycompile: use .communicate() instead of .wait() to avoid hanging
     `dpkg -L PACKAGE` in few situations
   * dh_python2: follow Distribute and replace all non-alphanumeric
     characters with underscore in distribution name
 
   [ Matthias Klose ]
   * Require python (>= 2.6.5-9~) in generated dependencies to use the fixed
     pycompile.

python-defaults (2.6.5-8) unstable; urgency=low

   * Revert:
     - python-minimal: Provide symlink to binary and manpage for
       /usr/bin/python2.
     This interpreter name is not created in the upstream sources.
     python should be used instead.

python-defaults (2.6.5-7) unstable; urgency=low

   * pyversions.py: fall back to the list of supported Python versions
     if debian/pyversions doesn't exist (as in -5, closes: 588820, thanks to
     Vincent Legout)

python-defaults (2.6.5-6) unstable; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2:
     - invoke `pycentral pkgremove PACKAGE` in preinst if upgrading from
       python-central based packages
     - block python package transitions via ${python:Breaks} or
       ${python:Depends} (Breaks will be used if available)
     - recognize more requires.txt patterns in debpython.pydist
   * pyversions.py:
     - print error message if file cannot be opened (closes:
       521508, thanks to Carl Chenet for the original patch)
     - print nice error message if computed set of supported versions is empty
       (closes: 583392)
   * debian/rules: do not ignore errors (two more `set -e`s added, closes:
     397499)
   * python-doc now suggests python-examples (closes: #585774)
   * python package doesn't conflict with python2.1 and python2.3 anymore (2.1
     and 2.3 are no longer in Debian)
   * Standards-Version bumped to 3.9.0:
     - some packages moved from Conflicts to versioned Breaks
     - Homepage field added
 
   [ Scott Kitterman ]
   * Merge changes back from Ubuntu package:
     - Tighten ${binary:Version} depends relationships to "="
     - python: Add an unversioned `2to3' binary
     - python-minimal: Provide symlink to binary and manpage for
       /usr/bin/python2 (Closes: #566266)
   * Update hard coded fallbacks in debian/pyversions.py to add python2.6 to
     supported versions and to make it the default version

python-defaults (2.6.5-5) unstable; urgency=medium

   * Use Python's compileall module instead of pycompile to byte-compile
     debpython module as logging module is not available in pythonX.Y-minimal
     package (Closes: 586743)

python-defaults (2.6.5-4) unstable; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2:
     - fix parsing "XS-Python-Version: X.Y"
     - ignore everything after ", >= 3" in XS-Python-Version
   * Add python-minimal.{postinst,prerm} files to handle .py files
     byte-compilation
 
   [ Scott Kitterman ]
   * Additonal Python 3 related policy changes:
     - Clarify that helper specific policy does not apply to Python 3

python-defaults (2.6.5-3) unstable; urgency=low

   * Remove '-V' option from pyclean call in runtime.d/public_modules.rtremove
   * Add ${misc:Depends} to Depends in all binary packages
   * Add Vcs-Browser field
   * Add some lintian overrides (for false positives)
     - bump minimum required debhelper version to 6.0.7 (due to dh_lintian)

python-defaults (2.6.5-2) unstable; urgency=low

   [ Piotr Ożarowski ]
   * dh_python2:
     - create extension symlinks in /usr/lib/pyshared/pythonX.Y
     - add support for debian/pydist-overrides
     - add dh sequence file (use "--with python2" in debian/rules)
     - some bugs fixed
     - moved from python-dev to python package
   * Support for Python3 removed in dh_python2, pycompile and pyclean
     (moved to python3-defaults)
   * debian/copyright: Add a note about dh_python2, pycompile, pyclean and
     the debpython package.
   * Add myself to Uploaders
 
   [ Scott Kitterman ]
   * debian/pyversions.py: Exclude python3 versions from results - those are
     handled by py3versions in python3-defaults
   * Update debian/copyright from LICENSE in python2.6 (Closes: #446671)
   * Update debian/python-policy.sgml to cover py3versions, py(3)versions as
     the only defined interface for determining supported/default python
     versions in Debian, and run time separation of python and python3 as two
     distinct systems
   * In debian/python-policy.sgml specify the correct debian/control paragraphs
     for XS/XB-Python-Version (Closes: #567941)
     - Thanks to Loïc Minier for the patch
 
   [ Matthias Klose ]
   * Depend on python2.6 version including the fix for issue #8223.
   * Don't allow installation of a mix of defaults packages for different
     python versions. Closes: #583683.

python-defaults (2.6.5-1) experimental; urgency=low

   [ Matthias Klose ]
   * Bump version to 2.6.5.
   * Make python2.6 the default Python version.
   * Build a python-doc package.
   * python: Update the valgrind file to 2.6.
 
   [ Piotr Ozarowski ]
   * python-minimal: Install pycompile and pyclean binaries.
   * Add lsb-release to Build-Depends
   * Add dh_python2 stuff

python-defaults (2.5.4-9) unstable; urgency=low

   * python-all-dev: Fix typo in dependency list. Closes: #566278.

python-defaults (2.5.4-6) unstable; urgency=low

   * Add python2.6 as a supported Python version.
   * python-all{,-dev,-dbg}: Depend on the 2.6 packages.
   * Run the rtinstall script, when 2.5 became a supported version (2.4.4-3)
     and python2.5 is installed.
   * Run the rtinstall script, when 2.6 became a supported version (2.5.4-6)
     and python2.6 is installed. Closes: #565952.
   * Fix reference to list of modules in the python-minimal package.
     Closes: #558403.

2009

python-defaults (2.5.4-5) unstable; urgency=low

   * Fix typos from policy update (Closes: #561091, #561093)
   * Drop python2.4 as a supported Python
     - Remove python2.4 depends and update descriptions for python-all,
       python-all-dev, and python-all-dbg
     - Drop python2.4 from supported versions and add to old and unsupported
       versions
     - Update pyversions.py to drop python2.4 from the supported list
   * Correct path to Konsole Python desktop file (Closes: #381659)

python-defaults (2.5.4-4) unstable; urgency=low

   [ Scott Kitterman ]
   * Update Python Policy to match current packaging practice:
     - Major overall update.
     - Remove extraneous paragraph from Provides section. (Closes: #415213)
     - Remove obsolete mentions of dh_python. (Closes: #527009)
     - Fix policy typo. (Closes: #523226)
     - Add pointer to doc of the site module for site-specific paths.
       (Closes: #287197)
     - Correct package dependency rules (Closes: #379455)
   * Move debhelper from build-depends-indep to build-depends to satisfy clean
     requirements.
   * Drop unneeded build-depends-indep on python.
   * Bump standards version to 3.8.3.
   * Drop deprecated dh_desktop from debian/rules.
   * Move dbg packages to section debug.
   * Make python-all-dbg priority extra.
   * Remove redundant debian/FAQ.html.
   * Update (= ${Source-Version}) depends to (>= ${binary:Version}).
   * Correct Idle depends and description (Closes: #482163).
   * Update python version reference in README.Debian (Closes: #494068).
   * Update Debian menu section for idle.
   * Fix capitalization of Python in the python-dev descriptions.
   * Add myself to uploaders.
 
   [ Matthias Klose ]
   * python-{dev,dbg}-dev: Add bogus dependencies on python to work around
     lintian's broken usr-share-doc-symlink-without-dependency check.

python-defaults (2.5.4-2) unstable; urgency=high

   * python-all*: Tighten the dependencies on the python-* packages.

python-defaults (2.5.4-1) unstable; urgency=medium

   * Depend on python2.5-2.5.4.
   * python: Install /usr/share/python/python.mk, helper functions for
     getting the python library dir and install args for distutils installs.
   * Accept initial blank line in debian/control when parsing version
     information.

2008

python-defaults (2.5.2-3) unstable; urgency=low

   * python: Provide python-ctypes and python-wsgiref.

python-defaults (2.5.2-2) unstable; urgency=low

   * python: Provide python-plistlib.
   * python-minimal: Recommend python (suggested by Neil McGovern).

python-defaults (2.5.2-1) unstable; urgency=low

   * Maintainer upload; asking the Release Team to better coordinate
     things. Being in contact with two members of the release team for
     two or three weeks when to upload without getting in the way of
     other transitions, an unannounced upload of a third member of this
     team is at least surprising.
   * debian/python.postinst.in: Fix the bug introduced in the NMU, run the
     rtupdate hooks when upgrading from a version < 2.5.2-1. Closes: #476095.

python-defaults (2.5.2-0.1) unstable; urgency=low

   * NMU by the Release Team not to lose the sweet spot for the Python
     transition.
   * Make python2.5 the default Python version.

2007

python-defaults (2.4.4-6) unstable; urgency=low

   * python.postinst: Fix cleanup of temporary files. Closes: #424703, #424704.

python-defaults (2.4.4-5) unstable; urgency=low

   * Run the python2.5 rtinstall hooks, if python2.5 was already
     installed as an unsupported version.

python-defaults (2.4.4-4) unstable; urgency=low

   * New package python-all-dbg.

python-defaults (2.4.4-3) unstable; urgency=low

   * Add python2.5 as a supported python version.
   * Depend on python2.4 packages (>= 2.4.4-4), built for ldbl128 on
     alpha, powerpc, s390, sparc.
   * python-all*: Depend on python2.5 packages (>= 2.4.5-1), built
     for ldbl128 on alpha, powerpc, s390, sparc.
   * Merge pyversions.py changes from python-central.
   * Merge changes from Ubuntu:
     - Add a sanity check, that /usr/bin/python points to the default
       python version. Users tend to modify this symlink, which then
       breaks stuff in obscure ways. Ubuntu #75557, closes: #418002.
     - python-dbg: Provide python-gdbm-dbg, python-tk-dbg,
       link to README.debug, SpecialBuilds.txt.gz.
     - python-dev: Add an unversioned python-config binary (backport
       from python2.5 (appears in python2.4 2.4.4-4).
     - Robustify building the faq html pages.
     - Make the suggestions of various packages versioned.
   * Update the upstream FAQ.

2006

python-defaults (2.4.4-2) unstable; urgency=medium

   * python-all{,-dev}: Drop dependencies on python2.3{,-dev}.

python-defaults (2.4.4-1) unstable; urgency=medium

   * Depend on the 2.4.4 versions of the packages.
   * Sync pyversions.py with python-central.
   * Move 2.3 to old-versions, from supported-versions.
   * Add 2.5 to unsupported-versions.

python-defaults (2.4.3-11) unstable; urgency=low

   * Add a conflict to python-central (<< 0.5.5).

python-defaults (2.4.3-10) unstable; urgency=low

   * Upload to unstable. Closes: #347440, #360851.
   * Let the preinst fail on the first failing pre-rtupdate hook,
     after running the corresponding failed-pre-rtupdate hook.
   * Reflect renaming of the docutils binaries. Closes: #377601.
   * Update the upstream FAQ.

python-defaults (2.4.3-9) experimental; urgency=low

   * Fix syntax error in python.preinst. Closes: #381673.

python-defaults (2.4.3-8) experimental; urgency=low

   * idle: Depend on python-tk, add desktop and menu files.

python-defaults (2.4.3-7) experimental; urgency=low

   * Update pyversions.py from 2.3.5-11.
   * Fix pyversions(1), -r takes exactly one parameter.
   * idle: Remove the dependency on idle-pythonX.Y, add start script
     and man page.

python-defaults (2.4.3-6) experimental; urgency=low

   * Remove python's dependency on python-central. Closes: #372658.
   * On upgrade of the runtime to a new major version, call the hooks
     (executable files) in /usr/share/python/runtime.d/*.rtupdate.
     - in python.preinst, call the script with parameters
         pre-rtupdate <old runtime> <new runtime>.
       run all hooks, then return exit with the correct exit status.
     - in python.postinst, call the script with parameters
         rtupdate <old runtime> <new runtime>.
       run all hooks, then return exit with the correct exit status.
     - in python.postinst, call the script with parameters
         post-rtupdate <old runtime> <new runtime>.
       run all hooks, then return exit with the correct exit status.
   * pyversions -r: If the XS-Python-Version field cannot be found in
     debian/control, fall back to debian/pyversions for the version
     information. Return with an error code, if the intersection of
     the versions in debian/pyversions and the supported python versions
     is empty. Fall back to the supported versions if no version
     information can be found. Based on a patch from Raphael Hertzog.
   * Reflect renaming of the docutils binaries. Closes: #377601.

python-defaults (2.4.3-5) experimental; urgency=low

   * Tighten dependencies between packages built from this source.
     A versioned dependency on python-all / python-all-dev is enough
     to depend on the same version of python / python-dev.
   * python: Conflict with python-central (<< 0.4.17).
   * python: Depend on a python2.4 built for the updated Python policy.
   * python: Conflict with a python2.3 using the old Python policy.

python-defaults (2.4.3-4) experimental; urgency=low

   * Include version 0.4.1.0 of the python policy.
   * Fix 'pyversions -i'.

python-defaults (2.4.3-3) experimental; urgency=low

   * Point to the draft of the reworked Python policy.
   * Fix 'pyversions -r current' (Raphael Hertzog).

python-defaults (2.4.3-02) experimental; urgency=low

   * Really do not build python-doc.

python-defaults (2.4.3-01) experimental; urgency=low

   * Do not build the python-doc package from this source.

python-defaults (2.4.3-0) experimental; urgency=low

   * Upload to experimental.
   * Do not build the python-tk and python-gdbm packages from this source.
   * Let the -all packages depend on the default packages (closes: #365219).
   * Add /usr/share/python/debian_defaults for some default values (i.e.
     the supported python versions).
   * Add /etc/python/debian_config for byte-compilation options.
   * Add a pyversions script to give information about python versions and
     parse the XS-Python-Version attribute.

python-defaults (2.4.2-1) unstable; urgency=low

   * Change the default python version to 2.4.
   * Depend on python-central.

python-defaults (2.3.5-4) unstable; urgency=low

   * Add a package python-minimal. This package still depends on python2.3,
     will depend on python2.4-minimal when changing the default python version.
   * Add two dependency packages python-all and python-all-dev. These
     packages are used as build dependencies to determine the set of
     python version and implementations, which should be / currently are
     supported. Currently it depends on python2.3 and python2.4.  Future
     versions may add an updated version of jython and ironpython.
   * Update FAQ.

2005

python-defaults (2.3.5-3) unstable; urgency=low

   * Add python-dbg package.
   * debian/control.in: idle enhances python.

python-defaults (2.3.5-2) unstable; urgency=low

   * Add valgrind support file /usr/lib/valgrind/python.supp (closes: #291128).
   * python-doc: Add an conflict/replace to older python packages.
     Closes: #297266.

python-defaults (2.3.5-1) unstable; urgency=low

   * Depend on python-2.3.5 packages.
   * Update FAQ.
   * python suggests python-profiler.

python-defaults (2.3.4-6) unstable; urgency=low

   * Add an 'Enhances: konsole' to the python package (closes: #286161).

2004

python-defaults (2.3.4-5) unstable; urgency=low

   * Add conflict/replaces to ooold python-base package (closes: #279035).

python-defaults (2.3.4-4) unstable; urgency=low

   * Regenerate control file after adding python-docutils build dependency.
     Closes: #270177.

python-defaults (2.3.4-3sid) unstable; urgency=low

   * Add build dependency on python-docutils (closes: #266550).

python-defaults (2.3.4-3) testing-proposed-updates; urgency=low

   * Unmodified 2.3.4-3sid, destination sarge, fixing build failure.

python-defaults (2.3.4-2sid) unstable; urgency=low

   * Add pdb and pdb.1 symlinks.
   * Update FAQ.

python-defaults (2.3.4-1) unstable; urgency=low

   * Depend on python-2.3.4 packages.
   * Update FAQ.

python-defaults (2.3.3-7) unstable; urgency=low

   * Fix symlinks to proposed policy files (closes: #234874).

python-defaults (2.3.3-6) unstable; urgency=low

   * Build the default packages from a separate source package to ease
     migration between python versions.
   * Update to the proposed python-policy: byte-compile using -E.