https://pantsbuild.org/ logo
#pex
Title
# pex
h

hundreds-father-404

01/14/2021, 12:06 AM
Could someone please try to reproduce https://github.com/pantsbuild/pex/issues/1172? 1. Create the file
app.py
from PR description 2. Run
pex flask -o flask.pex --unzip
, then
./flask.pex app.py
cc @hundreds-breakfast-49010
e

enough-analyst-54434

01/14/2021, 1:08 AM
Thanks @hundreds-father-404and @hundreds-breakfast-49010. Better than asking a human for these is always asking an image. I should have done that from the get go. The
python:3.9
docker image also repros and gave me something local to work with.
h

hundreds-father-404

01/14/2021, 1:10 AM
Thank you for investigating this! Benjy noticed it also with Django - this is our biggest gotcha with Django and Flask right now fwict
e

enough-analyst-54434

01/14/2021, 1:22 AM
Yeah --venv mode should cure most ills since it erases any trace the app was PEXed.
👍 1