From f1924f863c5f3469ed464d7df837d002ce236654 Mon Sep 17 00:00:00 2001 From: Abe Coull <85974725+AbeCoull@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:58:08 -0500 Subject: [PATCH] infra: attempt to build matplotlib font cache on build --- nbi/buildspec.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/nbi/buildspec.yml b/nbi/buildspec.yml index 3df36c413..e657be5e9 100644 --- a/nbi/buildspec.yml +++ b/nbi/buildspec.yml @@ -29,6 +29,7 @@ phases: - conda config --set path_conflict warn - conda env create --name $BRAKET_ENV -f environment.yml --no-default-package --solver libmamba - pip cache purge + - python -c 'from matplotlib.font_manager import _load_fontmanager; _load_fontmanager()' - conda pack --quiet --name $BRAKET_ENV --output envs/Braket.tar --compress-level 1 --n-threads -1 - zstd -22 --ultra envs/Braket.tar -T0 --auto-threads=logical --rsyncable --sparse - du -hs envs/Braket.tar.zst