Giter Site home page Giter Site logo

Upgrade to SQLAlchemy 2.0 about ormar HOT 5 OPEN

pmdevita avatar pmdevita commented on June 13, 2024 5
Upgrade to SQLAlchemy 2.0

from ormar.

Comments (5)

zanieb avatar zanieb commented on June 13, 2024 2

Just a heads up that the referenced pull request isn't moving forward very quickly and databases is short on maintainers — I'm the only one reviewing things right now and am not a user. If someone is interested in helping out on that pull request it may be appreciated!

from ormar.

pmdevita avatar pmdevita commented on June 13, 2024 1

If you need something right now, you can install Ormar from my SQLAlchemy 2 branch https://github.com/pmdevita/ormar/tree/feature/sqlalchemy2 Everything should be working now and a number of dependencies are updated since the minimum version of Python has been increased to 3.8

from ormar.

jamesbraza avatar jamesbraza commented on June 13, 2024 1

@alexol91 as programmers, we must learn the dark arts of using workarounds :). In case you didn't know about these:

  • Direct install: pip install git+https://github.com/pmdevita/ormar.git@feature/sqlalchemy2
  • requirements.txt: ormar @ git+https://github.com/pmdevita/ormar.git@feature/sqlalchemy2

from ormar.

pmdevita avatar pmdevita commented on June 13, 2024

At long last the PR is merged! I'll start taking a look at integrating it on our end.

It might also be worth looking at https://github.com/tarsil/databasez which is a more actively maintained fork

from ormar.

alexol91 avatar alexol91 commented on June 13, 2024

Please, we need an urgent update at least temporary support to SQLAlchemy==1.4.52

I know you're working on SQLAlchemy 2 and Pydantic 2, but we need ORMAR to support SQLAlchemy 1.4.52 at least.

I am receiving:
ormar 0.12.2 depends on SQLAlchemy<1.4.42 and >=1.3.18

Many external dependencies are waiting for this version and I'm stuck

from ormar.

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.