Skip to content

Commit dec917a

Browse files
committed
fix: remove filelock hard dependency for EL7 compatibility
The code already handles the absence of FileCache gracefully with try/except blocks (falling back to in-memory cache). Making filelock a hard requirement in setup.py caused pkg_resources to fail at entry point loading time on EL7 where filelock>=3.0.0 is unavailable.
1 parent 939560a commit dec917a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
'six',
1515
'netaddr',
1616
'cachecontrol',
17-
'filelock>=3.0.0',
1817
'tqdm',
1918
# required for cf.user.tokens.verify.get() and cf.accounts.get()
2019
# neither endpoints are available in CentOS 7, thus we rebuild pkg from

0 commit comments

Comments
 (0)