Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump all dependencies #27

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading