Skip to content

Commit

Permalink
Pin pip and setuptools versions in requirements.txt (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmargaritis committed Sep 27, 2024
2 parents 7bb530e + 83954d9 commit 8818995
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 && rm 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 8818995

Please sign in to comment.