Merge "Replace old sdist and wheel build command in validate"

This commit is contained in:
Zuul 2022-05-05 09:44:59 +00:00 committed by Gerrit Code Review
commit f7beb542ab
2 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,7 @@ def build_sdist(workdir, repo):
'SKIP_GENERATE_AUTHORS': '1',
'SKIP_WRITE_GIT_CHANGELOG': '1',
}
cmd = [python, 'setup.py', 'sdist', 'bdist_wheel']
cmd = [python, '-m', 'build' '--sdist', '--wheel']
processutils.check_call(
cmd,
cwd=dest,

View File

@ -8,6 +8,7 @@
# #
######################################################################
build>=0.7.0
pbr>=1.6
keyring>=7.3
requests>=2.5.2