Build Error: python-magic 0.4.15 for Python 3.8.2 on Mac

I created a project with Beancount it compiles on Linux but not Mac.

What should I do?

Looking for help with this package that is failing to build in my project.

Runtime Details

Failing Packages

  • python-magic 0.4.15

Reasons

  • Test failures: python-magic
1 Like

Hey @scottr!

Apologies for the delayed response.

It looks like python-magic isn’t able to build right now due to a missing dependency of libmagic. Normally you could add the missing dependency through the configuration tab but doing so unfortunately will break your Linux build. I’ve filed a bug with the build team to get this issue resolved in the Platform. We’ll report back here when the issue is resolved.

  • Carey

Looks like our build engineers resolved the issue with libmagic building on OSX! I see your build is working for both Linux and OSX as of this commit: https://platform.activestate.com/scottr/beancount/customize?commitID=f3636c67-08f6-4e67-8fc7-80856cd5836f

Any future users should have no issue adding python-magic to there projects.

Unfortunately not. Looks like the latest version of Fava and Beancount don’t have the proper dependencies for anything. Which is why the build stop failing on python-magic.