diff --git a/poetry.lock b/poetry.lock index f44d151d39fb..3e0288603b67 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2175,20 +2175,21 @@ files = [ [[package]] name = "pypdf" -version = "4.3.1" +version = "5.1.0" description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" files = [ - {file = "pypdf-4.3.1-py3-none-any.whl", hash = "sha256:64b31da97eda0771ef22edb1bfecd5deee4b72c3d1736b7df2689805076d6418"}, - {file = "pypdf-4.3.1.tar.gz", hash = "sha256:b2f37fe9a3030aa97ca86067a56ba3f9d3565f9a791b305c7355d8392c30d91b"}, + {file = "pypdf-5.1.0-py3-none-any.whl", hash = "sha256:3bd4f503f4ebc58bae40d81e81a9176c400cbbac2ba2d877367595fb524dfdfc"}, + {file = "pypdf-5.1.0.tar.gz", hash = "sha256:425a129abb1614183fd1aca6982f650b47f8026867c0ce7c4b9f281c443d2740"}, ] [package.extras] -crypto = ["PyCryptodome", "cryptography"] +crypto = ["cryptography"] +cryptodome = ["PyCryptodome"] dev = ["black", "flit", "pip-tools", "pre-commit (<2.18.0)", "pytest-cov", "pytest-socket", "pytest-timeout", "pytest-xdist", "wheel"] docs = ["myst_parser", "sphinx", "sphinx_rtd_theme"] -full = ["Pillow (>=8.0.0)", "PyCryptodome", "cryptography"] +full = ["Pillow (>=8.0.0)", "cryptography"] image = ["Pillow (>=8.0.0)"] [[package]] @@ -2915,4 +2916,4 @@ test = ["pytest"] [metadata] lock-version = "2.0" python-versions = "==3.12.7" -content-hash = "173ac4fb417fda312446fd00cff7d46535f5d6b386fc232f7cebe65cdb467b70" +content-hash = "7310d07aae95658afc5d83500f1cae5983de119b78fca9a198ff5173c3e81b4b" diff --git a/pyproject.toml b/pyproject.toml index 17b435d5f632..16cd2dd3602b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependency-injector = { git = "https://github.com/anton-petrov/python-dependency pdfCropMargins = "==2.1.4" pycryptodome = "3.21.0" pydantic = { extras = ["dotenv"], version = "==2.9.2" } -pypdf = "4.3.1" +pypdf = "5.1.0" pikepdf = "9.4.0" pydantic-settings = "2.6.1"