Giter Club home page Giter Club logo

Comments (5)

Jypear avatar Jypear commented on June 13, 2024 6

@profile-55 @Daniel-Ross
This is related to pydantic-v2 not being supported and no version tagging in the setup.py file as of yet.
#210

Forks do exist of Rocketry with pydantic.v1 shoe horned into the imports and a couple of PRs exist in fixing the overarching issue. But theres still ongoing work and Miksus is busy with other things at the moment.

If you need a quick fix, tie pydantic to v1.10.10 in your requirements.txt files and re-install pydantic in your venvs

pip uninstall pydantic
pip install pydantic==1.10.10

If you desperately need to use pydantic v2 (like with a requirement for another module you're using) then maybe take a look at one of the forks someone has done in the short term.

from rocketry.

Daniel-Ross avatar Daniel-Ross commented on June 13, 2024 2

I'm getting this error as well. Fresh install this morning.

from rocketry.

MMartin09 avatar MMartin09 commented on June 13, 2024

Is there any chance that this will be fixed in the near future?

from rocketry.

Jypear avatar Jypear commented on June 13, 2024

Is there any chance that this will be fixed in the near future?

@MMartin09 The blocker in this is the RedBird PR. Once thats finished then theres probably just some tweaks to do to the Rocketry PR. I just haven't really had time to look at the RedBird PR. Its quite difficult to migrate due to the variety of ways Pydantic has been used that aren't compatible with v2 and each issue requires a lot of digging to find an alternate solution.

I'm quite tied up with work so haven't really had time to look further and I expect I should be busy for another month or so. I'll try continue the PR when I can, but when its finished I'm not sure when Miksus will be around to review the PR. Probably not going to be a quick solution in the short term from my end.

from rocketry.

MMartin09 avatar MMartin09 commented on June 13, 2024

Okay great. Thanks for the detailed answer!

from rocketry.

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.