checkov icon indicating copy to clipboard operation
checkov copied to clipboard

TypeError('Expected maxsize to be an integer or None')

Open SaleedherStryker opened this issue 11 months ago • 3 comments

Checkov-check was perfectly working till March 20th in our pipeline. But on March 20th on multiple occasions , we could notice build error:

File "C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\functools.py", line 490, in lru_cache raise TypeError('Expected maxsize to be an integer or None') TypeError: Expected maxsize to be an integer or None

Can anyone explain was this due to any recent check-in to this package?

SaleedherStryker avatar Mar 27 '24 08:03 SaleedherStryker

Hey @SaleedherStryker thanks for reaching out.

Support for Python 3.7 was dropped roughly 5 months ago. Try to upgrade your Python version first.

gruebel avatar Mar 27 '24 09:03 gruebel

Thank you @gruebel,

Hi @SaleedherStryker checkov requires Python version 3.8 - 3.12.

naveednawazkhan avatar Mar 27 '24 15:03 naveednawazkhan