Skip to content

Commit

Permalink
Avoid future breakage of setup.py invokations
Browse files Browse the repository at this point in the history
See #8659.
  • Loading branch information
astrojuanlu committed Nov 24, 2021
1 parent df2d62f commit 3089da3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion readthedocs/doc_builder/python_environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ def install_build_tools(self):
'install',
'-U',
'virtualenv',
'setuptools',
# We cap setuptools to avoid breakage of projects
# relying on setup.py invokations,
# see https://github.com/readthedocs/readthedocs.org/issues/8659
'"setuptools<58.3.0"',
]
self.build_env.run(
*cmd,
Expand Down

0 comments on commit 3089da3

Please sign in to comment.