Closed
Description
I was reading through the docs and saw that pydantic adds over 70 mbs. Poking around the pydantic repo there are a few threads about this subject. pydantic/pydantic#2276 pydantic/pydantic#2517. I was wondering if it was possible to use the --no-binary flag in your package level requirements.txt. I had seen this comment https://github.com/awslabs/aws-lambda-powertools-python/issues/481#issuecomment-863907997 and am unsure if the same issue that prevents the smaller cython binaries would prevent this from working. I also saw that poetry doesn't allow the --no-binary flag so wasn't sure if that could be a reason that preventing this from being recommended. Or if this works but wasn't mentioned in the docs due to speed concerns.