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 `ansible` plugin,
because it would try to install markupsafe-3.0.0

Reference: #6038
Signed-off-by: Jan Richter <jarichte@redhat.com>
  • Loading branch information
richtja authored and clebergnu committed Nov 25, 2024
1 parent 694cf02 commit 12b9281
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions optional_plugins/ansible/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"cffi",
"pycparser",
"ansible-core",
"markupsafe<3.0.0",
],
test_suite="tests",
entry_points={
Expand Down
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

0 comments on commit 12b9281

Please sign in to comment.