diff options
author | Clark Boylan <clark.boylan@gmail.com> | 2021-11-12 09:16:04 -0800 |
---|---|---|
committer | Clark Boylan <clark.boylan@gmail.com> | 2021-11-12 09:16:04 -0800 |
commit | de0c717b17841b0b14019130872f8f02a6aed217 (patch) | |
tree | 6386905a26420da89c2a588459e2ae6a1060c0a2 /pbr/packaging.py | |
parent | d21c2caf1dbd69ba630075e48254131499f01afe (diff) | |
download | pbr-de0c717b17841b0b14019130872f8f02a6aed217.tar.gz |
Allow PEP517 without setup_requires
When using PBR PEP517 support without setup_requires were were
infinitely recursing because Distribution.finalize_options calls pbr()
and pbr() calls Distribution.finalize_options. With a setup_requires
this doesn't seem to happen because something is resetting dist.pbr's
value from True (callable) to None (not callable) after the initial
pbr() call and before further recursion can occur.
Explicitly enforce this behavior in pbr() via an explicit update of
dist.pbr to None to avoid calling pbr() more than once resulting in the
unwanted loop.
Change-Id: I1f2b4d34e587389f7e11b99d000e14477cf5091b
Diffstat (limited to 'pbr/packaging.py')
0 files changed, 0 insertions, 0 deletions