Changes announced January 31, 2024

Changes announced for Protocol Buffers on January 31, 2024.

This topic covers breaking changes in Python in the 26.x line.

Python Breaking Changes

Removing and setup.cfg support from GitHub

In the 26.x release, and setup.cfg will no longer be present in the python/ directory of the GitHub repository or GitHub release tarballs. This means it will no longer be possible to build a Python package directly from the GitHub repo or release tarball.

The Python source packages published on PyPI will continue to have a in the top-level directory. This is the supported and recommended way of building Python binary packages, for users who do not want to use the binary packages that we distribute on PyPI.

For more information, see #15671.