Whenever you need to use the default python from the operational system : for example devops scripts, some of the deployment tasks... the code needs to be compatible with 3.6
The development may be done with 3.7 because of it's cool features
About the Docker: a nice surprise for me was that all my 3.7 code is working nicely on top of the 'python:3.7.4-alpine' image. I was too cautious not to use Alpine, but it seams that it is playing nicely with Python. A good extra with Alpine is that the image is smaller than the others...
Cheers!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Daniel,
This is very nice topic you are bringing up!
About the Docker: a nice surprise for me was that all my 3.7 code is working nicely on top of the 'python:3.7.4-alpine' image. I was too cautious not to use Alpine, but it seams that it is playing nicely with Python. A good extra with Alpine is that the image is smaller than the others...
Cheers!