Unbundled Brotli from py-brotli

Written at lunch time in English • Tags: , , , ,

While tracking CVE-2026-111497 I noticed that archivers/py-brotli compiles its own copy of the Brotli library, so I changed it to link against the one from archivers/brotli instead. The upstream setup.py already supports this when USE_SYSTEM_BROTLI=1 is set in the environment, so no patches were needed. The extension module shrank from 882k to 39k.

Add a comment