mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
assert the requirements file exists when installing dependencies
This commit is contained in:
parent
82a6deb771
commit
3b662a5451
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue