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

Bug#523473: marked as done (python-apt: FTBFS with python-debian (>= 0.1.13) on Python 2.4)



Your message dated Fri, 10 Apr 2009 18:02:05 +0000
with message-id <E1LsL3F-0007jx-OP@ries.debian.org>
and subject line Bug#523473: fixed in python-apt 0.7.10.1
has caused the Debian Bug report #523473,
regarding python-apt: FTBFS with python-debian (>= 0.1.13) on Python 2.4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
523473: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523473
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 0.7.10
Severity: serious
Tags: patch
Justification: no longer builds from source

The release of python-debian 0.1.13 introduced a requirement of at least
version 2.5 of python.

The build process of python-apt uses python-debian to get the version
number from the changelog, and wants to build for python2.4, therefore
failing.

I attached a patch to not use a version number in setup.py, which is
unneeded and fixes this problem. If there are no objections, I will
upload a new release 0.7.10.1 at 2000 CEST (1800 UTC).

-- 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/
=== modified file 'debian/changelog'
--- debian/changelog	2009-04-01 15:40:12 +0000
+++ debian/changelog	2009-04-10 14:15:03 +0000
@@ -1,3 +1,11 @@
+python-apt (0.7.10.1) unstable; urgency=low
+
+  * Do not use the version information in setup.py, as python-debian now
+    requires at least version 2.5 of Python, which caused python-apt to FTBFS
+    on Python 2.4 (Closes: #NNNNN)
+
+ -- Julian Andres Klode <jak@debian.org>  Fri, 10 Apr 2009 15:27:28 +0200
+
 python-apt (0.7.10) unstable; urgency=low
 
   * Build-Depend on python-debian, use it to get version number from changelog

=== modified file 'setup.py'
--- setup.py	2009-04-01 15:11:16 +0000
+++ setup.py	2009-04-10 14:16:44 +0000
@@ -10,18 +10,6 @@
 from DistUtilsExtra.command import build_extra, build_i18n
 
 
-class FakeDebianSupportModule(object):
-    """Work around the python-apt dependency of debian_support."""
-
-    class Version(object):
-        """Empty class."""
-
-sys.modules['debian_bundle.debian_support'] = FakeDebianSupportModule
-
-from debian_bundle.changelog import Changelog
-
-
-
 # The apt_pkg module
 files = map(lambda source: "python/"+source,
             parse_makefile("python/makefile")["APT_PKG_SRC"].split())
@@ -58,7 +46,6 @@
             print "Not removing", dirname, "because it does not exist"
 
 setup(name="python-apt",
-      version=Changelog(open('debian/changelog')).full_version,
       description="Python bindings for APT",
       author="APT Development Team",
       author_email="deity@lists.debian.org",
@@ -78,7 +65,8 @@
     try:
         import pygtk
     except ImportError:
-        print >> sys.stderr, 'E: python-gtk2 is required to build documentation.'
+        print >> sys.stderr, ('W: Not building documentation because python-'
+                              'gtk2 is not available at the moment.')
         sys.exit(0)
     sphinx.main(["sphinx", "-b", "html", "-d", "build/doc/doctrees",
                 os.path.abspath("doc/source"), "build/doc/html"])

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 0.7.10.1

We believe that the bug you reported is fixed in the latest version of
python-apt, which is due to be installed in the Debian FTP archive:

python-apt-dbg_0.7.10.1_amd64.deb
  to pool/main/p/python-apt/python-apt-dbg_0.7.10.1_amd64.deb
python-apt_0.7.10.1.dsc
  to pool/main/p/python-apt/python-apt_0.7.10.1.dsc
python-apt_0.7.10.1.tar.gz
  to pool/main/p/python-apt/python-apt_0.7.10.1.tar.gz
python-apt_0.7.10.1_amd64.deb
  to pool/main/p/python-apt/python-apt_0.7.10.1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 523473@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated python-apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 10 Apr 2009 17:51:07 +0200
Source: python-apt
Binary: python-apt python-apt-dbg
Architecture: source amd64
Version: 0.7.10.1
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description: 
 python-apt - Python interface to libapt-pkg
 python-apt-dbg - Python interface to libapt-pkg (debug extension)
Closes: 523473
Changes: 
 python-apt (0.7.10.1) unstable; urgency=low
 .
   * Fix FTBFS with python-debian (>= 0.1.13) on Python 2.4 by not using it to
     get a version number in setup.py (Closes: #523473)
   * apt/package.py:
     - (Package.candidateRecord): Fix missing 'd' in 'record'
     - (DeprecatedProperty.__get__): Only warn when used on objects, this
       makes it easier to use e.g. pydoc,sphinx,pychecker.
Checksums-Sha1: 
 88da48dd3b0721554e9cbd4ddb2223df6d2d45af 1194 python-apt_0.7.10.1.dsc
 aa8c87fef4a77205a81bec5239499ea44e4e68fe 677737 python-apt_0.7.10.1.tar.gz
 f1fcecba65a9c7fc92b9342f00cb427f88df7346 395338 python-apt_0.7.10.1_amd64.deb
 656f3b306d89a489da1d4e8c4af226f2be89df75 1491394 python-apt-dbg_0.7.10.1_amd64.deb
Checksums-Sha256: 
 abf55f2669474d79e77ed614fe56847aa4b3755f9053fd100c95c5cd1222bcaf 1194 python-apt_0.7.10.1.dsc
 f081e14ffc6701feb1b92eda462299f09d1cefbcaa943f936b5220b0872b05d0 677737 python-apt_0.7.10.1.tar.gz
 e0715e1d068a880b96f4c14b2ef258d00176fd1c4a13d0e47ba0c4143ad33fef 395338 python-apt_0.7.10.1_amd64.deb
 53d4f717f6e4875790414f100e0685f73fe5c65dc217f65daf188a70f14d2d68 1491394 python-apt-dbg_0.7.10.1_amd64.deb
Files: 
 0b4b8e8203c166972850fc099bed382a 1194 python optional python-apt_0.7.10.1.dsc
 bb381b4e38fbb7ec4c529a6e0608c539 677737 python optional python-apt_0.7.10.1.tar.gz
 e9fad9886bda3de440c73e888404fd9b 395338 python optional python-apt_0.7.10.1_amd64.deb
 ff61f6fb3e4c8c064c677a0c960b23a3 1491394 debug extra python-apt-dbg_0.7.10.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknfhvsACgkQrCpf/gCCPsLtaACfbfpEAo4qkkWoZCMyySbXMx6o
XkgAoITfk6+hhteLw3hA/r4/TH9iWqEZ
=33pn
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: