Ming icon indicating copy to clipboard operation
Ming copied to clipboard

support pymongo 4.x

Open brondsem opened this issue 3 years ago • 3 comments

Pymongo 4.x has a lot of breaking changes. See https://pymongo.readthedocs.io/en/stable/changelog.html#changes-in-version-4-0 and https://pymongo.readthedocs.io/en/stable/migrate-to-pymongo4.html Certainly Ming will be affected significantly by save/insert/update/remove/find_and_modify being replaced with _one and _many versions

Pymongo 3.x last release was 3.13 in Nov 2022 https://pypi.org/project/pymongo/#history and there is no 3.x branches on github so probably 3.x is done being supported

3.x does support mongodb 5.0 and python 3.10 so that'll last for a while.

brondsem avatar Jul 27 '22 22:07 brondsem

I mean pymongo 4.0 is from Nov 29, 2021, so either this project is dead or nobody cares enough to fix it. Which is it? We just cannot have in openSUSE package with test results “171 failed, 149 passed” and I don’t have enough time (and strictly speaking, the interest) to fix it myself.

mcepl avatar Oct 25 '22 16:10 mcepl

Hi,

This project isn't dead, but its not very active either. Supporting pymongo 4.x will take a lot of work, and pymongo 3.x still works well. So it hasn't been addressed yet.

I am not familiar with any openSUSE package for Ming. If it cannot use pymongo 3 there, then it seems like maybe it should be removed from openSUSE. I don't know enough about that situation to suggest anything confidently though.

When Ming is installed via pip, then the setup.py constraints come into play and require pymongo>=3.0,<4. So that installation method prevents version mismatch problems.

brondsem avatar Oct 27 '22 14:10 brondsem

Thank you for your honesty.

mcepl avatar Oct 27 '22 16:10 mcepl

Fixed via #60

brondsem avatar Aug 01 '24 18:08 brondsem