py3-pydantic_compat-0.1.2p2
compatibility for pydantic v1-v2 cross compatibility
Back to search · Project homepage
Description
This package provides (unofficial) compatibility mixins and function
adaptors for pydantic v1-v2 cross compatibility. It allows you to
use either v1 or v2 API names, regardless of the pydantic version
installed. (Prefer using v2 names when possible).
Pydantic 2 was a major release that completely changed the pydantic API.
For applications, this is not a big deal, as they can pin to whatever
version of pydantic they need. But for libraries that want to exist
in a broader environment, pinning to a specific version of pydantic
is not always an option (as it limits the ability to co-exist with
other libraries).
Package information
- Ports path
- devel/py-pydantic-compat
- Package architecture
- amd64
- Maintainer
- Renaud Allard <renaud@allard.it>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.