[Starlingx-discuss] Flock Versioning for packaging

Jeremy Stanley 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.
-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190515/9a2d07e4/attachment.sig>


More information about the Starlingx-discuss mailing list