Skip to content

Commit

Permalink
Bump all dependencies (#27)
Browse files Browse the repository at this point in the history
For some reason, Dependabot doesn't seem to be creating pull requests.
This manually updates them for now.

Contributes to PLA-125.
  • Loading branch information
jesse-c authored Sep 3, 2024
1 parent 8db3031 commit 1301541
Show file tree
Hide file tree
Showing 5 changed files with 1,693 additions and 1,747 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.10
ENV PYTHONPATH "${PYTHONPATH}:/app"

RUN mkdir /app
Expand All @@ -8,7 +8,7 @@ RUN apt-get update

# Install pip and poetry
RUN pip install --upgrade pip
RUN pip install "poetry==1.2.2"
RUN pip install "poetry==1.8.3"

# Create layer for dependencies
COPY ./poetry.lock ./pyproject.toml ./
Expand All @@ -26,4 +26,4 @@ COPY ./src ./src
COPY ./cli ./cli

# Run the indexer on the input s3 directory
ENTRYPOINT [ "sh", "./cli/run.sh" ]
ENTRYPOINT [ "sh", "./cli/run.sh" ]
4 changes: 2 additions & 2 deletions cli/test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import botocore.client
import pytest
from cpr_sdk.parser_models import BlockType, HTMLTextBlock
from moto import mock_s3
from moto import mock_aws


class S3Client:
Expand Down Expand Up @@ -1113,7 +1113,7 @@ def pipeline_s3_objects_main(

@pytest.fixture
def pipeline_s3_client_main(s3_bucket_and_region, pipeline_s3_objects_main):
with mock_s3():
with mock_aws():
s3_client = S3Client(s3_bucket_and_region["region"])

s3_client.client.create_bucket(
Expand Down
Loading

0 comments on commit 1301541

Please sign in to comment.