Skip to content

Commit f266185

Browse files
committed
Call virtualenv without no-download
1 parent 3e4d309 commit f266185

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

readthedocs/doc_builder/python_environments.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ def setup_base(self):
298298
self.config.python_interpreter,
299299
'-mvirtualenv',
300300
site_packages,
301-
'--no-download',
302301
env_path,
303302
# Don't use virtualenv bin that doesn't exist yet
304303
bin_path=None,
@@ -319,7 +318,7 @@ def install_core_requirements(self):
319318

320319
# Install latest pip first,
321320
# so it is used when installing the other requirements.
322-
cmd = pip_install_cmd + ['pip>=20.0.1']
321+
cmd = pip_install_cmd + ['pip']
323322
self.build_env.run(
324323
*cmd, bin_path=self.venv_bin(), cwd=self.checkout_path
325324
)

0 commit comments

Comments
 (0)