[ckan-dev] pypi releases

Rufus Pollock rufus.pollock at okfn.org
Sat Sep 17 18:11:25 UTC 2011


On 16 September 2011 12:33, David Read <david.read at okfn.org> wrote:
> Have people had any luck with the CKAN releases on PyPI? I'm wondering
> if they are subtly broken and unused...
>
> I've been investigating this a start-up exception:
>  "migrate.versioning.exceptions.InvalidRepositoryError:
> /home/dread/hgroot/test/lib/python2.6/site-packages/ckan/migration"
> which is caused when the ckan/migration/migrate.cfg file is missing.
> It seems that the PyPI releases don't contain this file! It is due to
> a problem with eggs created with sdist (which we use to upload to
> PyPI): http://www.mail-archive.com/distutils-sig@python.org/msg02794.html
>
> This would explain Ewan's difficulty installing CKAN:
> http://lists.okfn.org/pipermail/ckan-discuss/2011-June/001359.html
>
> (The solution is to install from Bitbucket rather than PyPI - see the
> docs http://readthedocs.org/docs/ckan/en/ckan-1.4.3/install-from-source.html
> )
>
> @Rufus perhaps you know about this?

No I don't. For other projects I usually try a basic install from PyPI
after doing a release to check it works (though this would not pick up
subtle issues with migrate). If migrate.cfg not included we need to
add it to MANIFEST.in ...

Rufus




More information about the ckan-dev mailing list