Skip to content

Adding libmagic to python-magic wheel on PyPI #295

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
youngcho22 opened this issue Sep 13, 2023 · 4 comments · May be fixed by #294
Closed

Adding libmagic to python-magic wheel on PyPI #295

youngcho22 opened this issue Sep 13, 2023 · 4 comments · May be fixed by #294

Comments

@youngcho22
Copy link

youngcho22 commented Sep 13, 2023

I know the installation guide explicitly states to install libmagic before the python-magic download, but the fact that there's a wheel binary for python-magic confuses me, since my understanding of wheel binaries is that it's meant to be self-contained.

Is there any plan to add libmagic to python-magic whls in the future, even just for linux and macos? or do not have a wheel at all for this package?

@ahupp
Copy link
Owner

ahupp commented Sep 20, 2023

You aren't alone, this is a regular pain point. Then this library was first uploaded you would generally never ship binaries but the expectation has shifted over time. I just received a PR that sets up the wheels with the shared library, so will review that soon and hopefully fix it.

@NTC4818
Copy link

NTC4818 commented Jan 25, 2024

Is there any idea why aws lambda might not be accepting this code? The error is that it can't see libmagic, but I am not sure where the mapping is. Any help would be huge

@ahupp
Copy link
Owner

ahupp commented Apr 17, 2024

@NTC4818 can you give an example?

@ahupp
Copy link
Owner

ahupp commented Apr 17, 2024

Dupe of #294

@ahupp ahupp closed this as completed Apr 17, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants