Giter Site home page Giter Site logo

Comments (3)

imryche avatar imryche commented on September 7, 2024

Hey! Thanks for bringing this to my attention.

I've added a version constraint for pydantic, requiring version 2 or higher. Feel free to upgrade to 1.6.1, and you should no longer encounter this compatibility issue.

from blockkit.

bcxpro avatar bcxpro commented on September 7, 2024

Thanks,

My workaround for the issue was this (in poetry):

blockkit = "^1.5.1,!=1.6.0"
pydantic = "^1.9.0"

That is, banning 1.6.0. Now that you published 1.6.1 with the right constraints the dependency resolver installs 1.5.2 instead of 1.6.1 and everything works.

However, if I unban 1.6.0

blockkit = "^1.5.1"
pydantic = "^1.9.0"

Then the dependency resolver installs 1.6.0 because it is the latest version "compatible" with pydantic 1.

So my guess is that you have to "yank" version 1.6.0 in pypi.

Cheers,

from blockkit.

imryche avatar imryche commented on September 7, 2024

Hi, I've decided to simply remove version 1.6.0 from PyPI. This should resolve the issue.

from blockkit.

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.