diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 984eaad41f36..f39be32ea3c3 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,4 +1,4 @@ -# Copyright © Michal Čihař +# Copyrightct © Michal Čihař # # SPDX-License-Identifier: GPL-3.0-or-later @@ -35,5 +35,5 @@ jobs: - name: Install Weblate run: | uv venv --python python3.12 .venv - . .venv/bin/activate + source .venv/bin/activate uv pip install -e .[all,test] diff --git a/dev-docker/weblate-dev/Dockerfile b/dev-docker/weblate-dev/Dockerfile index 26e0f31114c2..55e23c752d64 100644 --- a/dev-docker/weblate-dev/Dockerfile +++ b/dev-docker/weblate-dev/Dockerfile @@ -53,6 +53,6 @@ RUN apt-get update && apt-get install -y \ RUN apt-get install -y gir1.2-rsvg-2.0 COPY requirements.txt /tmp/ -RUN . /app/venv/bin/activate && uv pip install -r /tmp/requirements.txt +RUN source /app/venv/bin/activate && uv pip install -r /tmp/requirements.txt # List should match weblate/weblate RUN chown -R "${USER_ID}:${GROUP_ID}" /etc/nginx/sites-available/ /var/log/nginx/ /var/lib/nginx /app/data /app/cache /run /home/weblate /etc/localtime /etc/supervisor/conf.d /tmp/localtime diff --git a/docs/contributing/start.rst b/docs/contributing/start.rst index fbfe9b9f3600..44e2ff0e0b15 100644 --- a/docs/contributing/start.rst +++ b/docs/contributing/start.rst @@ -31,8 +31,8 @@ sources. .. code-block:: sh - virtualenv .venv - . .venv/bin/activate + uv venv .venv + source .venv/bin/activate 3. Install Weblate (for this you need some system dependencies, see :doc:`../admin/install/source`) and all dependencies useful for development: