[tool.poetry] name = "image-classification-service" version = "2.17.0" description = "" authors = ["Team Research "] readme = "README.md" packages = [{ include = "image_prediction", from = "src" }] [tool.poetry.dependencies] python = ">=3.10,<3.11" # FIXME: This should be recent pyinfra, but the recent protobuf packages are not compatible with tensorflow 2.9.0, also # see RED-9948. pyinfra = { version = "3.4.2", source = "gitlab-research" } kn-utils = { version = ">=0.4.0", source = "gitlab-research" } dvc = "^2.34.0" dvc-ssh = "^2.20.0" dvc-azure = "^2.21.2" Flask = "^2.1.1" requests = "^2.27.1" iteration-utilities = "^0.11.0" waitress = "^2.1.1" envyaml = "^1.10.211231" dependency-check = "^0.6.0" mlflow = "^1.24.0" numpy = "^1.22.3" tqdm = "^4.64.0" pandas = "^1.4.2" # FIXME: Our current model significantly changes the prediction behaviour when using newer tensorflow (/ protobuf) # versions which is introduuced by pyinfra updates using newer protobuf versions, see RED-9948. tensorflow = "2.9.0" protobuf = "^3.20" pytest = "^7.1.0" funcy = "^2" PyMuPDF = "^1.19.6" fpdf = "^1.7.2" coverage = "^6.3.2" Pillow = "^9.1.0" pdf2image = "^1.16.0" frozendict = "^2.3.0" fsspec = "^2022.11.0" PyMonad = "^2.4.0" pdfnetpython3 = "9.4.2" loguru = "^0.7.0" cyclonedx-bom = "^4.5.0" [tool.poetry.group.dev.dependencies] pytest = "^7.0.1" pymonad = "^2.4.0" pylint = "^2.17.4" ipykernel = "^6.23.2" [tool.pytest.ini_options] testpaths = ["test"] addopts = "--ignore=data" filterwarnings = ["ignore:.*:DeprecationWarning"] [[tool.poetry.source]] name = "PyPI" priority = "primary" [[tool.poetry.source]] name = "gitlab-research" url = "https://gitlab.knecon.com/api/v4/groups/19/-/packages/pypi/simple" priority = "explicit" [[tool.poetry.source]] name = "gitlab-red" url = "https://gitlab.knecon.com/api/v4/groups/12/-/packages/pypi/simple" priority = "explicit" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"