diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index a78abb64..0f3cde9c 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -61,7 +61,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install uv - uv pip install --system -r requirements/local.txt + uv pip install --system -r requirements/local.txt --prerelease=allow # https://github.com/pytest-dev/pytest-github-actions-annotate-failures/pull/68 isn't yet in a release uv pip install --system git+https://github.com/pytest-dev/pytest-github-actions-annotate-failures.git@6e66cd895fe05cd09be8bad58f5d79110a20385f diff --git a/.github/workflows/pytest_next_python.yml b/.github/workflows/pytest_next_python.yml index 25a5f54b..e85d3e6c 100644 --- a/.github/workflows/pytest_next_python.yml +++ b/.github/workflows/pytest_next_python.yml @@ -55,7 +55,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install uv - uv pip install --system -r requirements/local.txt + uv pip install --system -r requirements/local.txt --prerelease=allow # https://github.com/pytest-dev/pytest-github-actions-annotate-failures/pull/68 isn't yet in a release uv pip install --system git+https://github.com/pytest-dev/pytest-github-actions-annotate-failures.git@6e66cd895fe05cd09be8bad58f5d79110a20385f diff --git a/compose/local/django/Dockerfile b/compose/local/django/Dockerfile index 182e5ca0..b2ba11c5 100644 --- a/compose/local/django/Dockerfile +++ b/compose/local/django/Dockerfile @@ -20,7 +20,7 @@ RUN apt-get update \ # Requirements are installed here to ensure they will be cached. COPY ./requirements /requirements RUN pip install uv -RUN uv pip install --system -r /requirements/local.txt +RUN uv pip install --system -r /requirements/local.txt --prerelease=allow COPY ./compose/production/django/entrypoint /entrypoint RUN sed -i 's/\r$//g' /entrypoint diff --git a/compose/local/docs/Dockerfile b/compose/local/docs/Dockerfile index 78dcfbc3..a7ac21e6 100644 --- a/compose/local/docs/Dockerfile +++ b/compose/local/docs/Dockerfile @@ -26,7 +26,7 @@ RUN apt-get update \ # Only re-run the pip install if these files have changed COPY requirements/base.txt requirements/local.txt requirements/production.txt /app/requirements/ RUN pip install uv -RUN uv pip install --system -r /app/requirements/local.txt -r /app/requirements/production.txt +RUN uv pip install --system -r /app/requirements/local.txt -r /app/requirements/production.txt --prerelease=allow COPY . /app/ diff --git a/compose/local/translator/Dockerfile b/compose/local/translator/Dockerfile index 48f37924..91c70ba6 100644 --- a/compose/local/translator/Dockerfile +++ b/compose/local/translator/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-slim-buster +FROM python:3.9-slim-bookworm ENV PYTHONUNBUFFERED 1 ENV PYTHONDONTWRITEBYTECODE 1 diff --git a/requirements/local.txt b/requirements/local.txt index 134a2213..9f0f99cf 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -9,7 +9,7 @@ watchgod==0.8.2 # https://github.com/samuelcolvin/watchgod # ------------------------------------------------------------------------------ django-stubs==1.11.0 # https://github.com/typeddjango/django-stubs pytest-sugar==0.9.6 # https://github.com/Frozenball/pytest-sugar -behave-django==1.4.0 # https://github.com/behave/behave-django +behave-django==1.7.0 # https://github.com/behave/behave-django # Documentation # ------------------------------------------------------------------------------