Skip to content

Commit

Permalink
MarkupSafe requirement for html plugin
Browse files Browse the repository at this point in the history
This adds markupsafe<3.0.0 requirements to html plugin, because
markupsafe-3.0.0 can't be installed with older versions of setuptools on
RHEL9 and other systems because of `CCompilerError`.

We need to add the same requirement to `varianter-yaml-to-mux` plugin,
because PyYAML would try to install markupsafe-3.0.0

Reference: #6038
Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja committed Oct 10, 2024
1 parent 17201f1 commit 3af50a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion optional_plugins/html/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_long_description():
url="http://avocado-framework.github.io/",
packages=find_packages(),
include_package_data=True,
install_requires=[f"avocado-framework=={VERSION}", "jinja2"],
install_requires=[f"avocado-framework=={VERSION}", "jinja2", "markupsafe<3.0.0"],
entry_points={
"avocado.plugins.cli": [
"html = avocado_result_html:HTML",
Expand Down
2 changes: 1 addition & 1 deletion optional_plugins/varianter_yaml_to_mux/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_long_description():
url="http://avocado-framework.github.io/",
packages=packages,
include_package_data=True,
install_requires=[f"avocado-framework=={VERSION}", "PyYAML>=4.2b2"],
install_requires=[f"avocado-framework=={VERSION}", "PyYAML>=4.2b2", "markupsafe<3.0.0"],
zip_safe=False,
test_suite="tests",
entry_points={
Expand Down

0 comments on commit 3af50a7

Please sign in to comment.