initial bzr testing

Martin Pool mbp at sourcefrog.net
Wed Mar 23 05:17:32 GMT 2005


Markus F.X.J. Oberhumer wrote:
> Hello everbody,
>
> I had thought about giving bzr some initial testing this afternoon, but
> I didn't get very far. It seems bzr currently does not work with Python
> 2.3 - "bzr selftest" reports lots of errors like this:

OK.  I think it should be fairly easy to support 2.3; I just need to
test it and fix any incidental problems.  Anything earlier than that
might require a lot of workarounds.

> *****************************************************************
> Failure in example: b.commit('add some stuff')
> from line #144 of bzrlib.tests
> Exception raised:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.3/doctest.py", line 442, in _run_examples_inner
>     compileflags, 1) in globs
>   File "<string>", line 1, in ?
>   File "/home/hosts/amd64-linux/build/bzr-0.0.0.69/bzrlib/branch.py",
> line 521, in commit
>     timezone = local_time_offset()
>   File "/home/hosts/amd64-linux/build/bzr-0.0.0.69/bzrlib/osutils.py",
> line 182, in local_time_offset
>     if time.localtime(t).tm_isdst and time.daylight:
> TypeError: a float is required

I'll try to put up a new tarball this evening which fixes it.

> Another thing I noticed is that the website should state more clearly
> that cElementTree depends on ElementTree, so you need both.

OK.

> Actually I think that it would be a good idea at this time if bzr ships
> with a fallback copy of ElementTree that kicks in if the imports fail
> (probably by temporarily changing sys.path). Some people already may
> have mixed feelings about Python, so it's important that bzr works out
> of the box for a wide audience.

I think you're right.

> In any case I truly look forward what will come out of this project.

Thanks.  I'm very pleased to have you looking at it.

--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050323/052ccb0c/attachment.pgp 


More information about the bazaar mailing list