Skip to content
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

support pymongo 4.x #48

Open
brondsem opened this issue Jul 27, 2022 · 3 comments
Open

support pymongo 4.x #48

brondsem opened this issue Jul 27, 2022 · 3 comments

Comments

@brondsem
Copy link
Collaborator

brondsem commented Jul 27, 2022

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 brondsem pinned this issue Jul 27, 2022
@mcepl
Copy link

mcepl commented Oct 25, 2022

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.

@brondsem
Copy link
Collaborator Author

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.

@mcepl
Copy link

mcepl commented Oct 27, 2022

Thank you for your honesty.

bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this issue Oct 28, 2022
https://build.opensuse.org/request/show/1031601
by user mcepl + dimstar_suse
According to gh#TurboGears/Ming#48 support for Pymongo 4.* is a long time away.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants