Open vilisov opened 10 years ago
I do not understand about get_client
method. swight did not remove get_client, he add it.
Yes, I was wrong about get_client
method! everything is ok.
@tahajahangir could you please fix two tests in test_signal.py
? I have no idea why they fails.
I rebased the changes to add travis build support. The new branch is located in tahajahangir/coroutine-py3
.
I fixed the two failing tests in orm.signals (they incorrectly used two nested stop/wait calls). The good news is tests are passing in python 2.7, and the bad news is they passed only on python 2.7 (failed in 2.6, 3.2, 3.3, 3.4 and pypy). Build results is accessible in https://travis-ci.org/tahajahangir/mongotor/builds/26819709 .
@marcelnicolay : What's the reason to fix versions in requirements-dev.txt
? It seems builds on python 3.x and pypy is failed because of outdated required packages.
@geerk : Can you fix syntax errors on python 2.6? (see build status)
@tahajahangir why we should support 2.6? I think those who use Tornado and MongoDB will not use 2.6.
I added some commits (mainly added use of six and removed use of sure) and tests now run on python 2.7/3.2/3.3/3.4 (build status)
Only one test is failing on python 2.6. On pyy, there are several failing tests, and test process stucks at test_load_two_in_pool_connections
.
I also pushed a merge of current open pull requests (#42 #42 #44 #37) to tahajahangir/master
I reviewed the changes, most of them seems OK, but this notes should be considered:
b'data'
) breaks python 2.5 compatibility (no-one is using python2.5 of-course), documentation should be updated to mention support of python2.6+.Collection.get_client
is removed (and inlined), but it's a backward-incompatible change and also is not a necessary. I think this change should be reverted.setup.py
) should change back tomongotor
(frommongotor-skd
)Collection.all
added, documentation needed.Collection.__collection__
attribute is now auto-generated from class name (if not explicitly defined) by converting upper-camel-case style to underline-separated style. This is a good change, but docs is not updated.