We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8475968 commit adbe094Copy full SHA for adbe094
noxfile.py
@@ -123,7 +123,17 @@ def _install_requirements(
123
session.install(*install_command, silent=PIP_INSTALL_SILENT)
124
125
if onedir is False and install_salt:
126
- session.install("--progress-bar=off", SALT_REQUIREMENT, silent=PIP_INSTALL_SILENT)
+ try:
127
+ session.install("--progress-bar=off", SALT_REQUIREMENT, silent=PIP_INSTALL_SILENT)
128
+ except CommandFailed:
129
+ # Workaround pyyaml issue https://github.com/yaml/pyyaml/issues/601
130
+ session.install(
131
+ "--progress-bar=off",
132
+ "Cython<3.0",
133
+ "--no-build-isolation",
134
+ SALT_REQUIREMENT,
135
+ silent=PIP_INSTALL_SILENT,
136
+ )
137
138
if install_test_requirements:
139
install_extras.append("tests")
0 commit comments