Is it possible for env.py to be env.pyc? #449
Comments
Michael Bayer (@zzzeek) wrote: did you set sourceless=True? http://alembic.zzzcomputing.com/en/latest/tutorial.html#editing-the-ini-file |
Michael Bayer (@zzzeek) wrote: no issue here. Please define "failing" with complete information, thanks.
|
Cody Scott (@Siecje) wrote: Yes sourceless was set to This is the traceback that I'm getting. I'm trying to run jupyterhub which uses alembic.
|
Cody Scott (@Siecje) wrote:
|
Michael Bayer (@zzzeek) wrote: OK...but is your .pyc file in the local path where the .py would be? or is it in a |
Michael Bayer (@zzzeek) wrote: no more .pyo files as of python 3.5, not python 3 |
Cody Scott (@Siecje) wrote: It is in the local path where the .py file would be. |
Michael Bayer (@zzzeek) wrote: how are you generating that .pyc, since on Python 3.5+, if you do py_compile(path), the file goes into pycache with a special name? I'm just trying to understand how folks even make these sourceless installs. i have most of a fix for all of this but it still needs the version files, pyc or whatever, to be locally present in versions/ and not in a pycache. |
Michael Bayer (@zzzeek) wrote: though I can make it work that way... |
Cody Scott (@Siecje) wrote: In |
Michael Bayer (@zzzeek) wrote: https://gerrit.sqlalchemy.org/508 if you can test with this, that would help a lot theres a tar.gz at https://gerrit.sqlalchemy.org/changes/508/revisions/fd1dd170b1deb75b922a57405844e01409d0edf9/archive?format=tgz |
Cody Scott (@Siecje) wrote: Wow that was a lot bigger than I thought. Yes that works! Thanks for spending so much time on this. |
Michael Bayer (@zzzeek) wrote: Support pep3149, latest import mechanics, fully Reworked "sourceless" system to be fully capable of handling any Change-Id: I2495e793c81846d3f05620dbececb18973dd8a8f → 9b5f12a |
Changes by Michael Bayer (@zzzeek):
|
Migrated issue, originally created by Cody Scott (@Siecje)
I'm running into a problem with alembic. I don't have a env.py only a env.pyc and this line is failing. https://bitbucket.org/zzzeek/alembic/src/4effc8124fa2ad5aab42119e4e7aa1452982d257/alembic/script/base.py?at=master&fileviewer=file-view-default#base.py-425
The text was updated successfully, but these errors were encountered: