Merge lp:~vila/bzr/688072-skip-sphinx-failures into lp:bzr
Proposed by
Vincent Ladeuil
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Vincent Ladeuil | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 5568 | ||||
Proposed branch: | lp:~vila/bzr/688072-skip-sphinx-failures | ||||
Merge into: | lp:bzr | ||||
Diff against target: |
62 lines (+13/-0) 4 files modified
bzrlib/tests/doc_generate/__init__.py (+5/-0) bzrlib/tests/doc_generate/builders/test_texinfo.py (+2/-0) bzrlib/tests/doc_generate/writers/test_texinfo.py (+3/-0) doc/en/release-notes/bzr-2.3.txt (+3/-0) |
||||
To merge this branch: | bzr merge lp:~vila/bzr/688072-skip-sphinx-failures | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
bzr-core | Pending | ||
Review via email:
|
Commit message
Check sphinx version for tests that need it.
Description of the change
python-sphinx has reached 1.0 (and beyond) but we don't yet have
it widely available in most of our setups.
Lately, some tests have been failing on babune, in fact the last
failures to turn the OSX 10.6 slave blue are due to sphinx-1.0.4.
Since I won't investigate and fix the compatibility with the
various sphinx versions (maverick is at 0.6.6), I'd prefer to
just skip them in the mean time (2 tests only are failing out of 18).
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/9/2010 9:09 AM, Vincent Ladeuil wrote: /bugs.launchpad .net/bugs/ 688072
> Vincent Ladeuil has proposed merging lp:~vila/bzr/688072-skip-sphinx-failures into lp:bzr.
>
> Requested reviews:
> bzr-core (bzr-core)
> Related bugs:
> #688072 tests failures with sphinx >= 1.0
> https:/
>
>
> python-sphinx has reached 1.0 (and beyond) but we don't yet have
> it widely available in most of our setups.
>
> Lately, some tests have been failing on babune, in fact the last
> failures to turn the OSX 10.6 slave blue are due to sphinx-1.0.4.
>
> Since I won't investigate and fix the compatibility with the
> various sphinx versions (maverick is at 0.6.6), I'd prefer to
> just skip them in the mean time (2 tests only are failing out of 18).
>
+ def sphinx_ version( self): sphinx. module. __version_ _.split( '.'))
+ # Convert to a tuple to avoid traps in string comparison
+ # ( '1.12' < '1.6' but (1, 12) > (1, 6) )
+ return tuple(features.
+
^- I'm pretty sure that isn't enough, since '12' < '6'.
You need to map(int( features. sphinx. module. __version_ _.split( '.'))
I'm fine with this, though not supporting maverick is a bit odd.
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
BMW4ACgkQJdeBCY SNAANP/ QCdFomY6sDeVSLe vxHMBbLtGf4d fHG/HIIldztsLpq bV
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk0
8dQAoMyRoI9H3M5
=Ro+8
-----END PGP SIGNATURE-----