umongo icon indicating copy to clipboard operation
umongo copied to clipboard

[RFC] Drop txmongo support?

Open whophil opened this issue 2 years ago • 3 comments

It seems txmongo is increasingly hard to support.

txmongo cannot be imported with pymongo >= 4 (see https://github.com/twisted/txmongo/issues/278)

Even if the import issues are fixed, txmongo internally uses an OP_QUERY command which is incompatible with Mongo server instances >= 6.0 (see https://www.mongodb.com/docs/manual/reference/mongodb-wire-protocol/#footnote-op-query-footnote).

txmongo is not actively developed.

Should txmongo support remain, or just be deprecated?

whophil avatar Sep 18 '22 22:09 whophil

Hi.

If you think you can fix txmongo easily and get away with it for a few months, then it may be worth doing. But otherwise, let's not carry the burden of a lib that is not actively maintained.

Since dropping it would be a breaking change, you may want to ship a major release. Time to see what other issue we could cram in there (probably none).

Or maybe just don't bother, pin the pymongo version in the tests and ensure CI runs on appropriate MongoDB version if that is not too hard. And yes, as you said, add a deprecation notice for future removal, so we get to see if someone takes over txmongo development. If nobody does, then dropping it is the way to go.

lafrech avatar Sep 19 '22 07:09 lafrech

We're (maintainers) still around, just had a lot of life issues in the way. We do accept PRs. We're now in the process of migrating away from travis-ci to github actions. We also have support for later versions of mongodb in the works as well.

psi29a avatar Feb 01 '23 10:02 psi29a