Skip to content

Instantly share code, notes, and snippets.

@zzzeek
Created February 4, 2013 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zzzeek/4708373 to your computer and use it in GitHub Desktop.
Save zzzeek/4708373 to your computer and use it in GitHub Desktop.
classics-MacBook-Pro:alembic classic$ python3.2 setup.py test
running test
Checking .pth file support in .
/Library/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python -E -c pass
Searching for SQLAlchemy>=0.6.0
Reading http://pypi.python.org/simple/SQLAlchemy/
Reading http://www.sqlalchemy.org
Best match: SQLAlchemy 0.8.0b2
Downloading http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.8.0b2.tar.gz#md5=09537c7b425d0be433f7aceabbf23d68
Processing SQLAlchemy-0.8.0b2.tar.gz
Running SQLAlchemy-0.8.0b2/setup.py -q bdist_egg --dist-dir /var/folders/bv/bvGj7UN02RWNJ++8ZRcrpU+++TI/-Tmp-/easy_install-0uedfj/SQLAlchemy-0.8.0b2/egg-dist-tmp-kb7c_b
warning: no files found matching '*.jpg' under directory 'doc'
no previously-included directories found matching 'doc/build/output'
Can't parse docstring in build/lib/sqlalchemy/ext/hybrid.py line 247: ParseError: bad token: type=55, value='\\', context=('', (247, 42))
Can't parse docstring in build/lib/sqlalchemy/ext/hybrid.py line 448: ParseError: bad token: type=55, value='\\', context=('', (450, 41))
Can't parse docstring in build/lib/sqlalchemy/sql/expression.py line 5503: ParseError: bad token: type=55, value='\\', context=('', (5503, 38))
zip_safe flag not set; analyzing archive contents...
***************************************************************************
WARNING: C extensions are not supported on this Python platform, speedups are not enabled.
Plain-Python build succeeded.
***************************************************************************
Installed /Users/classic/dev/alembic/SQLAlchemy-0.8.0b2-py3.2.egg
running build_py
running egg_info
writing requirements to alembic.egg-info/requires.txt
writing alembic.egg-info/PKG-INFO
writing top-level names to alembic.egg-info/top_level.txt
writing dependency_links to alembic.egg-info/dependency_links.txt
writing entry points to alembic.egg-info/entry_points.txt
reading manifest file 'alembic.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.jpg' under directory 'docs'
warning: no files found matching '*.sty' under directory 'docs'
warning: no files found matching '*.dat' under directory 'tests'
writing manifest file 'alembic.egg-info/SOURCES.txt'
running egg_info
creating /Users/classic/dev/alembic/build/lib/alembic.egg-info
writing requirements to /Users/classic/dev/alembic/build/lib/alembic.egg-info/requires.txt
writing /Users/classic/dev/alembic/build/lib/alembic.egg-info/PKG-INFO
writing top-level names to /Users/classic/dev/alembic/build/lib/alembic.egg-info/top_level.txt
writing dependency_links to /Users/classic/dev/alembic/build/lib/alembic.egg-info/dependency_links.txt
writing entry points to /Users/classic/dev/alembic/build/lib/alembic.egg-info/entry_points.txt
writing manifest file '/Users/classic/dev/alembic/build/lib/alembic.egg-info/SOURCES.txt'
reading manifest file '/Users/classic/dev/alembic/build/lib/alembic.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.jpg' under directory 'docs'
warning: no files found matching '*.sty' under directory 'docs'
warning: no files found matching '*.dat' under directory 'tests'
writing manifest file '/Users/classic/dev/alembic/build/lib/alembic.egg-info/SOURCES.txt'
running build_ext
Failure: SyntaxError (invalid syntax (util.py, line 125)) ... ERROR
Failure: SyntaxError (invalid syntax (__init__.py, line 56)) ... ERROR
======================================================================
ERROR: Failure: SyntaxError (invalid syntax (util.py, line 125))
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/failure.py", line 37, in runTest
raise self.exc_class(self.exc_val).with_traceback(self.tb)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/classic/dev/alembic/alembic/__init__.py", line 8, in <module>
from alembic import op
File "/Users/classic/dev/alembic/alembic/op.py", line 1, in <module>
from alembic.operations import Operations
File "/Users/classic/dev/alembic/alembic/operations.py", line 1, in <module>
from alembic import util
File "<string>", line None
SyntaxError: invalid syntax (util.py, line 125)
======================================================================
ERROR: Failure: SyntaxError (invalid syntax (__init__.py, line 56))
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/failure.py", line 37, in runTest
raise self.exc_class(self.exc_val).with_traceback(self.tb)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "<string>", line None
SyntaxError: invalid syntax (__init__.py, line 56)
----------------------------------------------------------------------
Ran 2 tests in 0.017s
FAILED (errors=2)
classics-MacBook-Pro:alembic classic$ ls build/
bdist.macosx-10.6-intel lib
classics-MacBook-Pro:alembic classic$ ls build/lib/
alembic alembic.egg-info tests
classics-MacBook-Pro:alembic classic$ ls build/lib/alembic
__init__.py command.py context.py environment.py op.py script.py util.py
autogenerate.py config.py ddl migration.py operations.py templates
classics-MacBook-Pro:alembic classic$ ls build/lib/tests/
__init__.py test_config.py test_op.py test_revision_paths.py test_versioning.py
scratch test_mssql.py test_oracle.py test_sql_script.py
test_autogenerate.py test_mysql.py test_postgresql.py test_sqlite.py
test_bulk_insert.py test_offline_environment.py test_revision_create.py test_version_table.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment