Migrate deprecated imp package to importlib
This PR fixes #214 by migrating from imp to importlib.
Thanks for this, and sorry for the slow response. I'll merge this after we fix the CI to run on github actions so we can verify that it behaves correctly.
Just FYI, without this PR mirdata cannot be used with versions of python 3.11 or later
Just noting that I'll try to get this squared away this week. There are some blockers upstream that also needed to be updated (eg mir_eval) before this makes sense to do, but the work is mostly done at this point.
Sorry, this got away from me :facepalm:
The mir_eval reelase is still blocking CI updates, but this PR is okay for the time being. Bigger picture, we can actually do away with this importlib stuff entirely by modernizing the packaging info to use setup.cfg and pull version from attributes, rather than doing import hackery. But I can take that into a separate PR.