-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing minimum/supported twisted versions. #134
Comments
Thanks for raising this, I made a pull request to fix it. pymongo>=3.0 Can you help validate this? Technically, lower twisted versions should work... but only for python 2.7, not 3. |
If i can spare some cycles, sure. I've got all our machines running simulations in prep for a large data migration (moving our read-only archive of searchindex snapshots from postgres to mongo via twisted for the wiredtiger compression!) Everything works on "current", and I think its safe to peg minimums to that. The big issue I encountered was that I'm used to packages updating components, and a few machines had older twisteds+mongos. This should technically work on all mongodb versions, with the exception of some "newer" functions. for example "aggregate" started around 2.2 (so epic failures if you're running 2.0!) I can tell you that I loosely recall: (python 2.7.5) |
In order to hold to our self-imposed mandate of 1:1 with PyMongo, we've had to make some sacrifices with older versions of PyMongo and Python. While most things will still work with 2.6, we only make guarantees with 2.7 and 3.0 so with that: caveat emptor. Twisted is a bit more tricky, as you said. We make use of Twisted's compat library to bridge 2.x and 3.0, but that is mostly in our test cases. We originally had Tox handling twisted back to 13.0 but with the push for 3.0 support, we had to back off to >=14.0 I wish you success in your postgres2mongodb migration. :) WT is great stuff to be sure, I'm just worried about the rest surrounding it. ;) |
This definitely needs >=14. I tried on 13 when I had a moment, and it failed. We're using Mongo for a data archive, so not worried too much. it just needs to write and hopefully not corrupt if we ever have to read. |
Is this issue still relevant? Seems like minimum twisted version is now specified in setup.py as 14.0.0. |
I think so. We have a simplified setup.py.as a result. |
The package requires twisted, but does not specify a minimum version or the known target/working version.
The text was updated successfully, but these errors were encountered: