mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-08 03:28:35 +03:00
hacky fix for bad poetry marker in lock file
This commit is contained in:
@@ -10,8 +10,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN pip install --no-cache-dir poetry
|
RUN pip install --no-cache-dir poetry
|
||||||
|
|
||||||
COPY ../../pyproject.toml ../../poetry.lock ../../README.md ./
|
COPY ../../pyproject.toml ../../poetry.lock ../../README.md ./
|
||||||
RUN poetry install --with web --no-interaction --no-ansi --no-cache
|
# sed is unfortunately needed to fix a bug comming from vk-url-scraper that comes from brotli and the fact bk-ul-scraper can no longer be published to pypi
|
||||||
|
RUN sed -i 's/platform_python_implementation >= \\"CPython\\"/platform_python_implementation == \\"CPython\\"/g' poetry.lock && \
|
||||||
|
poetry install --with web --no-interaction --no-ansi --no-cache
|
||||||
|
|
||||||
# Copy the application code and configurations
|
# Copy the application code and configurations
|
||||||
COPY ../../app ./app/
|
COPY ../../app ./app/
|
||||||
|
|||||||
4
poetry.lock
generated
4
poetry.lock
generated
@@ -1208,7 +1208,7 @@ google-auth = ">=2.14.1,<3.0.0"
|
|||||||
googleapis-common-protos = ">=1.56.2,<2.0.0"
|
googleapis-common-protos = ">=1.56.2,<2.0.0"
|
||||||
grpcio = [
|
grpcio = [
|
||||||
{version = ">=1.49.1,<2.0dev", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""},
|
{version = ">=1.49.1,<2.0dev", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""},
|
||||||
{version = ">=1.33.2,<2.0dev", optional = true, markers = "python_version < \"3.11\" and extra == \"grpc\""},
|
{version = ">=1.33.2,<2.0dev", optional = true, markers = "extra == \"grpc\""},
|
||||||
]
|
]
|
||||||
grpcio-status = [
|
grpcio-status = [
|
||||||
{version = ">=1.49.1,<2.0.dev0", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""},
|
{version = ">=1.49.1,<2.0.dev0", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""},
|
||||||
@@ -1341,7 +1341,7 @@ google-auth = ">=2.14.1,<2.24.0 || >2.24.0,<2.25.0 || >2.25.0,<3.0.0dev"
|
|||||||
google-cloud-core = ">=1.4.1,<3.0.0dev"
|
google-cloud-core = ">=1.4.1,<3.0.0dev"
|
||||||
proto-plus = [
|
proto-plus = [
|
||||||
{version = ">=1.22.2,<2.0.0dev", markers = "python_version >= \"3.11\""},
|
{version = ">=1.22.2,<2.0.0dev", markers = "python_version >= \"3.11\""},
|
||||||
{version = ">=1.22.0,<2.0.0dev"},
|
{version = ">=1.22.0,<2.0.0dev", markers = "python_version < \"3.11\""},
|
||||||
]
|
]
|
||||||
protobuf = ">=3.20.2,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<6.0.0dev"
|
protobuf = ">=3.20.2,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<6.0.0dev"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user