Skip to content

Commit

Permalink
Bump python version & dependencies (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamtoozer authored Oct 14, 2024
1 parent d5b3d85 commit a47a397
Show file tree
Hide file tree
Showing 6 changed files with 1,283 additions and 1,157 deletions.
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11.4
3.12.6
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim
FROM python:3.12-slim

WORKDIR /benchmark
COPY . /benchmark
Expand All @@ -9,9 +9,9 @@ RUN apt-get update && apt-get install -y gcc python3-dev
# Install the required dependencies via pip
COPY pyproject.toml pyproject.toml
COPY poetry.lock poetry.lock
RUN pip install "poetry==1.8.3"
RUN poetry config virtualenvs.create false
RUN poetry install
RUN pip install "poetry==1.8.3" \
&& poetry config virtualenvs.create false \
&& poetry install --only main

# Start Locust using LOCUS_OPTS environment variable
ENTRYPOINT ["bash", "./docker_entrypoint.sh"]
2 changes: 1 addition & 1 deletion ci/output-results-to-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ image_resource:
type: registry-image
source:
repository: python
tag: 3.11-slim
tag: 3.12-slim
inputs:
- name: eq-survey-runner-benchmark
- name: pull-request
Expand Down
2 changes: 1 addition & 1 deletion ci/output-results-to-slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ image_resource:
type: registry-image
source:
repository: python
tag: 3.11-slim
tag: 3.12-slim
inputs:
- name: eq-survey-runner-benchmark
params:
Expand Down
Loading

0 comments on commit a47a397

Please sign in to comment.