lp:debian/experimental/python-apt

Created by James Westby and last modified
Get this branch:
bzr branch lp:debian/experimental/python-apt
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Development

Recent revisions

21. By Julian Andres Klode

[ Michael Schaller ]
* apt.Cache: Add Cache._rawpkg_to_pkg method to consolidate duplicated code
* apt.Version: Compare against package name and version (if available)
* apt/package.py: Add target_versions method to [Base]Dependency
* Add helpers/filters for installed packages/versions

[ Julian Andres Klode ]
* Document the new additions in 1.0
* doc/source/conf.py: Do not set html_style, broken with recent sphinx
* Merge 1.0.0
* Keep apt_pkg.IndexRecords dropped

20. By Julian Andres Klode

Fix a typo in a member access.

19. By Michael Vogt

* apt/package.py:
  - export codename in apt.package.Origin as well
    (closes: #703401)

18. By Michael Vogt

[ Michael Vogt ]
* python/tag.cc:
  - make TagSecString_FromStringAndSize, TagSecString_FromString
    static, thanks to jcristau
* python/cache.cc:
  - add "Codename" to PackageFile object
* add dep8 style autopkgtest support
* build fixes for python3.3
* data/templates/Ubuntu.info.in:
  - add raring
* tests/test_all.py, aptsources/distro.py:
  - python2.6 compat fixes

[ Jason Conti ]
* lp:~jconti/python-apt/closeable-cache:
  - add apt.Cache.close() method

[ Martin Pitt ]
* tests/*.py: Do not prepend None to sys.path, Python 3.3 redeems that with
  an unintelligible crash.
* tests/test_auth.py: In test_add_key_from_server_mitm(), show the exception
  if it does not match the expectation, so that this becomes possible to
  debug.
* aptsources/distro.py: Replace the deprecated getiterator() ElementTree
  method with iter(), to avoid raising a PendingDeprecationWarning.
* tests/test_auth.py: Temporarily disable $http_proxy for the tests, as
  gnupg does not get along with proxies (LP #789049)

[ Colin Watson ]
* tests/test_apt_cache.py, tests/test_lp659438.py, tests/test_progress.py:
  - Clear out APT::Update::Post-Invoke and
    APT::Update::Post-Invoke-Success in tests that call cache.update to
    avoid pollution from the host system.
* tests/test_auth.py:
  - Discard stderr from gpg.
  - Try successive keyserver ports if 19191 is already in use.
* aptsources/distinfo.py, aptsources/distro.py, aptsources/sourceslist.py,
  tests/test_apt_cache.py, tests/test_debfile_multiarch.py:
  - Use logging.warning rather than the deprecated logging.warn.
* tests/test_debfile_multiarch.py:
  - Don't log warnings when skipping tests; the resulting stderr output
    causes autopkgtest to fail.
* tests/test_all.py:
  - Write general test status output to stdout, not stderr.
* tests/test_aptsources.py:
  - Clean up file object in test_enable_component.
* tests/test_lp659438.py:
  - Add an Architecture: line to the test Packages file so that apt
    doesn't get upset with it.
* data/templates/Ubuntu.info.in:
  - Fix descriptions of quantal and raring.

17. By Michael Vogt

* tests/test_apt_cache.py:
  - fix tests on kfreebsd/ia64
* apt/debfile.py:
  - fix crash in dep multiarch handling

16. By Julian Andres Klode

* apt_pkg: Add OrderList, wanted for mancoosi (Closes: #623485)
* apt_pkg: Add subclassing fun to PackageManager, for #623485 as well
* apt.cache: Emit change signals in ProblemResolver
* apt.Cache: Add a _changes_count member for later use

15. By Julian Andres Klode

[ Stéphane Graber ]
* Update enable_component to also apply to -src entries (LP: #758732)

[ Julian Andres Klode ]
* apt_pkg: Add apt_pkg.Version.multi_arch and friends

14. By Julian Andres Klode

* aptsources: Parse multi-arch sources.list files correctly
* aptsources: Allow insertion of new multi-arch entries
* aptsources: Various cleanup work
* all: Fix all instances of ResourceWarning about unclosed files
* tests/test_apt_cache.py: Use assertTrue() instead of assert_()
* apt_pkg: Raise error when parse_commandline gets empty argv (LP: #707416)
* apt_pkg: Fix time_to_str, time_rfc1123 to accept more correct values
  (time_to_str accepts unsigned long, time_rfc1123 long long, y2k31-correct).
* apt.progress: Use long for ETA, natural type for size (LP: #377375)
* aptsources/sourceslist.py: s/aptsource.py/sourceslist.py/ (LP: #309603)
* doc/examples: Add example on how to get architecture names (LP: #194374)
* apt_pkg: Fix unsigned/long-vs-int issues (LP: #610820)
* apt.cache: Document that update() may need an open() (Closes: #622342)
* apt.cache: Add a fetch_archives() method (Closes: #622347)
* doc: Fix a minor formatting error, patch by Jakub Wilk (Closes: #608914)
* apt.package: Add 'tasks' to Version, improve doc (Closes: #619574)
* doc: Fix documentation of BaseDependency.relation (Closes: #607031)

13. By Julian Andres Klode

* Disable the old-style API, and break all packages using it
* Add an 'is_multi_arch' attribute to apt_pkg.Cache
* Add apt_pkg.Group class, wrapping pkgCache::GrpIterator
* Change apt_pkg.Cache() so that passing None for 'progress' results in
  no progress output
* Support (name, arch) tuples in apt_pkg.Cache mappings, wrapping
  FindPkg() with two string parameters.
* Introduce apt_pkg.Cache.groups and apt_pkg.Cache.group_count
* Fix debian/rules to work correctly with tilde in version number

12. By Julian Andres Klode

[Wheezy] Disable old API and break packages not using the new one.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:debian/squeeze/python-apt
This branch contains Public information 
Everyone can see this information.

Subscribers