Hello,

maybe you should also add a note that it doesn't work with 0.6.1+.
But I don't think that's a good idea because 0.6 is quite old and
0.7.1 is the latest release (and Gentoo doesn't have 0.6 in Portage).

I'd suggest to change the import to

=== SNIP  ===
try:
        from migrate.versioning.exceptions import DatabaseNotControlledError
except:
        from migrate.exceptions import DatabaseNotControlledError
=== SNAP ===

so it first tries to import from the 0.6 module and if it fails it
uses the current module structure. But maybe the other way round
(first try the new module path) would be more future-looking.

Best regards,
Andreas


2011/8/28 Nathan Jones <nat...@ncjones.com>:
> It looks like sqlalchemy-migrate broke backwards compatibility by
> repackaging their exception classes between version 0.6.0 and 0.6.1.
> See the 0.6.1 release notes:
> http://code.google.com/p/sqlalchemy-migrate/downloads/detail?name=sqlalchemy-migrate-0.6.1.tar.gz&can=2&q=
> and the relevant changeset;
> http://code.google.com/p/sqlalchemy-migrate/source/detail?r=1653a5bfb5f83900a9d08cebc93e215abeda0dd0&path=/migrate/exceptions.py
>
> I incorrectly specified the sqlalchemy-migrate dependency as 1.6.1 in
> the Pytrainer installation instructions. I have changed this to 1.6.0,
> the version developed against, in revision 865.
>
>  - Nathan
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> Pytrainer-devel mailing list
> Pytrainer-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytrainer-devel
>



-- 
http://andreas.vdr-developer.org --- VDRAdmin-AM & EnigmaNG & VDRSymbols
VDR user #303

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to