Skip to content

Commit 22e85cb

Browse files
authored
Merge pull request #5635 from chrisjsewell/fix-5545
Use `--upgrade` instead of `--force-reinstall` for pip installs
2 parents 5c3536a + 037ab21 commit 22e85cb

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
@@ -97,7 +97,9 @@ def install_package(self, install):
9797
'-m',
9898
'pip',
9999
'install',
100-
'--force-reinstall',
100+
'--upgrade',
101+
'--upgrade-strategy',
102+
'eager',
101103
'--cache-dir',
102104
self.project.pip_cache_path,
103105
'{path}{extra_requirements}'.format(

0 commit comments

Comments
 (0)