Skip to content

Commit f595bb9

Browse files
committed
fix(dev-docker): ignore .python-version inside the container
It should use Python installed in the container and not attempt to use something else. Fixes #13326
1 parent d0a993b commit f595bb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev-docker/weblate-dev/start-dev

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ set -e
99
cd /app/src
1010

1111
echo "Exporting Weblate requirements..."
12-
uv export --format requirements-txt --python /usr/local/bin/python --all-extras --no-sources > /tmp/requirements.txt
12+
uv export --no-config --format requirements-txt --python /usr/local/bin/python --all-extras --no-sources > /tmp/requirements.txt
1313

1414
echo "Checking /app/venv..."
1515
if [ ! -f /app/venv/bin/activate ]; then
16-
uv venv /app/venv
16+
uv venv --no-config /app/venv
1717
fi
1818
echo "/app/data/python" > "/app/venv/lib/python${PYVERSION}/site-packages/weblate-docker.pth"
1919
# shellcheck disable=SC1091
2020
. /app/venv/bin/activate
2121

2222
echo "Installing Weblate requirements..."
23-
uv pip install -r /tmp/requirements.txt
23+
uv pip install --no-config -r /tmp/requirements.txt
2424

2525
echo "Starting Weblate..."
2626
exec /app/bin/start "$@"

0 commit comments

Comments
 (0)