Re:How I think I want to drop modern Python packages into a ...
by heavyset_go on Thursday September 17, 2020 @04:49PM
(#24509796)
They're standard for deployment, too.
[ Parent
| on HN ]
Re:How I think I want to drop modern Python packages into a ...
by alexchamberlain on Thursday September 17, 2020 @05:03PM
(#24509939)
You really don’t want to do that... they can break silently when the system updates Python. Use safe system wide installation for deployment, such as docker or traditional system packages. Alternatively, you can look at one of the many bunglers/static linkers like PyInstaller.
Re:How I think I want to drop modern Python packages into a ...
by heavyset_go on Thursday September 17, 2020 @05:34PM
(#24510239)
Ideally you'd deploy to a virtualenv in a container, recreating the virtualenv with each new image. You wouldn't update the system Python at all.
Re:How I think I want to drop modern Python packages into a ...
by hal9000-tng on Thursday September 17, 2020 @11:07PM
(#24512578)
> Ideally you'd deploy to a virtualenv in a container
The whole point of a container is to isolate dependencies.
The whole point of a virtualenv is also to isolate dependencies.
If using a container, why bother with a virtualenv at all?