Skip to content

CI is slow due to blis release #9159

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

Closed
anakin87 opened this issue Apr 1, 2025 · 0 comments · Fixed by #9158
Closed

CI is slow due to blis release #9159

anakin87 opened this issue Apr 1, 2025 · 0 comments · Fixed by #9158
Assignees

Comments

@anakin87
Copy link
Member

anakin87 commented Apr 1, 2025

Problem

Our unit tests in the CI got significantly slower. Two examples ⬇

Today:
Tests / Unit / ubuntu-latest - 10m
Tests / Unit / windows-latest - 16m
Tests / Unit / macos-latest - 3m

Yesterday:
Tests / Unit / ubuntu-latest - 3m
Tests / Unit / windows-latest - 5m
Tests / Unit / macos-latest - 3m

Investigation

I investigated the dependency resolution locally, running hatch env prune and hatch -vv -e test shell to recreate the test environment with python 3.9.

I noticed that much time was spent building blis from source.

Thanks to pipedtree, I discovered that blis is a dependency of thinc, required by spacy.

bls==1.2.1 was released today, but they don't provide pre-built wheels for python 3.9.

For this reason, the library is compiled from source and this process requires much time.

Pinning blis<1.2.1 for python 3.9 is a potential solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant