Bazaar 2.7.0

Milestone information

Vincent Ladeuil
Release registered:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata


Assigned to you:
No blueprints or bugs assigned to you.
3 Andrew Starr-Bochicchio, 1 Kit Randel, 1 Reagan Sanders, 1 Richard Wilbur, 14 Vincent Ladeuil
No blueprints are targeted to this milestone.
20 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon bzr-2.7.0.tar.gz (md5, sig) Source tarball 32,124
last downloaded 24 hours ago
Total downloads: 32,124

Release notes 

This release marks the start of a new long-term-stable series. From here, we will only make bugfix
releases on the 2.7 series (2.7.1, etc), while 2.8 will become our new
development series.

This a bugfix release over the 2.6 series focusing on test issues triggered by
various python 2.7 updates.

All known fixed bugs are included here.

Users are encouraged to upgrade from the other stable series.


View the full changelog

External Compatibility Breaks


New Features



* bzrlib.patches.parse_patches can optionally return a list of 'dirty'
  patch headers (prefixed with '===').
  (Kit Randel, #1400567)

Bug Fixes

* 'acceptable_keys' from 'bazaar.conf' is now properly handled.
  (Vincent Ladeuil, #1249732)

* Option names are now checked to be valid identifiers (including embedded
  dots or hyphens). Also ignore invalid references (i.e. using invalid
  option names) while expanding option values. (Vincent Ladeuil, #1235099)

* Fix pyrex version checking to be more robust.
  (Andrew Starr-Bochicchio, #1030521 )

* Forbid more operations for ReadonlyTransportDecorator so no more write
  methods can be used my mistake. (Vincent Ladeuil, #150196)

API Changes



* Make all transport put_bytes() raises TypeError instead of AssertionError
  or UnicodeEncodeError when given unicode strings rather than bytes.
  (Vincent Ladeuil, #106898)

* Use ssl.match_hostname from the python ssl module and stop carrying a
  specific version that has become obsolete. (Vincent Ladeuil, #1538480)

Changed Behaviour

* Also honor $XDG_CONFIG_HOME specification on Mac OS X platform.
  (Fabien Meghazi)


* Fix gpgme test failure starting on wily. (Vincent Ladeuil)

* Fix racy http tests (TestBadStatusServer is so simple, it exposes a race
  in python 2.7.9. This happens only when both the http server and client
  are run in the same process.). Only tests are affected.
  (Vincent Ladeuil, #1451448)

* Fix warnings on stderr caused by the atexit handler triggering for the
  wrong reason: the 'config' command should explicitly save the changes when
  modifying or removing an option and not rely on the atexit
  handler. (Vincent Ladeuil, #1331999)

* Handle (minor) incompatible change in python 2.7.6 leading to test
  failures. Only tests are affected. (Vincent Ladeuil, #1303879)

* Remove wrong assumption about how TCP server and client interact when run
  inside the same process. (Vincent Ladeuil, #1269886).

* Rename assertWarns in bt.test_config so it doesn't clash with the
  assertWarns introduced in recent python (Vincent Ladeuil, #1514210)

* Restrict access to '.netrc' in tests or recent python (2.7.5-8) will
  complain. (Vincent Ladeuil, #1233413)

* Skip windows-only tests that start failing with python 2.7.9, there is no
  way to fix them without testing on windows itself.
  (Vincent Ladeuil, #1451448)

* Take python 2.7.6 late (better than never) bugfix in into
  account. Only tests are affected (Vincent Ladeuil, #1303879).

0 blueprints and 20 bugs targeted

Bug report Importance Assignee Status
1323805 #1323805 bzr is not pip installable 2 Critical Vincent Ladeuil  10 Fix Released
1249732 #1249732 bzr verify-signature fails when acceptable_keys is defined 3 High Vincent Ladeuil  10 Fix Released
1269886 #1269886 autopkgtest fails in trusty: TestSmartTCPServer.test_graceful_shutdown_waits_for_clients_to_stop 3 High Vincent Ladeuil  10 Fix Released
1303879 #1303879 FTBFS/autopkgtest failure: FAIL: bzrlib.tests.test_email_message.TestEmailMessage 3 High Vincent Ladeuil  10 Fix Released
1370435 #1370435 diff-options parser misses '-f', '--forward-ed', & '--context' 3 High Richard Wilbur  10 Fix Released
1400567 #1400567 bzrlib.patches should provide a means of accessing file modified patch headers 3 High Kit Randel  10 Fix Released
1451448 #1451448 bzr fails to build on vivid (release) and trusty (test-rebuild only) 3 High Vincent Ladeuil  10 Fix Released
1509156 #1509156 ReadonlyTransportDecorator doesn't forbid all write operations 3 High Vincent Ladeuil  10 Fix Released
1538480 #1538480 match_hostname function from system ssl module should be used 3 High Vincent Ladeuil  10 Fix Released
1030521 #1030521 bzr: would FTBFS whenever cython's version has alphabetic portion (e.g. beta) 4 Medium Andrew Starr-Bochicchio  10 Fix Released
1123460 #1123460 verify-signature crashes on non ascii characters 4 Medium Reagan Sanders  10 Fix Released
1233413 #1233413 Test suite failures in TestNetrcCS 4 Medium Vincent Ladeuil  10 Fix Released
1235099 #1235099 Illegal option names should be ignored 4 Medium Vincent Ladeuil  10 Fix Released
1331999 #1331999 config tests related warnings on stderr breaks autopkgtest'ing 4 Medium Vincent Ladeuil  10 Fix Released
1480015 #1480015 Test failure: hexify removed from paramiko 4 Medium Andrew Starr-Bochicchio  10 Fix Released
1514210 #1514210 test failures on newer Python: assertWarns() arg1 must be a warning type 4 Medium Vincent Ladeuil  10 Fix Released
1536566 #1536566 bzrlib.tests.test_gpg.TestVerify.test_verify_revoked_signature failure 4 Medium Vincent Ladeuil  10 Fix Released
106898 #106898 put_bytes should raise a specific exception when given unicode 5 Low Vincent Ladeuil  10 Fix Released
1071958 #1071958 grammar update. 5 Low Vincent Ladeuil  10 Fix Released
1272042 #1272042 xdg_cache_dir() uses wrong environment variable 5 Low Andrew Starr-Bochicchio  10 Fix Released
This milestone contains Public information
Everyone can see this information.