devel/py-pydantic-compat 0.1.2p2 OpenBSD
compatibility for pydantic v1-v2 cross compatibility
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Renaud Allard <[email protected]>
- Categories
- devel, lang/python
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).
In the other systems
The newest version among them is 0.1.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| OpenBSD | devel/py-pydantic-compat | 0.1.2p2 newest | no data | - | Renaud Allard <[email protected]> | - |
| FreeBSD | devel/py-pydantic-compat | 0.1.2 newest | none known | - | [email protected] | - |
| DragonFly | devel/py-pydantic-compat | 0.1.2 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-pydantic-compat | 0.1.2 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-pydantic-compat | 0.1.2 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg_add py3-pydantic_compat
From the ports tree:
cd /usr/ports/devel/py-pydantic-compat && make install
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Build dependencies 4
Run dependencies 3
No port depends on this one.