mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Use the directory locking for the filecache
This commit is contained in:
parent
ee0236ccb1
commit
8af4872ff6
|
@ -59,6 +59,9 @@
|
|||
* Allowing using extras when installing from a file path without requiring the
|
||||
use of an editable (:pull`2785`).
|
||||
|
||||
* Fix an infinite loop when the cache directory is stored on a file system
|
||||
which does not support hard links (:pull:`2796`).
|
||||
|
||||
|
||||
**6.1.1 (2015-04-07)**
|
||||
|
||||
|
|
|
@ -342,7 +342,7 @@ class PipSession(requests.Session):
|
|||
# require manual evication from the cache to fix it.
|
||||
if cache:
|
||||
secure_adapter = CacheControlAdapter(
|
||||
cache=SafeFileCache(cache),
|
||||
cache=SafeFileCache(cache, use_dir_lock=True),
|
||||
max_retries=retries,
|
||||
)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue