Skip to content

Commit

Permalink
refactor: pin pip and setuptools versions in requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
gmargaritis committed Sep 27, 2024
1 parent 7bb530e commit 4c13db1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/.dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ updates:
prefix-development: chore
include: scope

# Fetch and update latest `poetry`
- package-ecosystem: poetry
# Fetch and update latest `python` packages
- package-ecosystem: pip
directory: '/'
schedule:
interval: daily
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ FROM python:${PYTHON_VERSION}-${VARIANT} as base

ENV PYTHONUNBUFFERED=1

RUN python -m ensurepip --upgrade
RUN pip install --upgrade setuptools
COPY ./requirements.txt ./

RUN python -m ensurepip
RUN pip install -r requirements.txt

ARG POETRY_VERSION=1.8.3
ENV POETRY_HOME=/opt/poetry\
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pip==24.2
setuptools==75.1.0

0 comments on commit 4c13db1

Please sign in to comment.