Skip to content

Commit 12b9281

Browse files
richtjaclebergnu
authored andcommitted
MarkupSafe requirement for html plugin
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 <[email protected]>
1 parent 694cf02 commit 12b9281

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

optional_plugins/ansible/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"cffi",
4242
"pycparser",
4343
"ansible-core",
44+
"markupsafe<3.0.0",
4445
],
4546
test_suite="tests",
4647
entry_points={

optional_plugins/html/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_long_description():
3939
url="http://avocado-framework.github.io/",
4040
packages=find_packages(),
4141
include_package_data=True,
42-
install_requires=[f"avocado-framework=={VERSION}", "jinja2"],
42+
install_requires=[f"avocado-framework=={VERSION}", "jinja2", "markupsafe<3.0.0"],
4343
entry_points={
4444
"avocado.plugins.cli": [
4545
"html = avocado_result_html:HTML",

0 commit comments

Comments
 (0)