[Checkins] [zopefoundation/zope.sqlalchemy] 5b2928: Update bootstrap.py to latest v2 bootstrap

GitHub noreply at github.com
Tue Feb 19 08:37:08 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.sqlalchemy
  Commit: 5b29283fdf8165644512fb17ceb775da9c5907c8
      https://github.com/zopefoundation/zope.sqlalchemy/commit/5b29283fdf8165644512fb17ceb775da9c5907c8
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-02-19 (Tue, 19 Feb 2013)

  Changed paths:
    M bootstrap.py

  Log Message:
  -----------
  Update bootstrap.py to latest v2 bootstrap

Downloaded from http://downloads.buildout.org/2/bootstrap.py


  Commit: 61a208a1ddfa9ad9b52f7bf40f2cfa8136b38f3a
      https://github.com/zopefoundation/zope.sqlalchemy/commit/61a208a1ddfa9ad9b52f7bf40f2cfa8136b38f3a
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-02-19 (Tue, 19 Feb 2013)

  Changed paths:
    M src/zope/sqlalchemy/README.txt

  Log Message:
  -----------
  Add the forgotten bin/buildout step to README.txt


  Commit: f61cbc2477b10eba25f637efb1707661e28ec882
      https://github.com/zopefoundation/zope.sqlalchemy/commit/f61cbc2477b10eba25f637efb1707661e28ec882
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-02-19 (Tue, 19 Feb 2013)

  Changed paths:
    M src/zope/sqlalchemy/README.txt

  Log Message:
  -----------
  Fix test failures with SQLAlchemy 0.7.10

ResultProxy now lives in sqlalchemy.engine.base.


  Commit: 5f5a4bffac828e418bc48ed6ef406a81479f6562
      https://github.com/zopefoundation/zope.sqlalchemy/commit/5f5a4bffac828e418bc48ed6ef406a81479f6562
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-02-19 (Tue, 19 Feb 2013)

  Changed paths:
    M src/zope/sqlalchemy/README.txt

  Log Message:
  -----------
  Fix SQLAlchemy warning

"SAWarning: At least one scoped session is already present.  configure()
can not affect sessions that have already been created."


  Commit: aba088834d0f5462ddae9c1198b928ff5f0c8e87
      https://github.com/zopefoundation/zope.sqlalchemy/commit/aba088834d0f5462ddae9c1198b928ff5f0c8e87
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-02-19 (Tue, 19 Feb 2013)

  Changed paths:
    M setup.py

  Log Message:
  -----------
  Fix setup.py test

It used to run all tests cases always, even RetryTests which are
supposed to be run only when $TEST_DSN points to postgres or oracle.  As
a result you'd always get two test failures when testing with sqlite.


  Commit: 43abf9e48f84ce04759acfb792533c2d3fa6fe0c
      https://github.com/zopefoundation/zope.sqlalchemy/commit/43abf9e48f84ce04759acfb792533c2d3fa6fe0c
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-02-19 (Tue, 19 Feb 2013)

  Changed paths:
    A .gitignore
    A MANIFEST.in
    A tox.ini

  Log Message:
  -----------
  Add a tox.ini, MANIFEST.in and a .gitignore


  Commit: 2dc8f02e44633addadf45704ae50c6b818a19ac7
      https://github.com/zopefoundation/zope.sqlalchemy/commit/2dc8f02e44633addadf45704ae50c6b818a19ac7
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-02-19 (Tue, 19 Feb 2013)

  Changed paths:
    M src/zope/sqlalchemy/tests.py

  Log Message:
  -----------
  Get rid of trailing whitespace


  Commit: bcd0dc1370e23cf008774a8a3046279af37fab91
      https://github.com/zopefoundation/zope.sqlalchemy/commit/bcd0dc1370e23cf008774a8a3046279af37fab91
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-02-19 (Tue, 19 Feb 2013)

  Changed paths:
    M setup.py
    M src/zope/sqlalchemy/tests.py
    M tox.ini

  Log Message:
  -----------
  Make tests pass on Python 3.2 and 3.3

Drop pysqlite dependency; sqlite3 is in the stdlib since Python 2.5.

Add zope.testing dependency for renormalizers.


  Commit: ef8d56ef81f12a18529d9028580985c677cad264
      https://github.com/zopefoundation/zope.sqlalchemy/commit/ef8d56ef81f12a18529d9028580985c677cad264
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-02-19 (Tue, 19 Feb 2013)

  Changed paths:
    M src/zope/sqlalchemy/tests.py
    M tox.ini

  Log Message:
  -----------
  Try to get the tests to pass on PyPy, give up

There's only one failure, and it looks like this:

======================================================================
FAIL: /home/mg/src/new-zope-order/zope.sqlalchemy/src/zope/sqlalchemy/README.txt
Doctest: README.txt
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/pypy/lib-python/2.7/doctest.py", line 2166, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for README.txt
  File "/home/mg/src/new-zope-order/zope.sqlalchemy/src/zope/sqlalchemy/README.txt", line 0

----------------------------------------------------------------------
File "/home/mg/src/new-zope-order/zope.sqlalchemy/src/zope/sqlalchemy/README.txt", line 177, in README.txt
Failed example:
    str(session.query(User).all()[0].name)
Expected:
    'bob'
Got:
    'ben'
----------------------------------------------------------------------
File "/home/mg/src/new-zope-order/zope.sqlalchemy/src/zope/sqlalchemy/README.txt", line 189, in README.txt
Failed example:
    bob.name
Expected:
    Traceback (most recent call last):
    DetachedInstanceError: Instance <User at ...> is not bound to a Session; attribute refresh operation cannot proceed
Got:
    'ben'

----------------------------------------------------------------------

So we're getting stale data from a new session object through which we've just
modified an object.


  Commit: aa8057a38277e09db9626837820800bd0e5ba04f
      https://github.com/zopefoundation/zope.sqlalchemy/commit/aa8057a38277e09db9626837820800bd0e5ba04f
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-02-19 (Tue, 19 Feb 2013)

  Changed paths:
    M CHANGES.txt

  Log Message:
  -----------
  Mention Python 3.3 compatibility


Compare: https://github.com/zopefoundation/zope.sqlalchemy/compare/2c5d7a844831...aa8057a38277


More information about the checkins mailing list