[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#523645: python-apt: Port to Python 3.1



Package: python-apt
Version: 0.7.10.1
Owner: Julian Andres Klode <jak@debian.org>
Severity: wishlist

This bug is a bug for tracking the progress of the Py3k porting,
which I will work on next week (and also later).

The Python 3 port should happen about the same time as the PEP8 renaming process,
leading to new Python bindings which may look drastically different from the
current ones.

We will generate two builds from the code:

	1. The Python 2.X Builds
	2. The Python 3.X Builds

For the Python 2.X builds, we will still ship the old functions names, which
will issue a warning on use and call the replacement functions.

For the Python 3.X builds, we will stop shipping these old names, but only ship
the new ones. (We simply 'del' all deprecation helpers when running under python
(>= 3)).

The plan for the py3k branch is:
	1. Port the apt_pkg and apt_inst extensions to Python 3
	2. Merge it with the pep8-rename branch
	3. Call 2to3 on apt/**.py and aptsources/*.py and fix the
           remaining issues.
        4. Upload to experimental

These are my plans, and nothing official.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (350, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-apt depends on:
ii  apt [libapt-pkg-libc6.7-6-4.6 0.7.20.2   Advanced front-end for dpkg
ii  apt-utils [libapt-inst-libc6. 0.7.20.2   APT utility programs
ii  libc6                         2.9-7      GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.3-5  GCC support library
ii  libjs-jquery                  1.3.2-2    JavaScript library for dynamic web
ii  libstdc++6                    4.3.3-5    The GNU Standard C++ Library v3
ii  lsb-release                   3.2-22     Linux Standard Base version report
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-central                0.6.11     register and build utility for Pyt

Versions of packages python-apt recommends:
ii  iso-codes                     3.8-1      ISO language, territory, currency,

Versions of packages python-apt suggests:
pn  python-apt-dbg             <none>        (no description available)
ii  python-gtk2                2.14.1-2      Python bindings for the GTK+ widge
ii  python-vte                 1:0.17.4-2+b1 Python bindings for the VTE widget

-- no debconf information

-- 
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member     - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juliank@jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/

Attachment: signature.asc
Description: Digital signature


Reply to: