diff --git a/openstack_releases/pythonutils.py b/openstack_releases/pythonutils.py index 9764cd7024..6182c96cb7 100644 --- a/openstack_releases/pythonutils.py +++ b/openstack_releases/pythonutils.py @@ -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, diff --git a/requirements.txt b/requirements.txt index 0e2730e9d5..a567f662cd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,6 +8,7 @@ # # ###################################################################### +build>=0.7.0 pbr>=1.6 keyring>=7.3 requests>=2.5.2