Displaying 2 results from an estimated 2 matches for "python_version_info".
2019 Jan 07
2
Re: [PATCH] v2v: -o rhv-upload: decouple name of nbdkit python plugin
...t working. It
> is required if you want to use ‘-o rhv-upload’.
At least it fails ;)
One option I see is to export, as part of the nbdkit Python module
interface, the equivalent of sys.version_info: this way, the scripts
can detect which python version is the plugin linked with:
if nbdkit.python_version_info[0] != 3:
error("this script is for Python 3")
OTOH, it will not help with the above case, as there is a syntax error
even before a check can be reached...
--
Pino Toscano
2018 Dec 13
3
[PATCH] v2v: -o rhv-upload: decouple name of nbdkit python plugin
Do not assume that the Python plugin of nbdkit has the same name of the
Python interpreter.
Use the default upstream name of nbdkit to identify it; downstream
distributions must adjust this variable, in case they rename the Python
plugin of nbdkit.
---
v2v/output_rhv_upload.ml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/v2v/output_rhv_upload.ml