Giter VIP home page Giter VIP logo

Comments (6)

cosmicBboy avatar cosmicBboy commented on May 31, 2024 9

thanks for the suggestion @HynekBlaha !

Actually this PR already adds support for v2: #1253

will need to re-run all the tests, but it should provide backwards compat with v1

from pandera.

HynekBlaha avatar HynekBlaha commented on May 31, 2024 6

Oh, that's great news! Is there any estimate when it could be released? 🙂 Looking forward to it!

from pandera.

cosmicBboy avatar cosmicBboy commented on May 31, 2024 2

This is done. Fixed by #1253

from pandera.

HynekBlaha avatar HynekBlaha commented on May 31, 2024

Hello @cosmicBboy, I suggest to migrate Pandera codebase to Pydantic v2 in two steps.

Step 1) Use Pydantic v2 dependency, import from pydantic.v1
Step 2) Incrementally convert codebase to use pydantic.BaseModel instead of pydantic.v1.BaseModel.

We are using Pandera extensively, but with pinned dependency to pydantic=1.*, we cannot benefit from significantly improved improved performance of pydantic v2 in other parts of project.

The step 1) being simple dependency update + replace imports with sed, would help us a lot.

from pandera.

tkaraouzene avatar tkaraouzene commented on May 31, 2024

Hello and thanks for this library!
I also would be very interested by this feature. Any release date estimation

from pandera.

tkaraouzene avatar tkaraouzene commented on May 31, 2024

My very bad, I didn't see it.
Thanks a lot

from pandera.

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.