[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] PyGIWarning



> <snip>
> PyGIWarning: OSTree was imported without specifying a version first. Use gi.require_version('OSTree', '1.0')
> before import to ensure that the right version gets loaded.
> </snip>
> 
> and wondering if I should really add this?  Is 1.0 the correct version?

To suppress the warning it is currently necessary yes.

(It's kind of a pygobject bug that there's no way to express "this library will never change version number, please don't warn callers" but oh well)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]