[Checkins] [zopefoundation/ZEO] b13c46: Support for PyPy. All unit and functional tests pa...

GitHub noreply at github.com
Fri Jun 5 15:38:25 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/ZEO
  Commit: b13c4694501fa84f5cdd9c9717dea4c3a75d607f
      https://github.com/zopefoundation/ZEO/commit/b13c4694501fa84f5cdd9c9717dea4c3a75d607f
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-04-10 (Fri, 10 Apr 2015)

  Changed paths:
    M .gitignore
    M .travis.yml
    M src/ZEO/ClientStorage.py
    M src/ZEO/StorageServer.py
    M src/ZEO/_compat.py
    M src/ZEO/auth/base.py
    M src/ZEO/tests/InvalidationTests.py
    M src/ZEO/zrpc/marshal.py
    M tox.ini

  Log Message:
  -----------
  Support for PyPy. All unit and functional tests pass.


  Commit: e20bcee032847b77f69f51edf833286ec8fdccbb
      https://github.com/zopefoundation/ZEO/commit/e20bcee032847b77f69f51edf833286ec8fdccbb
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-04-10 (Fri, 10 Apr 2015)

  Changed paths:
    M CHANGES.rst
    M setup.py

  Log Message:
  -----------
  Changelog and classifiers.


  Commit: 1a55a0ad3815d38f2c74e743438ae45ed7f67a27
      https://github.com/zopefoundation/ZEO/commit/1a55a0ad3815d38f2c74e743438ae45ed7f67a27
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-04-10 (Fri, 10 Apr 2015)

  Changed paths:
    M src/ZEO/ClientStorage.py
    M src/ZEO/tests/InvalidationTests.py
    M src/ZEO/tests/IterationTests.py

  Log Message:
  -----------
  After study, the delayed release of iterators under PyPy seems harmless. Move the gc calls that clear them to the test case.


  Commit: d1324825c2987bcc6fdb6ed7ae3fe7b26fccf968
      https://github.com/zopefoundation/ZEO/commit/d1324825c2987bcc6fdb6ed7ae3fe7b26fccf968
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-04-11 (Sat, 11 Apr 2015)

  Changed paths:
    M src/ZEO/tests/InvalidationTests.py

  Log Message:
  -----------
  Rollback some test changes now that Python persistent handles registration during __setstate__ the same way C persistent does.


  Commit: 09958e6e530530cd8128fd1ed011756116aadf42
      https://github.com/zopefoundation/ZEO/commit/09958e6e530530cd8128fd1ed011756116aadf42
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-04-28 (Tue, 28 Apr 2015)

  Changed paths:
    M src/ZEO/tests/protocols.test
    M src/ZEO/tests/zeo_blob_cache.test

  Log Message:
  -----------
  More test cases that need to close blobs to deterministically run under PyPy.


  Commit: 48c336d152f57473eb27600bd6c463781af4f01f
      https://github.com/zopefoundation/ZEO/commit/48c336d152f57473eb27600bd6c463781af4f01f
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M src/ZEO/cache.py

  Log Message:
  -----------
  Optimizations for ClientCache, especially under PyPy.

- make the locked decorator easier to inline by not creating a new closure every time.
- use builtin dicts instead of the pure-python BTrees (only under pypy)

"Transaction",                  AFTER    BEFORE
"Add 3000 Objects",             10014      8777
"Update 3000 Objects",          12199      8805
"Read 3000 Warm Objects",        4294      3699
"Read 3000 Cold Objects",        4264      3676
"Read 3000 Hot Objects",        79764     58732
"Read 3000 Steamin' Objects", 2667283   2574508


  Commit: 8f95e19d40d3234bc0d570cbe408292556476718
      https://github.com/zopefoundation/ZEO/commit/8f95e19d40d3234bc0d570cbe408292556476718
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M buildout.cfg
    M setup.py

  Log Message:
  -----------
  Update version pins.


  Commit: fa2b97d47f5763e32140e7321a0500f8b3100fc6
      https://github.com/zopefoundation/ZEO/commit/fa2b97d47f5763e32140e7321a0500f8b3100fc6
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Speed up travis by setting sudo to false; the issue referenced seems to be fixed.


  Commit: 9c3d677015ce85c76b8c12e355b510172b006fe0
      https://github.com/zopefoundation/ZEO/commit/9c3d677015ce85c76b8c12e355b510172b006fe0
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/StorageServer.py

  Log Message:
  -----------
  Avoid long line


  Commit: 3acc4b7eb81917da9f6ab8cd0a1f5de26cae593b
      https://github.com/zopefoundation/ZEO/commit/3acc4b7eb81917da9f6ab8cd0a1f5de26cae593b
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M CHANGES.rst
    M setup.py

  Log Message:
  -----------
  Given new platform support, let's make it 4.2.0.


  Commit: 0d2a65b678eb1865a03a155925cb321f7270cfe6
      https://github.com/zopefoundation/ZEO/commit/0d2a65b678eb1865a03a155925cb321f7270cfe6
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/tests/protocols.test
    M src/ZEO/tests/zeo_blob_cache.test

  Log Message:
  -----------
  Wrap the nested statements.


  Commit: 454e72153c631f38f7fbf22473b3a9ac93d9de8e
      https://github.com/zopefoundation/ZEO/commit/454e72153c631f38f7fbf22473b3a9ac93d9de8e
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Make the virtualenv python report its version; seeing /usr/lib/python2.7 in the python2.6 traceback paths is making me nervous.


  Commit: 90b9058e04af4d86662fb1e2841d736366542400
      https://github.com/zopefoundation/ZEO/commit/90b9058e04af4d86662fb1e2841d736366542400
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M tox.ini

  Log Message:
  -----------
  Bump version pins.


  Commit: 9148b31202c70c556a43a776dbda8b0b337656cc
      https://github.com/zopefoundation/ZEO/commit/9148b31202c70c556a43a776dbda8b0b337656cc
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/tests/zeo_blob_cache.test

  Log Message:
  -----------
  Fix inconsistent spacing.


  Commit: 083b31e43e95d69fc616540565a6cd35c080baa7
      https://github.com/zopefoundation/ZEO/commit/083b31e43e95d69fc616540565a6cd35c080baa7
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Try to remove use of virtualenv in .travis.yml; all the travis builds were running under Python 2.7.3 because of it.


  Commit: 0afe4447c86e3f4fb137231a511242e082244d3b
      https://github.com/zopefoundation/ZEO/commit/0afe4447c86e3f4fb137231a511242e082244d3b
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/tests/protocols.test

  Log Message:
  -----------
  Correct doctest snippet.


  Commit: 68b48d4bc32805f94e91603467f4e2c17ff413f5
      https://github.com/zopefoundation/ZEO/commit/68b48d4bc32805f94e91603467f4e2c17ff413f5
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/StorageServer.py

  Log Message:
  -----------
  Fix StorageServer.server_status under Py3K


  Commit: ee4514cee615c34ae4e610fa8dc875be8ce76d0f
      https://github.com/zopefoundation/ZEO/commit/ee4514cee615c34ae4e610fa8dc875be8ce76d0f
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/tests/dynamic_server_ports.test
    M src/ZEO/tests/zdoptions.test

  Log Message:
  -----------
  Fix zdoptions.test and dynamic_server_ports.test under PyPy by closing the files.


  Commit: 193fee888a9ad5df854f2ca1d212b90058cbb668
      https://github.com/zopefoundation/ZEO/commit/193fee888a9ad5df854f2ca1d212b90058cbb668
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/zrpc/client.py

  Log Message:
  -----------
  Fix some test failures under Python3.3+. This loop can also raise a RuntimeError([Errno 9] Bad file descriptor), though, so not all are fixed. But this may be enough to fix the hang.


  Commit: fe7510d0d2b836babdaada3a2a094925a8215086
      https://github.com/zopefoundation/ZEO/commit/fe7510d0d2b836babdaada3a2a094925a8215086
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/tests/testZEO.py

  Log Message:
  -----------
  test_ruok was hanging under Python3. Now it doesn't hang but just fails with 'struct.error: unpack requires a bytes object of length 4'


  Commit: 6396688225d7a28d8a7059fd94bfeb7e17ccc9e1
      https://github.com/zopefoundation/ZEO/commit/6396688225d7a28d8a7059fd94bfeb7e17ccc9e1
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/nagios.py
    M src/ZEO/nagios.rst

  Log Message:
  -----------
  Make the nagios metrics come back in a deterministic order. This fixes the nagios test under PyPy, but they still fail under Python 3 for the same reason test_ruok does.


  Commit: eef250824368fbbc57320fa9dcce5d7bee468ce4
      https://github.com/zopefoundation/ZEO/commit/eef250824368fbbc57320fa9dcce5d7bee468ce4
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/tests/zdoptions.test

  Log Message:
  -----------
  Missed one place to ignore the Python 3 return value of write()


  Commit: 2517e0ecb46635ca94d69338abd603502204ff2d
      https://github.com/zopefoundation/ZEO/commit/2517e0ecb46635ca94d69338abd603502204ff2d
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/nagios.py

  Log Message:
  -----------
  One more place the metrics need to be sorted for a stable order.


  Commit: 7e2dc31868e6f9f25dfa6833874ed9ed806ba869
      https://github.com/zopefoundation/ZEO/commit/7e2dc31868e6f9f25dfa6833874ed9ed806ba869
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/zrpc/smac.py

  Log Message:
  -----------
  One more place to account for the socket.error switchero on Python3. Still doesn't fix nagios/ruok though.


  Commit: d03566f09491c33e4a9096f6683d6b03d0df264d
      https://github.com/zopefoundation/ZEO/commit/d03566f09491c33e4a9096f6683d6b03d0df264d
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/nagios.py
    M src/ZEO/tests/testZEO.py
    M src/ZEO/zrpc/connection.py
    M src/ZEO/zrpc/smac.py

  Log Message:
  -----------
  Fix the ruok protocol under Python3: a bytes/unicode problem. However, the doctest cases still don't pass because they have leading u prefixes in them.


  Commit: fc8ad1803686e073fd0a4066450e7bfc6eec2b74
      https://github.com/zopefoundation/ZEO/commit/fc8ad1803686e073fd0a4066450e7bfc6eec2b74
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/tests/testZEO.py

  Log Message:
  -----------
  Per @mgedmin, use a renormalizing pattern to fix the unicode string matchin in Python3. Also just print the data for the storage we expect, because the missing u prefixes change the spacing when pprint nests dicts and things don't match under Python2.


  Commit: 3d31c7ab453ca05e1819c58bf55c46beb4048e06
      https://github.com/zopefoundation/ZEO/commit/3d31c7ab453ca05e1819c58bf55c46beb4048e06
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M buildout.cfg

  Log Message:
  -----------
  Remove unnecessary zdaemon pin. [skip ci]


  Commit: 25f0ea265d625ab1ea63de39c5fa987f83c6aa74
      https://github.com/zopefoundation/ZEO/commit/25f0ea265d625ab1ea63de39c5fa987f83c6aa74
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/tests/testZEO.py

  Log Message:
  -----------
  Python3.2 raises a different error message. Fixes checkExceptionLogsAtError


  Commit: e57c61d16ac6db9de77ead61b28430e2204ec605
      https://github.com/zopefoundation/ZEO/commit/e57c61d16ac6db9de77ead61b28430e2204ec605
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/tests/forker.py

  Log Message:
  -----------
  Fix 'RuntimeError: No active exception to reraise' seen under Python3


  Commit: b53a102578b121875007daba42d6b13a9da8464c
      https://github.com/zopefoundation/ZEO/commit/b53a102578b121875007daba42d6b13a9da8464c
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-22 (Fri, 22 May 2015)

  Changed paths:
    M src/ZEO/tests/ConnectionTests.py

  Log Message:
  -----------
  Let checkQuickVerificationWith2Clients use a longer timeaut and raise an assertion error if the timeout fails. Trying to debug intermittant failures on Travis, seen in all versions of Python.


  Commit: 7f035440529639329cbddbd60598629d241d963e
      https://github.com/zopefoundation/ZEO/commit/7f035440529639329cbddbd60598629d241d963e
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-06-05 (Fri, 05 Jun 2015)

  Changed paths:
    M .gitignore
    M .travis.yml
    M CHANGES.rst
    M buildout.cfg
    M setup.py
    M src/ZEO/ClientStorage.py
    M src/ZEO/StorageServer.py
    M src/ZEO/_compat.py
    M src/ZEO/auth/base.py
    M src/ZEO/cache.py
    M src/ZEO/nagios.py
    M src/ZEO/nagios.rst
    M src/ZEO/tests/ConnectionTests.py
    M src/ZEO/tests/IterationTests.py
    M src/ZEO/tests/dynamic_server_ports.test
    M src/ZEO/tests/forker.py
    M src/ZEO/tests/protocols.test
    M src/ZEO/tests/testZEO.py
    M src/ZEO/tests/zdoptions.test
    M src/ZEO/tests/zeo_blob_cache.test
    M src/ZEO/zrpc/client.py
    M src/ZEO/zrpc/connection.py
    M src/ZEO/zrpc/marshal.py
    M src/ZEO/zrpc/smac.py
    M tox.ini

  Log Message:
  -----------
  Merge pull request #12 from NextThought/pypy-support

Add support for PyPy.


Compare: https://github.com/zopefoundation/ZEO/compare/96b1702a6061...7f0354405296


More information about the checkins mailing list