Upgrade compatibility / PyPI / 2.18.4 to 2.23.4
Is upgrading pydantic-core from 2.18.4 to 2.23.4 safe on Debian, Ubuntu, Alpine and RHEL?
4 of 4 distro images resolve a compatible artifact for pydantic-core 2.23.4; the license is unchanged (MIT).
Written by Osty EngineeringPublished Updated Ed25519-signed seed preview
- Distro images broken
- None
- License
- MIT, unchanged
- Removed public symbols
- 2
- Analyzer
- Python AST
ELF and libc compatibility matrix
The resolver picks the artifact each distro image would install, then reads its DT_NEEDED and VERNEED entries against the libc that ships in that image.
| Distro | libc | Resolved artifact | Required symbol version | DT_NEEDED | Verdict |
|---|---|---|---|---|---|
| Debian 12 (bookworm) | glibc 2.36 | pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_x86_64.whl | GLIBC_2.17 | libc.so.6, libgcc_s.so.1 | Compatible |
| Ubuntu 24.04 (noble) | glibc 2.39 | pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_x86_64.whl | GLIBC_2.17 | libc.so.6, libgcc_s.so.1 | Compatible |
| Alpine 3.20 | musl 1.2.5 | pydantic_core-2.23.4-cp312-cp312-musllinux_1_2_x86_64.whl | musl 1.2.2 | libc.musl-x86_64.so.1, libgcc_s.so.1 | Compatible |
| RHEL 9 | glibc 2.34 | pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_x86_64.whl | GLIBC_2.17 | libc.so.6, libgcc_s.so.1 | Compatible |
SPDX license shift
License identifiers are read from package metadata and LICENSE files of both versions and normalized to SPDX.
| From | To | Shift |
|---|---|---|
MIT | MIT | Unchanged |
Public API break summary
Exported symbols of both versions are compared with a language-native analyzer; removed and re-typed symbols break callers at build time.
| Analyzer | Added | Removed | Changed signatures | Removed symbols named |
|---|---|---|---|---|
| Python AST | 10 | 2 | 1 | None named |
More from the upgrade compatibility atlas
- ruff4 of 4 distro images resolve a compatible artifact for ruff 0.6.9; the license is unchanged (MIT).
- torch3 of 4 distro images resolve a compatible artifact for torch 2.6.0; the license is unchanged (BSD-3-Clause).
- github.com/cilium/ebpf4 of 4 distro images resolve a compatible artifact for cilium/ebpf v0.16.0; the license is unchanged (MIT).
- Upgrade dossiersBefore a fleet upgrade, check which distro images can load the new artifact, whether the license moved, and how many public symbols disappeared.