From c53bf05e9a54b29daf2190d3d1fbb7099c2f2804 Mon Sep 17 00:00:00 2001 From: Florian Kuckelkorn Date: Thu, 7 Jun 2018 23:25:54 +0200 Subject: [PATCH 1/2] - Fixed breaking change in pip 10.0.0b1 (2018-03-31) - "--use-wheel" was removed fro pip's cli --- readthedocs/doc_builder/python_environments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readthedocs/doc_builder/python_environments.py b/readthedocs/doc_builder/python_environments.py index 8b54278956f..6e5b8263948 100644 --- a/readthedocs/doc_builder/python_environments.py +++ b/readthedocs/doc_builder/python_environments.py @@ -253,7 +253,7 @@ def install_core_requirements(self): 'python', self.venv_bin(filename='pip'), 'install', - '--use-wheel', + '--only-binary=:all:', '--upgrade', '--cache-dir', self.project.pip_cache_path, From 386cd78e8a564064383efd3f522bdfc3f559c521 Mon Sep 17 00:00:00 2001 From: Florian Kuckelkorn Date: Thu, 7 Jun 2018 23:49:53 +0200 Subject: [PATCH 2/2] - corresponding to the breaking change fix, i adjusted the test_doc_building.py --- readthedocs/rtd_tests/tests/test_doc_building.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readthedocs/rtd_tests/tests/test_doc_building.py b/readthedocs/rtd_tests/tests/test_doc_building.py index de5c7b92f5f..466f400aa4b 100644 --- a/readthedocs/rtd_tests/tests/test_doc_building.py +++ b/readthedocs/rtd_tests/tests/test_doc_building.py @@ -1137,7 +1137,7 @@ def setUp(self): 'python', mock.ANY, # pip path 'install', - '--use-wheel', + '--only-binary=:all:', '--upgrade', '--cache-dir', mock.ANY, # cache path