well, for most releases we only read the .py files, until someone reported it as a bug that we *don't* read the .pyc files. because that person is doing sourceless installs. this is issue 163:
https://bitbucket.org/zzzeek/alembic/issue/163 so in 623c7e76ef04c5656 you now need to add the flag "sourceless=true" to alembic.ini for this behavior to take effect. On Mar 14, 2014, at 1:51 AM, Marco Falcioni <marcofalci...@gmail.com> wrote: > Hi, > Recently I found out that pyc files left in the version folder are loaded by > alembic when computing the history. > This happened after some trial and error and git rm business. Alembic > thought that I had a branch and refused to upgrade. > I have reproduced the basic behavior in the archive below. > (Python 2.7.2, Mac OS X) > > https://dl.dropboxusercontent.com/u/1980224/alembic_bug.tar.gz > > Cheers! > Marco > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy-alembic" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sqlalchemy-alembic+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sqlalchemy-alembic" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy-alembic+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.