Page MenuHomeSoftware Heritage

Use pkg_resources to get the package version instead of vcversioner
ClosedPublic

Authored by olasd on Nov 21 2019, 5:58 PM.

Details

Summary

The vcversioner feature of generating _version.py wasn't enabled anyway, so the
version was always reported as 'devel'. Oops.

I guess that's a step towards T2105

Test Plan

tox

Diff Detail

Repository
rDLDBASE Generic VCS/Package Loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

olasd created this revision.Nov 21 2019, 5:58 PM
ardumont accepted this revision.Nov 21 2019, 6:07 PM
This revision is now accepted and ready to land.Nov 21 2019, 6:07 PM
olasd updated this revision to Diff 8045.Nov 21 2019, 6:09 PM

Use proper exception for pkg_resources