Does Google App Engine Flex support Pipfile?

Viewed 1207

For App Engine Standard the explicitly state that they do not support Pipfiles and immediately block you from pushing your project if it contains a Pipfile. In searching the documentation, I don't see anything that mentions if Pipfile is supported or not for App Engine Flex.

3 Answers

You can just include Pipfile and Pipfile.lock in the .gcloudignore file and run pip freeze > requirements.txt after any library changes.

I ran a few tests, and, while the presence of a Pipfile file in the deployment directory of a GAE flexible app does not generate any errors, the file itself is completely ignored, along the dependencies specified in it.

Moreover, when attempting to replace the requirements.txt file with the Pipfile, a sample Python app deployment in the flexible environment errors out, asking for the gunicorn dependency which I had specified in the Pipfile instead.

Therefore, the short answer is unfortunately no, same applies for the flexible environment and thus, dependency specification using the Pipfile/Pipfile.lock standard is not supported at the moment.

Related