How to check version of Aravis using python bindings?

How to check with python bindings what version of Aravis I am running?

Recently updated to Aravis 0.8.16

Thank you!

Hi,

I don’t think it is possible to retrieve the version your code is running against.

We could add a set of version accessors in Aravis, similar to what Gtk defines:

gtk_get_major_version ()
gtk_get_minor_version ()
gtk_get_micro_version ()

Please open a feature request on Github.

Thanks.

Emmanuel.

@Emmanuel Is there a workaround or file that I can check that will confirm that I have successfully updated to 0.8.16?

Thank you!
Paul

Yes, this file:

/usr/include/aravis-0.8/arvversion.h

or

/usr/lib64/pkgconfig/aravis-0.8.pc
1 Like

In my case, the file was found in a different location.

locate arvversion.h
/home/UserName/aravis/build/src/arvversion.h
/home/UserName/aravis/src/arvversion.h.in
/usr/local/include/aravis-0.8/arvversion.h

The build/src and include/aravis-0.8 versions of this file where both at version 0.8.16 the expected version.

/home/UserName/aravis/build/src/arvversion.h
/usr/local/include/aravis-0.8/arvversion.h