Briefly summarize the issues you have been experiencing.
I want to use python 3.7. I have a
runtime.txt in the root of my folder. My base directory is
This runtime.txt has no effect.
7:06:04 PM: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7.
Please provide a link to your live site hosted on Netlify
What have you tried as far as troubleshooting goes? Do you have an idea what is causing the problem?
I tried moving the runtime.txt file inside the documentation folder. But then the build completely fails.
The log of the failed build are here.
Do you have any other information that is relevant, such as links to docs, libraries, or other resources?
- Moving runtime.txt inside base folder kills the build prematurely
- Keep runtime.txt in the root outside base folder has no effect at all
In my other site hosted on Netlify, runtime.txt is in the root and base directory is also the root. In which case I am able to run Python 3.7.