FS#70314 - [diffoscope] dependency https://pypi.org/project/python-magic/ is not community package python-magic

Attached to Project: Community Packages
Opened by Mark (marcool) - Tuesday, 06 April 2021, 13:12 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 06 April 2021, 13:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Dear maintainer.
I have been running into some issues lately regarding "python-magic". It appears that the Arch community package "python-magic" [1] which your Arch diffoscope package depends on, is not in fact the dependency that diffoscope expects, according to its own README [2] :

````
diffoscope requires Python 3 and the following modules available on PyPI:
libarchive-c [3],python-magic [4].
````

As you will see by looking at the PKGBUILD, the "python-magic" PyPi package is not what the "python-magic" Arch community package [1] provides, but a very different implementation of the "magic" library bindings for python. The AUR package "python-magic-git" [5] on the other hand does provide this "python-magic" PyPi package.

I realize this is probably of next to no importance, as the two implementations seem to at least be compatible enough to run this particular tool, but it is in the possible dependency/conflict interactions that there are consequences. For instance, in my case, I have utilities that specifically require the "python-magic" (github) implementation, and this conflicting with the "python-magic" (community) one makes it difficult for me to install diffoscope.

Would be very glad to get read your opinion and input on this.
Thanks for you time.
Regards,
Mark.


[1] https://archlinux.org/packages/community/any/python-magic/
[2] https://salsa.debian.org/reproducible-builds/diffoscope
[3] https://pypi.python.org/pypi/libarchive-c
[4] https://pypi.python.org/pypi/python-magic
[5] https://aur.archlinux.org/packages/python-magic-git/
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Tuesday, 06 April 2021, 13:49 GMT
Reason for closing:  Not a bug
Additional comments about closing:  If diffoscope can use either one, then it's not wrong to depend on the one that is actually packaged in the official repos.

Loading...