f75e1056f1
These fixes have to go in together as they are not mergeable individually. First up remove the TripleO jobs TripleO is retired so removing its jobs - https://review.opendev.org/q/topic:%22retire-tripleo%22 Next the train EOL has largely completed and leaves us in an awkward position for running tempest-full against python2. While branchless tempest continues to define a tempest-full job this job is no longer working after devstack's stable/train branch deletion. There are two reasons for this. The first is checking out correct branches of openstack software which we can address in a straightforward manner through zuul branch checkout overrides from stable/train to train-eol. The other issue is that we previously relied on zuul running the stable/train version of devstack's base jobs under tempest-full. Now that the branch is gone we're getting master devstack base jobs which don't do things like setup virtualenv (needed for python2) or override the nodeset to ubuntu-bionic. Instead of trying to continue to make this job work we accept the decrease in python2 coverage and will rely on python2 unittesting instead. An alternative would be to set up functional testing with swift since swift continues to maintain python2 compatibility in its newer branches. Finally we update a test case to check for modern pip's normalized package names (previously installing pkg_b resulted in a normalized name of pkg-b, but now pkg_b remains pkg_b and we need to check for that instead). Check for both variations as we want the tests to pass regardless of pip and setuptools versions used. Co-Authored-By: Clark Boylan <clark.boylan@gmail.com> Change-Id: I9d3417d5803b9ba3e4731fdebbd26778031effcd |
||
---|---|---|
doc | ||
pbr | ||
playbooks/pbr-installation-openstack | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pre-commit-config.yaml | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
pyproject.toml.future | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Introduction
PBR is a library that injects some useful and sensible default behaviors into your setuptools run. It started off life as the chunks of code that were copied between all of the OpenStack projects. Around the time that OpenStack hit 18 different projects each with at least 3 active branches, it seemed like a good time to make that code into a proper reusable library.
PBR is only mildly configurable. The basic idea is that there's a decent way to run things and if you do, you should reap the rewards, because then it's simple and repeatable. If you want to do things differently, cool! But you've already got the power of Python at your fingertips, so you don't really need PBR.
PBR builds on top of the work that d2to1 started to provide for declarative configuration. d2to1 is itself an implementation of the ideas behind distutils2. Although distutils2 is now abandoned in favor of work towards PEP 426 and Metadata 2.0, declarative config is still a great idea and specifically important in trying to distribute setup code as a library when that library itself will alter how the setup is processed. As Metadata 2.0 and other modern Python packaging PEPs come out, PBR aims to support them as quickly as possible.
- License: Apache License, Version 2.0
- Documentation: https://docs.openstack.org/pbr/latest/
- Source: https://opendev.org/openstack/pbr
- Bugs: https://bugs.launchpad.net/pbr
- Release Notes: https://docs.openstack.org/pbr/latest/user/releasenotes.html
- ChangeLog: https://docs.openstack.org/pbr/latest/user/history.html