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

Bug#523997: marked as done (python-apt: Package class should allow to set the candidate version)



Your message dated Thu, 30 Jul 2009 17:32:30 +0000
with message-id <E1MWZUU-0001Zq-QE@ries.debian.org>
and subject line Bug#523997: fixed in python-apt 0.7.12.0
has caused the Debian Bug report #523997,
regarding python-apt: Package class should allow to set the candidate version
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.)


-- 
523997: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523997
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 0.7.7.1+nmu1
Severity: wishlist
Tags: patch

The Package class should allow to set its the candidate version.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (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/bash

Versions of packages python-apt depends on:
ii  apt [libapt-pkg-libc6.7-6-4. 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.7-18      GNU C Library: Shared libraries
ii  libgcc1                      1:4.3.2-1.1 GCC support library
ii  libstdc++6                   4.3.2-1.1   The GNU Standard C++ Library v3
ii  lsb-release                  3.2-20      Linux Standard Base version report
ii  python                       2.5.2-3     An interactive high-level object-o
ii  python-central               0.6.8       register and build utility for Pyt

python-apt recommends no packages.

Versions of packages python-apt suggests:
pn  python-apt-dbg                <none>     (no description available)

-- no debconf information
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: renate@unstable.virtual-20090410202703-krdd15z5xhoz11h0
# target_branch: ../debian-sid/
# testament_sha1: e6d468f392106808f743f3e3c67a38c1a2970026
# timestamp: 2009-04-10 22:34:15 +0200
# base_revision_id: jak@debian.org-20090401154054-zh33a3avjszl3fg7
# 
# Begin patch
=== modified file 'apt/package.py'
--- apt/package.py	2009-04-01 14:27:15 +0000
+++ apt/package.py	2009-04-10 20:27:03 +0000
@@ -874,6 +874,12 @@
 
     # depcache actions
 
+    def set_candidate(self, version):
+        """Set the candidate version of the package."""
+        self._pcache.cachePreChange()
+        self._pcache._depcache.SetCandidateVer(self._pkg, version._cand)
+        self._pcache.cachePostChange()
+
     def markKeep(self):
         """Mark a package for keep."""
         self._pcache.cachePreChange()

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWWKjHTEAAZffgEQQUWf//3pC
TQC////wUAP2a9p1c7qJ7m9nQkokno09CekGCaGkxMg9I0AAaCSgRiaUw0anqaNAAGmgNAACSEmm
o1T8Impp+qe0p6TPVD0g0xpDTJpkDaqamQyDRo0GmhoA0AAAAJJBNTNDUxPVR+hNTQ9IaaA0Gmho
aORXjzaCvZjWbPhIt1SWcYpsvqtc8Br2ym/DEkoI2afUfa9hml2njKZa9hU5bX2ajkh/xb6cXdqj
x41yNDDMPhEHnI5iOU+OOq1rof1trp0cz8BVGx4ZB+/A/Jv1jMo3D9ldPshwusXvPao5yvNfvOY4
GH4oAaA5TFwSyqjRtvKxOOoh8xK8LjcKBOLqEaypUQmLKnVciCT2iHiKHLZslSPaRweeolqcja9X
C2lI6mRuhhG1xjPkcLLz4aL2qaNeAjCLLxnfFEQiyUUGAhCBU0JCtjicU44ZEdaGcFcrMOlWkRiS
vBk44PEz38SxSzgQJG8xIEC8NxluoWYF9+TjBRW1NW8Jwr7CxxQ7CyBdtpgyFXHtRLksmUjE35PK
oE0xAeTJm90LUTMKK0sGLLmxJGwyEPMzKRIwMRM1ziTrIDXyFROeRCGoXatxgUYa2H2+lQ3Nowf5
OG3icPSJuTZ/rLqCxSSua5kx3yIjLUBBQ98QymZGeTGUFSqngfNXdhwWxW0atUhggI2dM4SaAJB6
1GkqOBvvESWwWoHuFrLE8tD9DildUvciN6O+a92Isua0CaTVX6XZU6yp5LyY4HJdWVbgbdnO4iMY
Wm60ZtykebOlDiSaxYFA+OGQfBhF2EVBNmTRAZGh0C7w/Ge34GpNFTt+fSe1ncxhmcDPAl5zmOyl
7J8y0glw3jt2A7ljIIeHEKaWvl+6i60RA8UyLP82lLLA1CpuVCNwElKOtRqIvJS5poKCUrXrr2WM
W+7IESkhTAPtPFZtFWm0gxK4qTRSchPV7pxN3g3OuKm6kVo54BpmTTTTSEsHxFMchSJAH2SQ7Wk4
WVdSaMVZLuhsHyMoDDBEDRjCJ+e7DnTc63qZ4Y2H6H9lc+UmPCGBkGJclBIGRJ3XI+d6UwhkOnW/
fjhYbV0rIKAdAwZX0RByBydAv7HTcKd6tZXVUp7VfMIN0y0xRDJu+xwTDh5RXW8EzKmSFTkuexOs
Ckmq9uQHifoSaNTKhmzPh/U2NjGk0bgZJ6LQacUnwojvTx2r3KB1F7p6/oSAqSHbTcUZWTuIThQU
MrmToKxHcaP0uJsLw86UEpcAQJKqMKjd1R+UTiCCNjHhjbqJilsNavU/+LuSKcKEgxUY6Yg=

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

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.12.0_amd64.deb
  to pool/main/p/python-apt/python-apt-dbg_0.7.12.0_amd64.deb
python-apt_0.7.12.0.dsc
  to pool/main/p/python-apt/python-apt_0.7.12.0.dsc
python-apt_0.7.12.0.tar.gz
  to pool/main/p/python-apt/python-apt_0.7.12.0.tar.gz
python-apt_0.7.12.0_amd64.deb
  to pool/main/p/python-apt/python-apt_0.7.12.0_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 523997@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: RIPEMD160

Format: 1.8
Date: Thu, 30 Jul 2009 14:08:30 +0200
Source: python-apt
Binary: python-apt python-apt-dbg
Architecture: source amd64
Version: 0.7.12.0
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: 416247 523997 523998 525134 527543 532338 532660
Changes: 
 python-apt (0.7.12.0) unstable; urgency=low
 .
   [ Julian Andres Klode ]
   * python/cache.cc:
     - Support Breaks, Enhances dependency types (Closes: #416247)
   * debian/control:
     - Only recommend libjs-jquery (Closes: #527543)
     - Build-depend on libapt-pkg-dev (>= 0.7.22~)
     - Update Standards-Version to 3.8.2
   * apt/cache.py:
     - Correctly handle rootdir on second and later invocations of
       open(), by calling InitSystem again. (LP: #320665).
     - Provide broken_count, delete_count, install_count, keep_count
       properties (Closes: #532338)
     - Only create Package objects when they are requested, do not keep them in
       a dict. Saves 10MB for 25,000 packages on my machine.
   * apt/package.py:
     - Allow to set the candidate of a package (Closes: #523997)
       + Support assignments to the 'candidate' property of Package objects.
       + Initial patch by Sebastian Heinlein
     - Make comparisons of Version object more robust.
     - Return VersionList objects in Package.versions, which are sequences
       and also provide features of mappings. (partial API BREAK)
       + Allows to get a specific version (Closes: #523998)
   * apt/progress/__init__.py:
     - Do not break out of InstallProgress.waitChild()'s loop just because it
       is hitting EINTR, but only on child exit or on ECHILD.
   * Use debhelper 7 instead of CDBS
 .
   [ Stefano Zacchiroli ]
   * debian/python-apt.doc-base: register the documentation with the
     doc-base system (Closes: #525134)
 .
   [ Sebastian Heinlein ]
   * apt/progress.py: Extract the package name from the status message
     (Closes: #532660)
Checksums-Sha1: 
 53c55f55c603e4645cf80b10af401bb462616d83 1191 python-apt_0.7.12.0.dsc
 69df96f527a457618b99233b5b626d90f58558e6 680643 python-apt_0.7.12.0.tar.gz
 218344eaff611f7a99ff701b71d9cd717b90be6c 404106 python-apt_0.7.12.0_amd64.deb
 9f5ba661ed5917c6d568daa73a64b9c1587c7bb8 1530614 python-apt-dbg_0.7.12.0_amd64.deb
Checksums-Sha256: 
 411f2f48eda5f8a33e3e40319c4a670f24fe3b958c2e48a3873f4d963f48a43f 1191 python-apt_0.7.12.0.dsc
 b18d4e018e2ec1b2c26f906f83ec920b92475a00c88e5fb104b7bbd32a320984 680643 python-apt_0.7.12.0.tar.gz
 9461666854200c8b43881cc27d3d55f0526919c6b65a249da18067311cdcee7e 404106 python-apt_0.7.12.0_amd64.deb
 eec35a8f455d5cfdc62ddc443ceb1c474f156e981abaf7f3f5a3bb6533dc708d 1530614 python-apt-dbg_0.7.12.0_amd64.deb
Files: 
 40309d6887a42104b4bc640749b3d7ef 1191 python optional python-apt_0.7.12.0.dsc
 8f5a2c65bafe0ece59ef538169fa9925 680643 python optional python-apt_0.7.12.0.tar.gz
 87c903e07134bd2ad3277c582f342f80 404106 python optional python-apt_0.7.12.0_amd64.deb
 d7d2f0309c111d76ca2d58fb6a571dc2 1530614 debug extra python-apt-dbg_0.7.12.0_amd64.deb

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

iEYEAREDAAYFAkpx1q4ACgkQrCpf/gCCPsIH6wCfZMKr4q6VZzUnK0a6w0vI2xKW
foEAnifFoNGHa6LFtKj08ycrdjRjCSfQ
=YdXq
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: