Skip to content

Commit 037ab21

Browse files
committed
use --upgrade instead of --force-reinstall for pip installs
1 parent 202f431 commit 037ab21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readthedocs/doc_builder/python_environments.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ def install_package(self, install):
9696
'-m',
9797
'pip',
9898
'install',
99-
'--force-reinstall',
99+
'--upgrade',
100+
'--upgrade-strategy',
101+
'eager',
100102
'--cache-dir',
101103
self.project.pip_cache_path,
102104
'{path}{extra_requirements}'.format(

0 commit comments

Comments
 (0)