assert the requirements file exists when installing dependencies

This commit is contained in:
MKLeb 2023-03-08 14:28:19 -05:00 committed by Megan Wilhite
parent 82a6deb771
commit 3b662a5451

View file

@ -279,7 +279,8 @@ def onedir_dependencies(
requirements_version = version_info.stdout.strip().decode()
requirements_file = pathlib.Path(
"requirements", "static", "pkg", f"py{requirements_version}", f"{platform}.txt"
)
).resolve()
_check_pkg_build_files_exist(ctx, requirements_file=requirements_file)
ctx.run(str(pip_bin), "install", "-U", "wheel")
ctx.run(str(pip_bin), "install", "-U", "pip>=22.3.1,<23.0")