snapcraft-parser -v prints devel

Bug #1590266 reported by Leo Arias
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Low
Joe Talbott

Bug Description

When I run snapcraft-parser -v I get:

devel

The version number should be printed instead.

Changed in snapcraft:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Simon Quigley (tsimonq2) wrote :

This is the current function that completes this:

def _get_version():
    try:
        return pkg_resources.require('snapcraft')[0].version
    except pkg_resources.DistributionNotFound:
        return 'devel'

We need a better solution.

Changed in snapcraft:
assignee: nobody → Joe Talbott (joetalbott)
Joe Talbott (joetalbott)
Changed in snapcraft:
status: Triaged → Confirmed
status: Confirmed → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
milestone: none → 2.24
importance: Medium → Low
Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.