I naively thought they'd have the same API - they don't. So the switch also requires code changes, not just a dependency swap.
This build replaces python3-file-magic with python3-magic, but these packages cannot be installed simultaneously.
If both modules are meant to be imported as import magic, then this is expected unfortunately. It's worth opening a bugzilla and bring this to the maintainers of these modules (I can imagine this was already discussed).
This update has been submitted for testing by meeuw.
This update's test gating status has been changed to 'ignored'.
This build replaces python3-file-magic with python3-magic, but these packages cannot be installed simultaneously.
python3-file-magic is also used by fedora-packager/fedora-review/fedpkg/rpmlint and I'd like have these installed on my system together with alot.
I'm not sure why https://src.fedoraproject.org/rpms/alot/pull-request/11 has been closed, I think we can fix this?
Last year I requested at alot to switch to file-magic in https://github.com/pazz/alot/issues/1657
But I got confused and closed the issue.
This update has been pushed to testing.
I naively thought they'd have the same API - they don't. So the switch also requires code changes, not just a dependency swap.
If both modules are meant to be imported as
import magic, then this is expected unfortunately. It's worth opening a bugzilla and bring this to the maintainers of these modules (I can imagine this was already discussed).Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
The APIs are compatible! See my PR: https://src.fedoraproject.org/rpms/alot/pull-request/14
Both versions are supported, I actually have been using file-magic for some time now without any problems.
This update can be pushed to stable now if the maintainer wishes
This update has been obsoleted by alot-0.11-7.fc42.