Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Vendor relevant Librosa filter code to avoid runtime dependencies on Numba and libsndfile. #4

Merged
merged 16 commits into from
Jun 9, 2023

Conversation

psobot
Copy link
Member

@psobot psobot commented May 11, 2023

Importing realbook in another project currently pulls in all of Librosa, which includes a huge dependency chain - including libsndfile and numba, both of which can be painful to install. We only use Librosa for a tiny amount of runtime functionality (generating static data in realbook.layers.signal), so this PR vendors the relevant ~900 lines of code as part of Realbook itself. This removes the need for a large number of runtime dependencies.

@psobot psobot added the enhancement New feature or request label May 11, 2023
@psobot psobot force-pushed the psobot/no-librosa-at-runtime branch from a8406f7 to 5c06a66 Compare May 11, 2023 15:58
@psobot psobot force-pushed the psobot/no-librosa-at-runtime branch 2 times, most recently from 0dbff1e to dec6d05 Compare June 9, 2023 17:06
@psobot psobot force-pushed the psobot/no-librosa-at-runtime branch from dec6d05 to ec171b6 Compare June 9, 2023 17:09
@psobot psobot force-pushed the psobot/no-librosa-at-runtime branch from e93388d to e6e3a5b Compare June 9, 2023 17:21
@psobot psobot merged commit 7ab7850 into main Jun 9, 2023
24 checks passed
@psobot psobot deleted the psobot/no-librosa-at-runtime branch June 9, 2023 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants