Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac...
by procinct on Sunday January 31, 2021 @02:04AM
(#25976761)
Venv is great for keeping dependencies separate but if your local machine doesn’t have the same version of Python as your server then you’ll need pyenv.
[ Parent
| on HN ]
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac...
by RMPR on Sunday January 31, 2021 @02:20AM
(#25976870)
Not necessarily, you can use a CI pipeline to verify that your project can be build with many Python versions. This is the workflow I use here[0]. It makes catching and fixing breaking changes easier. Plus, I'm confident the core team is not likely to introduce a painful breaking change (think Python 2 -> 3) soon[1]
0: https://github.com/rmpr/atbswp
1: https://mobile.twitter.com/gvanrossum/status/130608247244308...
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac...
by imnotjames on Sunday January 31, 2021 @03:33AM
(#25977153)
That's great for libraries but isn't it a pretty huge cost for an app you only really are going to be running on one version at a time?
Dealing with BC breaks for versions you aren't intending to run in production seems like unnecessary overhead.