From e73a43793254c217f42f4d27ccde56e6e7b9dd62 Mon Sep 17 00:00:00 2001 From: Rex P Date: Wed, 27 Nov 2024 14:05:32 +1100 Subject: [PATCH] chore: Bump up versions for dependencies we have to manually update --- .github/workflows/lint.yaml | 2 +- .github/workflows/publish-to-pypi.yaml | 2 +- docker/worker-base/Dockerfile | 2 +- gcp/api/Dockerfile | 2 +- gcp/website/Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index d15ed9eed50..77ef4592789 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -36,7 +36,7 @@ jobs: with: python-version: '3.11' - name: Install poetry - run: pip install poetry==1.8.3 + run: pip install poetry==1.8.4 - name: Set up poetry run: poetry install - name: Set up Go diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index 8950b25669b..438f5c7daec 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -31,7 +31,7 @@ jobs: - name: Set up Python 3 uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: - python-version: 3.7 + python-version: 3.11 - name: Install pypa/build run: >- python -m diff --git a/docker/worker-base/Dockerfile b/docker/worker-base/Dockerfile index 5e1594d5f54..d095a729036 100644 --- a/docker/worker-base/Dockerfile +++ b/docker/worker-base/Dockerfile @@ -42,7 +42,7 @@ RUN curl -sS https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON # See: https://python-poetry.org/docs/#installation ENV POETRY_HOME "/opt/poetry" RUN python3 -m venv $POETRY_HOME -RUN $POETRY_HOME/bin/pip install poetry==1.8.3 +RUN $POETRY_HOME/bin/pip install poetry==1.8.4 # Link in PATH to make it possible to directly call poetry RUN ln -s $POETRY_HOME/bin/poetry /usr/local/bin/poetry diff --git a/gcp/api/Dockerfile b/gcp/api/Dockerfile index bfa71450cf5..5f08ad539ab 100644 --- a/gcp/api/Dockerfile +++ b/gcp/api/Dockerfile @@ -26,6 +26,6 @@ COPY osv /osv/osv COPY gcp/api /osv/gcp/api WORKDIR /osv/gcp/api -RUN pip3 install poetry==1.8.3 && poetry install +RUN pip3 install poetry==1.8.4 && poetry install ENTRYPOINT ["poetry", "run", "python", "/osv/gcp/api/server.py"] diff --git a/gcp/website/Dockerfile b/gcp/website/Dockerfile index 55de7fde0f9..4fdee6109eb 100644 --- a/gcp/website/Dockerfile +++ b/gcp/website/Dockerfile @@ -39,7 +39,7 @@ WORKDIR /osv/gcp/website COPY setup.py poetry.lock pyproject.toml README.md /osv/ COPY osv /osv/osv COPY gcp/website/poetry.lock gcp/website/pyproject.toml ./ -RUN pip3 install poetry==1.8.3 && poetry install +RUN pip3 install poetry==1.8.4 && poetry install # Website Python code COPY gcp/website/*.py ./