Merge branch 'RED-7958-logging-issues-of-python-services' into 'master'

RED-7958 "Logging issues of python services"

See merge request redactmanager/image-classification-service!6
This commit is contained in:
Francisco Schulz 2023-12-12 11:29:46 +01:00
commit dadc0a4163
6 changed files with 1962 additions and 1654 deletions

View File

@ -1,8 +1,9 @@
include:
- project: "Gitlab/gitlab"
ref: 0.2.6
ref: 0.3.0
file: "/ci-templates/research/dvc-versioning-build-release.gitlab-ci.yml"
variables:
NEXUS_PROJECT_DIR: red
IMAGENAME: "${CI_PROJECT_NAME}"
INTEGRATION_TEST_FILE: "${CI_PROJECT_ID}.pdf"

View File

@ -1 +1 @@
3.8.13
3.10.12

View File

@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.10
ARG USERNAME
ARG TOKEN
@ -30,7 +30,7 @@ RUN poetry config virtualenvs.create false && \
poetry config http-basic.${POETRY_SOURCE_REF_RESEARCH} ${USERNAME} ${TOKEN} && \
poetry config repositories.${POETRY_SOURCE_REF_RED} ${PYPI_REGISTRY_RED} && \
poetry config http-basic.${POETRY_SOURCE_REF_RED} ${USERNAME} ${TOKEN} && \
poetry install --without=test -vv --no-interaction --no-root
poetry install --without=dev -vv --no-interaction --no-root
EXPOSE 5000
EXPOSE 8080

View File

@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.10
ARG USERNAME
ARG TOKEN
@ -30,7 +30,7 @@ RUN poetry config virtualenvs.create false && \
poetry config http-basic.${POETRY_SOURCE_REF_RESEARCH} ${USERNAME} ${TOKEN} && \
poetry config repositories.${POETRY_SOURCE_REF_RED} ${PYPI_REGISTRY_RED} && \
poetry config http-basic.${POETRY_SOURCE_REF_RED} ${USERNAME} ${TOKEN} && \
poetry install --without=test -vv --no-interaction --no-root
poetry install --without=dev -vv --no-interaction --no-root
EXPOSE 5000
EXPOSE 8080

3589
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,18 +1,18 @@
[tool.poetry]
name = "image-classification-service"
version = "1.33.0"
version = "1.34.0"
description = ""
authors = ["Team Research <research@knecon.com>"]
readme = "README.md"
packages = [{ include = "image_prediction" }]
[tool.poetry.dependencies]
python = "~3.8"
python = ">=3.10,<3.11"
pyinfra = { version = "1.10.0", source = "gitlab-research" }
kn-utils = { version = "0.2.7", source = "gitlab-research" }
dvc = "^2.34.0"
dvc-ssh = "^2.20.0"
dvc-azure = "^2.21.2"
pyinfra = { version = "1.6.0", source = "gitlab-research" }
kn-utils = { version = "0.1.4", source = "gitlab-research" }
Flask = "^2.1.1"
requests = "^2.27.1"
iteration-utilities = "^0.11.0"
@ -25,7 +25,7 @@ tqdm = "^4.64.0"
pandas = "^1.4.2"
tensorflow = "^2.8.0"
pytest = "^7.1.0"
funcy = "^1.17"
funcy = "^2"
PyMuPDF = "^1.19.6"
fpdf = "^1.7.2"
coverage = "^6.3.2"
@ -36,9 +36,9 @@ protobuf = "^3.20.0"
fsspec = "^2022.11.0"
PyMonad = "^2.4.0"
pdfnetpython3 = "9.4.2"
loguru = "^0.6.0"
loguru = "^0.7.0"
[tool.poetry.group.test.dependencies]
[tool.poetry.group.dev.dependencies]
pytest = "^7.0.1"
pymonad = "^2.4.0"
pylint = "^2.17.4"