Exclude pattern being ignored

hello folks: I’m trying to deploy an AWS Lambda function but it’s exceeding the 242MB size limit… somehow, some of the exclude patterns are being ignored.
- '!./pandas/tests/**' are still included in the package after I package the function. What gives?