4141 workerType : batch
4242 payload :
4343 maxRunTime : 3600
44- image : python:3 .12.3
44+ image : astral/uv:python3 .12-trixie
4545 metadata :
4646 owner : mcastelluccio@mozilla.com
4747 source : ${repository}/raw/${head_rev}/.taskcluster.yml
5858 - " git clone --quiet ${repository} &&
5959 cd bugbug &&
6060 git -c advice.detachedHead=false checkout ${head_rev} &&
61- curl -LsSf https://astral.sh/uv/install.sh | sh &&
62- export PATH=$HOME/.local/bin:$PATH &&
6361 uv sync --frozen --package bugbug --only-group test &&
6462 uv run pre-commit run -a --show-diff-on-failure"
6563 metadata :
@@ -100,8 +98,6 @@ tasks:
10098 cd bugbug &&
10199 git -c advice.detachedHead=false checkout ${head_rev} &&
102100 cp infra/hgrc /etc/mercurial/hgrc.d/bugbug.rc &&
103- curl -LsSf https://astral.sh/uv/install.sh | sh &&
104- export PATH=$HOME/.local/bin:$PATH &&
105101 uv sync --frozen --package bugbug --group test --extra nlp --group spawn-pipeline &&
106102 hg clone -r ae4bf6620a9a3821cfb9709bd03cd3f5f1849ff3 https://hg.mozilla.org/hgcustom/version-control-tools /version-control-tools/ &&
107103 uv run pytest --cov=./ tests/test_*.py &&
@@ -127,8 +123,6 @@ tasks:
127123 cd bugbug &&
128124 git -c advice.detachedHead=false checkout ${head_rev} &&
129125 cp infra/hgrc /etc/mercurial/hgrc.d/bugbug.rc &&
130- curl -LsSf https://astral.sh/uv/install.sh | sh &&
131- export PATH=$HOME/.local/bin:$PATH &&
132126 uv sync --frozen --package bugbug --package bugbug-http-service --group test &&
133127 hg clone -r ae4bf6620a9a3821cfb9709bd03cd3f5f1849ff3 https://hg.mozilla.org/hgcustom/version-control-tools /version-control-tools/ &&
134128 uv run pytest --cov=http_service http_service/tests/ -vvv &&
@@ -151,8 +145,6 @@ tasks:
151145 git clone --quiet ${repository} &&
152146 cd bugbug &&
153147 git -c advice.detachedHead=false checkout ${head_rev} &&
154- curl -LsSf https://astral.sh/uv/install.sh | sh &&
155- export PATH=$HOME/.local/bin:$PATH &&
156148 uv build &&
157149 uv venv /tmp/test-venv &&
158150 uv pip install --python /tmp/test-venv/bin/python dist/bugbug-$(cat VERSION).tar.gz &&
0 commit comments