Skip to content

Upgrade compatibility / PyPI / 5.2.2 to 5.3.0

Is upgrading lxml from 5.2.2 to 5.3.0 safe on Debian, Ubuntu, Alpine and RHEL?

4 of 4 distro images resolve a compatible artifact for lxml 5.3.0; the license is unchanged (BSD-3-Clause).

Written by Osty EngineeringPublished Updated Ed25519-signed seed preview

Distro images broken
None
License
BSD-3-Clause, 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.

lxml 5.3.0 artifacts resolved on each distro image
DistrolibcResolved artifactRequired symbol versionDT_NEEDEDVerdict
Debian 12 (bookworm)glibc 2.36lxml-5.3.0-cp312-cp312-manylinux_2_28_x86_64.whlGLIBC_2.28libc.so.6, libz.so.1Compatible
Ubuntu 24.04 (noble)glibc 2.39lxml-5.3.0-cp312-cp312-manylinux_2_28_x86_64.whlGLIBC_2.28libc.so.6, libz.so.1Compatible
Alpine 3.20musl 1.2.5lxml-5.3.0-cp312-cp312-musllinux_1_2_x86_64.whlmusl 1.2.2libc.musl-x86_64.so.1, libz.so.1Compatible
RHEL 9glibc 2.34lxml-5.3.0-cp312-cp312-manylinux_2_28_x86_64.whlGLIBC_2.28libc.so.6, libz.so.1Compatible

SPDX license shift

License identifiers are read from package metadata and LICENSE files of both versions and normalized to SPDX.

lxml license from 5.2.2 to 5.3.0
FromToShift
BSD-3-ClauseBSD-3-ClauseUnchanged

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.

lxml public API from 5.2.2 to 5.3.0
AnalyzerAddedRemovedChanged signaturesRemoved symbols named
Python AST6223None named

Know what an upgrade breaks before you ship it

Osty checks glibc, musl, SPDX and API breaks for every upgrade across your fleet and opens verified fix PRs under your policy. Start with a free 10-minute X-Ray.