4 ms·
I hope they will rewrite awscli with it. Today it's quite painful to run it on coreos (python/pip ran in a container)
by jvermillard 11y ago
I hope they will rewrite awscli with it. Today it's quite painful to run it on coreos (python/pip ran in a container)
- fletchowns 11y agoWhy is it painful?
- kolev 11y agoBecause if not run in a container, you should put things that upgrade Requests in a venv at least otherwise you may end up breaking apt.
- fletchowns 11y agoBut shouldn't you always use a virtualenv anyways?
- kolev 11y agoProject-wise? - Most definitely! Globally? - Not common practice, but also preferred to avoid collisions.
- astockwell 11y agoLegacy CentOS too
- themckman 11y agoYou might consider taking a look at Twitter's pex. Python supports importing and running code from zip files. pex aids in bundling python code and its dependencies into an executable zip file.
- stephen-mw 11y agoUnfortunately that's simply not the same. Python libraries many times still require header files to be present, which means on a host you want to install PyOpenSSL you must also install libssl-dev, which means you also much install python-dev... etc etc. Don't get me started on using gevent. A container is the only sane way to package a python service, but that's not _nearly_ as convenient as a statically compiled binary.