You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
andhatch -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 thatblis
is a dependency ofthinc
, required byspacy
.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.The text was updated successfully, but these errors were encountered: