mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Also consider requirements/constraints.txt
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
6934fe3c63
commit
7647f9425b
1 changed files with 8 additions and 0 deletions
|
@ -17,6 +17,7 @@ PKG_REQUIREMENTS_FILES_PATH = (
|
|||
)
|
||||
DEFAULT_REQS_CONFIG = DefaultRequirementsConfig(
|
||||
pip_args=[
|
||||
f"--constraint={REQUIREMENTS_FILES_PATH / 'constraints.txt'}",
|
||||
f"--constraint={PKG_REQUIREMENTS_FILES_PATH / 'linux.txt'}",
|
||||
],
|
||||
requirements_files=[
|
||||
|
@ -25,6 +26,13 @@ DEFAULT_REQS_CONFIG = DefaultRequirementsConfig(
|
|||
],
|
||||
)
|
||||
RELEASE_VENV_CONFIG = VirtualEnvConfig(
|
||||
env={
|
||||
"PIP_CONSTRAINT": str(REQUIREMENTS_FILES_PATH / "constraints.txt"),
|
||||
},
|
||||
pip_args=[
|
||||
f"--constraint={REQUIREMENTS_FILES_PATH / 'constraints.txt'}",
|
||||
f"--constraint={PKG_REQUIREMENTS_FILES_PATH / 'linux.txt'}",
|
||||
],
|
||||
requirements_files=[
|
||||
CI_REQUIREMENTS_FILES_PATH / "tools-virustotal.txt",
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue