TLDR 1 for users: you can use either python-magic
or python-magic-git
for the same purpose, for any package that needs to import the 'magic'
Python module.
TLDR 2 for packagers: please kindly make your package depend on python-magic
, which will allow users to choose either the stable repo package, or the '-git' build from AUR.
Pinned Comments
MarsSeed commented on 2023-12-02 19:09 (UTC) (edited on 2023-12-02 19:14 (UTC) by MarsSeed)
TLDR 1 for users: you can use either
python-magic
orpython-magic-git
for the same purpose, for any package that needs to import the'magic'
Python module.TLDR 2 for packagers: please kindly make your package depend on
python-magic
, which will allow users to choose either the stable repo package, or the '-git' build from AUR.MarsSeed commented on 2023-12-02 15:25 (UTC)
Updated this (
python-magic-git
) to align with extra/python-magic
.There's no more incompatibility between the two.
Last year, repo switched to use the same third-party PyPI/python-magic bindings module as the '-git' package has always been for.
This third-party wrapper is compatible with core/file's own wrapper (PyPI/file-magic), so there is no need to package that one as well for Arch/AUR.
All Python packages requiring either the official or the third-party wrapper should work without issues with the third-party one - please see the latter's COMPAT.md file for details.