From e90b26055dc4bcc0b30c1a61de88ac504a87816d Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Thu, 3 Feb 2022 11:12:35 -0300 Subject: [PATCH] Builder: unpin pip It seems the problem with pip was solved in https://github.com/pypa/pip/pull/10867 and 22.0.3 version was released with this fix. --- readthedocs/doc_builder/python_environments.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/readthedocs/doc_builder/python_environments.py b/readthedocs/doc_builder/python_environments.py index 9bc704cd2e2..88e8462118e 100644 --- a/readthedocs/doc_builder/python_environments.py +++ b/readthedocs/doc_builder/python_environments.py @@ -471,13 +471,7 @@ def install_core_requirements(self): Feature.DONT_INSTALL_LATEST_PIP, # 20.3 uses the new resolver by default. positive='pip<20.3', - - # We are pinning pip to 21.3.1 because builds are failing when - # using a newer version. This is a temporal workaround to avoid - # builds failing at this step, but we should come back to this and - # unpin pip for this case. - # https://github.com/readthedocs/readthedocs.org/issues/8864#issuecomment-1025499598 - negative='pip<=21.3.1', + negative='pip', ) cmd = pip_install_cmd + [pip_version, 'setuptools<58.3.0'] self.build_env.run(