[Buildbot] #3425: sqlalchemy and sqlalchemy-migrate shall be upgraded to latest version

Buildbot trac trac at buildbot.net
Tue Jan 26 22:45:38 UTC 2016


#3425: sqlalchemy and sqlalchemy-migrate shall be upgraded to latest version
-------------------+--------------------
Reporter:  tardyp  |       Owner:
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:  0.9.0
 Version:  master  |  Resolution:
Keywords:  simple  |
-------------------+--------------------
Description changed by rutsky:

Old description:

> releasing the version freeze of both dependencies is leading to 15 errors
> in the unit tests, all having very similar traceback:
>
>   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
> packages/sqlalchemy/sql/schema.py", line 411, in __new__
>     table._init(name, metadata, *args, **kw)
>   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
> packages/sqlalchemy/sql/schema.py", line 488, in _init
>     self._init_items(*args)
>   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
> packages/sqlalchemy/sql/schema.py", line 72, in _init_items
>     item._set_parent_with_dispatch(self)
>   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
> packages/sqlalchemy/sql/base.py", line 433, in _set_parent_with_dispatch
>     self._set_parent(parent)
>   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
> packages/sqlalchemy/sql/schema.py", line 1299, in _set_parent
>     self._setup_on_memoized_fks(lambda fk: fk._set_remote_table(table))
>   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
> packages/sqlalchemy/sql/schema.py", line 1310, in _setup_on_memoized_fks
>     fn(fk)
>   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
> packages/sqlalchemy/sql/schema.py", line 1299, in <lambda>
>     self._setup_on_memoized_fks(lambda fk: fk._set_remote_table(table))
>   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
> packages/sqlalchemy/sql/schema.py", line 1820, in _set_remote_table
>     parenttable, tablekey, colname = self._resolve_col_tokens()
>   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
> packages/sqlalchemy/sql/schema.py", line 1693, in _resolve_col_tokens
>     "this ForeignKey's parent column is not yet associated "
> sqlalchemy.exc.InvalidRequestError: this ForeignKey's parent column is
> not yet associated with a Table.
>
> buildbot.test.unit.test_db_migrate_versions_028_sourcestamps_refactor.Migration.test_migration
> -------------------------------------------------------------------------------
>

> I dont think it will be very hard to fix, and this will help the job of
> packages maintainers a lot.

New description:

 releasing the version freeze of both dependencies is leading to 15 errors
 in the unit tests, all having very similar traceback:

 {{{
   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
 packages/sqlalchemy/sql/schema.py", line 411, in __new__
     table._init(name, metadata, *args, **kw)
   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
 packages/sqlalchemy/sql/schema.py", line 488, in _init
     self._init_items(*args)
   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
 packages/sqlalchemy/sql/schema.py", line 72, in _init_items
     item._set_parent_with_dispatch(self)
   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
 packages/sqlalchemy/sql/base.py", line 433, in _set_parent_with_dispatch
     self._set_parent(parent)
   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
 packages/sqlalchemy/sql/schema.py", line 1299, in _set_parent
     self._setup_on_memoized_fks(lambda fk: fk._set_remote_table(table))
   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
 packages/sqlalchemy/sql/schema.py", line 1310, in _setup_on_memoized_fks
     fn(fk)
   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
 packages/sqlalchemy/sql/schema.py", line 1299, in <lambda>
     self._setup_on_memoized_fks(lambda fk: fk._set_remote_table(table))
   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
 packages/sqlalchemy/sql/schema.py", line 1820, in _set_remote_table
     parenttable, tablekey, colname = self._resolve_col_tokens()
   File "/Users/ptardy/dev/bb/buildbot-heroku/sandbox/lib/python2.7/site-
 packages/sqlalchemy/sql/schema.py", line 1693, in _resolve_col_tokens
     "this ForeignKey's parent column is not yet associated "
 sqlalchemy.exc.InvalidRequestError: this ForeignKey's parent column is not
 yet associated with a Table.

 buildbot.test.unit.test_db_migrate_versions_028_sourcestamps_refactor.Migration.test_migration
 -------------------------------------------------------------------------------
 }}}

 I dont think it will be very hard to fix, and this will help the job of
 packages maintainers a lot.

--

--
Ticket URL: <http://trac.buildbot.net/ticket/3425#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list