Release Notes

5.5.1

Other Notes

  • 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.

5.5.0

Other Notes

5.4.0

New Features

  • Add an option to print only the version of a package

    Example:

    $ pbr info -s pkgname
    1.2.3
    

5.2.1

Bug Fixes

  • Fixes the handling of spaces in data_files globs. Please see bug 1810934 for more details.

5.2.0

Bug Fixes

5.1.3

Bug Fixes

5.1.2

Bug Fixes

  • Fixes a bug where the directory names of items specified in data_files could 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-links in requirements files. This option is not a valid install_requires entry for setuptools and thus breaks PBR-based installs.

5.0.0

Bug Fixes

  • The description-content-type was not being set correctly. It will now be correctly populated when using setuptools 39.2.0 and beyond.

4.3.0

New Features

  • Subdirectories can now be included when specfifying a requirement in requirements.txt or test-requirements.txt using VCS URIs. For example:

    -e git+https://foo.com/zipball#egg=bar&subdirectory=baz

    For more information, refer to the pip documentation.

4.0.0

New Features

  • Support version parsing of git tag with the v<semver> pattern (or V<semver>), in addition to <semver>.

Upgrade Notes

  • 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.

Deprecation Notes

  • Support for 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 test on a per-project basis, if necessary. This feature will be removed in a future release.