Does anyone else use `aws-cdk-lib` in pexes? After...
# general
b
Does anyone else use
aws-cdk-lib
in pexes? After v2.50 it seems to be broken for me. They broke out
aws_cdk.asset*
from the main
aws_cdk
provided by
aws-cdk-lib
and now whenever I try to run the PEX, it's unable to find
aws_cdk.asset*
packages.
e
Are you using
execution_mode="venv"
and
venv_site_packages_copies=True
on your
pex_binary
target?
b
I'm not, I was using the pex_binary default
I'll explicitly set those and try
Ha, magic! Yes, that works for me now, thanks for the tip
h
Another thing to add to the docs, I will make a note
e
I'm not sure docs will help much, it's already documented in the fields / target dictionary. I think the issue is likely tailor. If you don't write a thing, there is nothing to look up.
Damned either way basically.
b
I also wasn't sure if it was a pex issue or a pants issue - I've never used pex outside of pants