Drop PBR environment flags from sdist build

Change-Id: Ia36d9eab7d9f3e29d8804b592210ab6fb5e06148
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis
2020-05-11 10:11:35 -05:00
parent b36a598529
commit c75a909d1f

View File

@@ -86,17 +86,18 @@ def build_sdist(workdir, repo):
python = '.tox/venv/bin/python3'
else:
python = 'python3'
# Set some flags to turn off pbr functionality that we don't need
flags = {
'SKIP_GENERATE_RENO': '1',
'SKIP_GENERATE_AUTHORS': '1',
'SKIP_WRITE_GIT_CHANGELOG': '1',
}
# Set some flags to turn off pbr functionality that we don't need.
# This is currently causing some failures, so for now we are not passing
# along until we understand why.
# flags = {
# 'SKIP_GENERATE_RENO': '1',
# 'SKIP_GENERATE_AUTHORS': '1',
# 'SKIP_WRITE_GIT_CHANGELOG': '1',
# }
cmd = [python, 'setup.py', 'sdist', 'bdist_wheel']
processutils.check_call(
cmd,
cwd=dest,
env=flags)
cwd=dest)
def check_readme_format(workdir, repo):