Packages generated with the 5.8.0 release of PBR failed to incorporate pbr.json metadata files. This is now corrected. Users can rebuild packages with newer PBR if they want that missing metadata generated.
PBR now includes a PEP 517 build-backend and can be used in pyproject.toml build-system configuration. Setuptools continues to be the underlying mechanism with PBR acting as a driver via PEP 517 entrypoints.
The 2to3 conversion utility has been long discouraged in favor of writing multi-version-capable scripts. As of Setuptools 46.2.0 it’s deprecated and slated for removal from the Python 3.10 standard library. Projects which still need it are encouraged to perform conversion prior to packaging. See https://bugs.python.org/issue40360 and https://github.com/pypa/setuptools/issues/2086 for more details.
Support to generate bdist_wininst packages has been removed. As of Python 3.8 and Setuptools 47.2 it’s deprecated in favor of just using wheels for Windows platform packaging. See https://discuss.python.org/t/deprecate-bdist-wininst/ and https://discuss.python.org/t/remove-distutils-bdist-wininst-command/ for more details.
Add an option to print only the version of a package
$ pbr info -s pkgname 1.2.3
Fixes the handling of spaces in data_files globs. Please see bug 1810934 for more details.
Fix error when
keywordsargument as a cfg list. Previously
CSV_FIELDSand with these changes
MULTI_FIELDS. Refer to https://bugs.launchpad.net/pbr/+bug/1811475 for more information.
Fixes a bug where the directory names of items specified in
data_filescould be renamed if the source prefix glob was contained within the directory name. See bug 1810804 for details. For more information on
data_files, see the distutils documentation.
PBR now ignores
--find-linksin requirements files. This option is not a valid
install_requiresentry for setuptools and thus breaks PBR-based installs.
description-content-typewas not being set correctly. It will now be correctly populated when using
setuptools39.2.0 and beyond.
Subdirectories can now be included when specfifying a requirement in
test-requirements.txtusing VCS URIs. For example:
For more information, refer to the pip documentation.
Support version parsing of git tag with the
V<semver>), in addition to
Support for entry point command hooks has been removed. This feature was poorly tested, poorly documented, and broken in some environments. Support for global hooks is not affected.
pyN-suffixed requirement files has been deprecated: environment markers should be used instead.
testr and nose integration has been deprecated. This feature allowed pbr to dynamically configure the test runner used when running
setup.py test. However, this target has fallen out of favour in both the OpenStack and broader Python ecosystem, and both testr and nose offer native setuptools commands that can be manually aliased to
teston a per-project basis, if necessary. This feature will be removed in a future release.