careful-address-89803
12/30/2022, 12:45 AMpex -r requirements.txt --lock requirements.lock
), but it didn't like the header pants put on that file.broad-processor-92400
12/30/2022, 6:27 AMhappy-kitchen-89482
12/30/2022, 1:49 PMhappy-kitchen-89482
12/30/2022, 1:50 PMcareful-address-89803
12/30/2022, 2:34 PMloud-laptop-89838
01/03/2023, 9:47 AMflaky-artist-57016
01/14/2023, 7:40 PMimport __pex__
statements when the functions run. I added the imports to the top of the entry point files as described in the linked GitHub discussion. Removing those imports results in module not found errors for third party dependencies that are packaged in the pex binary. Has anyone else had any luck?
Update: just built a pex with that repo and noticed that the pex binary I’ve been building is missing the top-level __pex__
directory. We’ve been using Pants version 2.12. After upgrading to 2.14 the pex binary contains the __pex__
directory and the functions run successfully in Azure. 🎉careful-address-89803
01/14/2023, 8:57 PM