Git Product home page Git Product logo

Comments (8)

sfitts avatar sfitts commented on September 26, 2024 1

@joein Thanks for pointing that out -- we were not intending to use pydantic v2 at this point (it was getting dragged in by some sloppy requirements specification). After cleaning that up we're now fine with type_extensions 4.5.0. At least that's what pip-tools seems to think ;).

from qdrant-client.

sfitts avatar sfitts commented on September 26, 2024

The same kind of conflict exists between qdrant-client 1.3.1 and pydantic-core 2.1.2 (which requires typing_extensions of at least 4.6.0, but not 4.7.0). This leaves the first (preferred) solution as really the only one that works.

from qdrant-client.

joein avatar joein commented on September 26, 2024

Initial reason to have fixed dependency for typing-extensions was caused by their bug, as far as I remember it was version 4.6.0.
I will check how does it work with different versions of typing-extensions, and maybe update the dependencies

Found #175

Initial reason was bug in pydantic.
pydantic<1.10.8 is incompatible with typing-extensions>4.5.0

from qdrant-client.

joein avatar joein commented on September 26, 2024

It does not seem like replit-py is actively maintained replit/replit-py#125
We probably would not downgrade our dependency, but I'll look into this

Issue with pydantic will be fixed

from qdrant-client.

joein avatar joein commented on September 26, 2024

@sfitts

Afaik pydantic-core is all about pydantic v2 ?
At the moment pydantic v2 is not supported, it is not that easy as just allow a certain version of typing-extensions :(

However we are working on this.
Should be available soon

from qdrant-client.

joein avatar joein commented on September 26, 2024

#203

from qdrant-client.

joein avatar joein commented on September 26, 2024

As of #214 qdrant-client supports pydantic v2 and typing-extensions are not explicitly frozen anymore, should be available with the next release

from qdrant-client.

joein avatar joein commented on September 26, 2024

pydantic v2 support was introduced in qdrant-client==1.3.2

from qdrant-client.

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.