Closed yurirocha15 closed 7 months ago
Please do the minimal change to support the different versions. Melodic is eol , but we don't have any real versioning in this and without any significant development plans for the package, keeping changes minimal are preferable to avoid accidental regressions.
This should be able to be covered by just a conditional import.
Thank you for the review. I restored the code and added a conditional import on 69694ec. I kept the unit test commit as a way to validate that the changes are working.
This should fix #107. I added some tests to ensure that the
prepare_tagfiles
function is working as expected as well.Moreover, as Melodic is now EOL, there is no need to support python2 scripts anymore. Therefore I ran
2to3
on the whole code. If you still want to support python2 in the master branch, I can try to fix only #107 while keeping the rest of the code as is.