Re: python3-mastodon fails CI due to bad magic?

2021-01-28 Thread Håvard Flaget Aasen
tor. 28. jan. 2021 kl. 20:31 skrev Craig Small : > > I saw that too, and yet the logs have: > import magic > File "/usr/lib/python3/dist-packages/magic/__init__.py", line 361, in > > > That's a python3-magic file, so it exists. I guess you are right about that. Have you noticed that the

Re: python3-mastodon fails CI due to bad magic?

2021-01-28 Thread Craig Small
I saw that too, and yet the logs have: import magic File "/usr/lib/python3/dist-packages/magic/__init__.py", line 361, in That's a python3-magic file, so it exists. However, a bit of googling showed up this [1] where due to the fact that python3-magic uses ctype.util.find.library if the

Re: python3-mastodon fails CI due to bad magic?

2021-01-28 Thread Emmanuel Arias
Seems that reprotest on salsa, is not installing the python3-magic. I don't think that can be a problem with cpython. On Thu, Jan 28, 2021 at 8:39 AM Håvard Flaget Aasen wrote: > tor. 28. jan. 2021 kl. 10:48 skrev Craig Small : > > > > Hi, > > I'm trying to understand why python3-mastodon

Re: python3-mastodon fails CI due to bad magic?

2021-01-28 Thread Håvard Flaget Aasen
tor. 28. jan. 2021 kl. 10:48 skrev Craig Small : > > Hi, > I'm trying to understand why python3-mastodon fails the unit tests. I'm not sure what you found out so far. When I grepped the log you linked, I couldn't find python3-magic or libmagic. I believe the packages isn't installed and the test

python3-mastodon fails CI due to bad magic?

2021-01-28 Thread Craig Small
Hi, I'm trying to understand why python3-mastodon fails the unit tests. An example is at [1] and it seems that importing magic is enough to trigger it. The compat line is to handle both python3-magic and a libmagic module both wanting magic. Is this a cpython thing? I'm not sure what I can do to