[Starlingx-discuss] Flock Versioning for packaging
fungi at yuggoth.org
Wed May 15 21:30:54 UTC 2019
On 2019-05-15 21:26:15 +0000 (+0000), Jeremy Stanley wrote:
> As of PBR 2.1.0 the penalty can be deferred by separating your
> version query function out to a separate module and lazy-loading
> that only when the version info is actually needed
Er, sorry, I meant before 2.1.0 you would work around it that way.
Starting in 2.1.0 PBR lazy-imports pkg_resources only when it's
being asked to query it, so you no longer need to separate your
import of PBR out from your other modules.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 963 bytes
Desc: not available
More information about the Starlingx-discuss