Use version checking for checking bwrap features
Fixes #373 (closed)
A few things:
- for the function that parses and caches the bwrap version, it saves the version info into global variables using
global
statements, which the linter complains about. I could make it into an object instead, what do you think? - I don't think the check for user namespaces is needed anymore, given that we require bwrap 0.1.2 (on Linux, should we start keeping track of installed bwrap version on other platforms as well?)
- ... (I had something else but I forgot)
Edited by milloni