testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00063
Re: [Bug 613734] Re: hard to make snapshots for launchpad
On Wed, Aug 25, 2010 at 4:54 AM, Jonathan Lange <jml@xxxxxxxxxxxxx> wrote:
> I don't understand why this use case matters. I don't understand what
> this has to do with Launchpad.
>From time to time LP may want to run unreleased versions of testtools.
LP wants tar.gz files, and uses setuptools grahmagic to verify that
the version matches.
--
hard to make snapshots for launchpad
https://bugs.launchpad.net/bugs/613734
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
Status in testtools: Incomplete
Bug description:
The setup.py magic to do -next-91 as a version works well when you have a checkout. Sadly it doesn't work well when you make a tarball and then want to use the tarball else where:
./setup.py sdist (makes testtools-next-91.tar.gz)
put next-91 in lp's versions.cfg
bootstrap then extracts this and runs setup again, which goes boom - no bzrlib, no working tree.
We should save the version in the manifest or something, for this use case.
References