Skip to content

Commit 20abc82

Browse files
committed
fix: Fix dependency handling after switching to optional-dependencies
1 parent e5bddd9 commit 20abc82

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Install uv
3939
uses: astral-sh/setup-uv@v6
4040
- name: Install the project
41-
run: uv sync --locked --only-group dev
41+
run: uv sync --frozen --extra dev
4242
- name: Run migrations
4343
run: uv run python manage.py migrate
4444
- name: Collect static files

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Basic Installation
6666

6767
.. code-block:: console
6868
69-
uv sync --only-group dev
69+
uv sync --extra dev
7070
7171
6. Copy `.env.template.local` file, rename to `.env` and configure variables for your local postgres database.
7272

compose/local/django/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN groupadd --gid 1000 dev-user \
3737
COPY . .
3838

3939
# Install dependencies
40-
RUN uv sync --locked --only-group dev
40+
RUN uv sync --locked --extra dev
4141

4242
COPY ./compose/local/django/start /start
4343
RUN chmod +x /start

docker-compose.local.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ x-app: &default-app
77
restart: unless-stopped
88
volumes:
99
- .:/app
10+
- /app/.venv
1011

1112
services:
1213
web:

0 commit comments

Comments
 (0)