File tree Expand file tree Collapse file tree 3 files changed +0
-14
lines changed Expand file tree Collapse file tree 3 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -945,9 +945,6 @@ def _get_binds(self):
945
945
946
946
It uses Docker Volume if running on a docker-compose. Otherwise, it
947
947
returns just a regular mountpoint path.
948
-
949
- Besides, it binds the ``GLOBAL_PIP_CACHE`` if it's set and we are under
950
- ``DEBUG`` mode.
951
948
"""
952
949
if getattr (settings , 'RTD_DOCKER_COMPOSE' , False ):
953
950
from pathlib import Path
@@ -965,14 +962,6 @@ def _get_binds(self):
965
962
},
966
963
}
967
964
968
- if settings .GLOBAL_PIP_CACHE and settings .DEBUG :
969
- binds .update ({
970
- self .project .pip_cache_path : {
971
- 'bind' : self .project .pip_cache_path ,
972
- 'mode' : 'rw' ,
973
- },
974
- })
975
-
976
965
return binds
977
966
978
967
def get_container_host_config (self ):
Original file line number Diff line number Diff line change @@ -663,8 +663,6 @@ def checkout_path(self, version=LATEST):
663
663
@property
664
664
def pip_cache_path (self ):
665
665
"""Path to pip cache."""
666
- if settings .GLOBAL_PIP_CACHE and settings .DEBUG :
667
- return settings .GLOBAL_PIP_CACHE
668
666
return os .path .join (self .doc_path , '.cache' , 'pip' )
669
667
670
668
#
Original file line number Diff line number Diff line change @@ -275,7 +275,6 @@ def USE_PROMOS(self): # noqa
275
275
}
276
276
}
277
277
CACHE_MIDDLEWARE_SECONDS = 60
278
- GLOBAL_PIP_CACHE = False
279
278
280
279
# I18n
281
280
TIME_ZONE = 'UTC'
You can’t perform that action at this time.
0 commit comments