Skip to content

Commit 7363314

Browse files
committed
Update uv setup
1 parent cae3dd8 commit 7363314

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/scripts/env_image.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ sudo apt install fontconfig
99
sudo fc-cache -f
1010

1111
# install Kaleido & Plotly
12-
uv pip install kaleido==1.2 plotly==6.6.0 --no-progress
12+
uv pip install --system kaleido==1.2 plotly==6.6.0 --no-progress
1313

1414
# install numpy i.e. to convert arrays to typed arrays
15-
uv pip install numpy==2.4.3
15+
uv pip install --system numpy==2.4.3
1616

1717
# verify version of python and versions of installed python packages
1818
python --version
19-
uv pip freeze
19+
uv pip freeze --system

.github/scripts/test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,24 +103,24 @@ case $1 in
103103
find $ROOT/test/image/mocks/gl* -type f -printf "%f\n"; \
104104
find $ROOT/test/image/mocks/map* -type f -printf "%f\n"; \
105105
} | sed 's/\.json$//1' | sort | node "$SPLIT")
106-
uv run test/image/make_baseline.py virtual-webgl $SUITE || EXIT_STATE=$?
106+
python test/image/make_baseline.py virtual-webgl $SUITE || EXIT_STATE=$?
107107
exit $EXIT_STATE
108108
;;
109109

110110
make-baselines-mathjax3)
111-
uv run test/image/make_baseline.py mathjax3 legend_mathjax_title_and_items mathjax parcats_grid_subplots table_latex_multitrace_scatter table_plain_birds table_wrapped_birds ternary-mathjax ternary-mathjax-title-place-subtitle || EXIT_STATE=$?
111+
python test/image/make_baseline.py mathjax3 legend_mathjax_title_and_items mathjax parcats_grid_subplots table_latex_multitrace_scatter table_plain_birds table_wrapped_birds ternary-mathjax ternary-mathjax-title-place-subtitle || EXIT_STATE=$?
112112
exit $EXIT_STATE
113113
;;
114114

115115
make-baselines-b64)
116116
SUITE=$(find $ROOT/test/image/mocks/ -type f -printf "%f\n" | sed 's/\.json$//1' | sort | node "$SPLIT")
117-
uv run test/image/make_baseline.py b64 $SUITE || EXIT_STATE=$?
117+
python test/image/make_baseline.py b64 $SUITE || EXIT_STATE=$?
118118
exit $EXIT_STATE
119119
;;
120120

121121
make-baselines)
122122
SUITE=$(find $ROOT/test/image/mocks/ -type f -printf "%f\n" | sed 's/\.json$//1' | sort | node "$SPLIT")
123-
uv run test/image/make_baseline.py $SUITE || EXIT_STATE=$?
123+
python test/image/make_baseline.py $SUITE || EXIT_STATE=$?
124124
exit $EXIT_STATE
125125
;;
126126

0 commit comments

Comments
 (0)