yanyongyu / githubkit

The modern, all-batteries-included GitHub SDK for Python, including rest api, graphql, webhooks, like octokit!
MIT License
159 stars 21 forks source link

Release Pre-Release to install pydantic 2> #63

Closed vQid closed 7 months ago

vQid commented 7 months ago

Current release does not support pydantic v2 and above, I already updated my projects to version 2 and above and have to install the pre release of githubkit explicitly.

yanyongyu commented 7 months ago

Hey, the pydantic v2 pre-release has already been released here: https://github.com/yanyongyu/githubkit/releases/tag/v0.11.0a0

you can install it using pip install --pre or poetry add --allow-prerelease etc.

but note that pydantic v2 may cause huge memory usage currently (#54) and some errors when parsing webhook events (#50).