GithubHelp home page GithubHelp logo

Mess of pymongo versions about umongo HOT 3 CLOSED

scille avatar scille commented on May 30, 2024
Mess of pymongo versions

from umongo.

Comments (3)

touilleMan avatar touilleMan commented on May 30, 2024

Yeah, the main trouble is motor needs pymongo==2.8 exactly.
On the other hand txmongo wants pymongo>=3.0, so does umongo-pymongo dal.

This means you cannot share the same environment to work with both motor and pymongo/txmongo.

I've seen it is plan for motor to switch to pymongo>3.0. When it'll be done we will upgrade motor dal and drop pymongo 2.8 api.

from umongo.

imbolc avatar imbolc commented on May 30, 2024

Thanks a lot for clarifying. I hope they will do this. Because it's usual case when motor used with aiohttp for web server. And pymongo for this site cli scripts. And now we should use different venvs for server and scripts, or use raw pymongo for scripts.

from umongo.

touilleMan avatar touilleMan commented on May 30, 2024

I agree, beeing able to use motor/txmongo and pymongo in the same project with the same datamodel was one of my goal when starting umongo.

I think a solution could be to create a pymongo28 dal which would be essentially a rehash of the regular pymongo dal with only a couple of fix where the api changes.

from umongo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.