From: Guillaume Pellerin Date: Fri, 6 Nov 2026 08:20:41 +0000 (+0100) Subject: upgrade pypdf X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=9f0104f702cd9cccccb5f79fa10a8428381ee6e6;p=teleforma.git upgrade pypdf --- diff --git a/poetry.lock b/poetry.lock index 41ac2337..3410d29e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1727,21 +1727,23 @@ six = "*" [[package]] name = "pypdf" -version = "4.2.0" +version = "6.14.1" description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files" optional = false -python-versions = ">=3.6" +python-versions = ">=3.9" groups = ["main"] files = [ - {file = "pypdf-4.2.0-py3-none-any.whl", hash = "sha256:dc035581664e0ad717e3492acebc1a5fc23dba759e788e3d4a9fc9b1a32e72c1"}, - {file = "pypdf-4.2.0.tar.gz", hash = "sha256:fe63f3f7d1dcda1c9374421a94c1bba6c6f8c4a62173a59b64ffd52058f846b1"}, + {file = "pypdf-6.14.1-py3-none-any.whl", hash = "sha256:f12434c49fd4c771b92ea2cc176df16d6c5488fc123d4ab4ee3a344e151f685c"}, + {file = "pypdf-6.14.1.tar.gz", hash = "sha256:03c76aa9cc6dfda76d33d8e19f17d271efb6a7606913a72cf973a649db9743a3"}, ] [package.extras] -crypto = ["PyCryptodome ; python_version == \"3.6\"", "cryptography ; python_version >= \"3.7\""] -dev = ["black", "flit", "pip-tools", "pre-commit (<2.18.0)", "pytest-cov", "pytest-socket", "pytest-timeout", "pytest-xdist", "wheel"] +crypto = ["cryptography (>3.0)"] +cryptodome = ["PyCryptodome"] +dev = ["flit", "pip-tools", "pre-commit", "pytest-cov", "pytest-socket", "pytest-timeout", "pytest-xdist", "wheel"] docs = ["myst_parser", "sphinx", "sphinx_rtd_theme"] -full = ["Pillow (>=8.0.0)", "PyCryptodome ; python_version == \"3.6\"", "cryptography ; python_version >= \"3.7\""] +fonts = ["fonttools"] +full = ["Pillow (>=8.0.0)", "cryptography (>3.0)", "fonttools"] image = ["Pillow (>=8.0.0)"] [[package]] @@ -2621,4 +2623,4 @@ test = ["pytest"] [metadata] lock-version = "2.1" python-versions = "^3.13" -content-hash = "9910ff1a7275243b41d12d930c19883e9adcf4215d90f9966107e41fd59e1d18" +content-hash = "55f70c924cb835202195f6f127725755057dc74624b8e42151450bf60d9eb2c6" diff --git a/pyproject.toml b/pyproject.toml index e5358b04..6ecc7e0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ django-user-agents = "0.4.0" # abandoned — to replace with fork django-recaptcha = "^4.0.0" jxmlease = "1.0.3" numpy = "1.26.4" -pypdf = "4.2.0" +pypdf = "6.14.1" pymemcache = "3.4.4" requests = "^2.31.0" sorl-thumbnail = "^13.0.0"