flyingcircusio / appenv

Self-contained bootstrapping/updating of Python applications deployed through shared repositories
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Pave the way for pip-installation under adverse conditions #3

Closed ctheune closed 4 years ago

ctheune commented 4 years ago

@wosc if you could dig up the issues you had w/ Debian then I'd be happy to investigate a potential generic way of getting environment-specific workarounds available.

wosc commented 4 years ago

The two concrete hiccups I remember were a) you have to apt install python3-venv to make python3 -m venv work (not much appenv can do about that I guess, except maybe detect the "it may look like it's working, but actually it's completely broken" case?) and b) a pip bug in 18.0.1 that required pinning pip to 18.0 until it was fixed (the pin needed to apply during the venv creation phase IIRC).

ctheune commented 4 years ago

I have a fix for that situation, as long as we're running as root. Should be good enough for now and I can bootstrap on Cumulus 4.1, so ...