Page MenuHomePhabricator

AttributeError: 'Changelog' object has no attribute 'get_version'
Closed, ResolvedPublic


Getting this error when trying to run docker-pkg on a system with package python3-debian version 0.1.38 installed from debian testing.

Looks like the get_version method has recently been removed from the Changelog object:

There IS still a get_versions (plural) method.

Event Timeline

Ejegg created this task.Oct 29 2020, 12:37 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 29 2020, 12:37 AM

Change 637082 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[operations/docker-images/docker-pkg@master] Stop using deleted fn Changelog.get_version

hashar added a subscriber: hashar.Nov 9 2020, 8:46 PM

Got broken by which has been released in 0.1.38 . They have renamed Changelog.get_version() to a private Changelog._get_version(). Changelog.version has been a property forever apparently.

Change 637082 merged by jenkins-bot:
[operations/docker-images/docker-pkg@master] Stop using deleted fn Changelog.get_version

akosiaris closed this task as Resolved.Nov 9 2020, 11:44 PM
akosiaris claimed this task.
akosiaris added a subscriber: akosiaris.

Change merged, 2.1.0 is up for review at, I expect it to be released soon. I 'll resolve this, feel free to reopen though