From 90a788ebc39fd7568b1853c64213a11b09ad23f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20M=C3=BCller?= Date: Fri, 15 Mar 2024 09:56:02 -0700 Subject: [PATCH] removed pypdf2 (#97) --- frontend/poetry.lock | 20 +------------------- frontend/pyproject.toml | 1 - frontend/requirements.txt | 1 - 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/frontend/poetry.lock b/frontend/poetry.lock index bac7abc..2bd190a 100644 --- a/frontend/poetry.lock +++ b/frontend/poetry.lock @@ -1189,24 +1189,6 @@ docs = ["myst_parser", "sphinx", "sphinx_rtd_theme"] full = ["Pillow (>=8.0.0)", "PyCryptodome", "cryptography"] image = ["Pillow (>=8.0.0)"] -[[package]] -name = "pypdf2" -version = "3.0.1" -description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files" -optional = false -python-versions = ">=3.6" -files = [ - {file = "PyPDF2-3.0.1.tar.gz", hash = "sha256:a74408f69ba6271f71b9352ef4ed03dc53a31aa404d29b5d31f53bfecfee1440"}, - {file = "pypdf2-3.0.1-py3-none-any.whl", hash = "sha256:d16e4205cfee272fbdc0568b68d82be796540b1537508cef59388f839c191928"}, -] - -[package.extras] -crypto = ["PyCryptodome"] -dev = ["black", "flit", "pip-tools", "pre-commit (<2.18.0)", "pytest-cov", "wheel"] -docs = ["myst_parser", "sphinx", "sphinx_rtd_theme"] -full = ["Pillow", "PyCryptodome"] -image = ["Pillow"] - [[package]] name = "pypng" version = "0.20220715.0" @@ -1682,4 +1664,4 @@ test = ["coverage (>=5.3)", "tomli (>=2.0.1)", "tox"] [metadata] lock-version = "2.0" python-versions = ">=3.12,<3.13" -content-hash = "124c237bd8349ba11f6cf57e31fae18463411dc0bcf00c6c4ff876a7defc2e14" +content-hash = "eae0abc77d8f1935d770863aae0cfe4cc8b7cf49d3480446f4e06ade6d01af7f" diff --git a/frontend/pyproject.toml b/frontend/pyproject.toml index 6178445..88649f3 100644 --- a/frontend/pyproject.toml +++ b/frontend/pyproject.toml @@ -13,7 +13,6 @@ python = ">=3.12,<3.13" django = "^4.2.8" scikit-learn = "^1.2.2" scipy = "^1.10.1" -pypdf2 = "^3.0.1" pandas = "^2.2" lmfit = "^1.1.0" xhtml2pdf = "^0.2.9" diff --git a/frontend/requirements.txt b/frontend/requirements.txt index c45008c..9e62179 100644 --- a/frontend/requirements.txt +++ b/frontend/requirements.txt @@ -33,7 +33,6 @@ pycparser==2.21 ; python_version >= "3.12" and python_version < "3.13" and platf pyhanko-certvalidator==0.26.3 ; python_version >= "3.12" and python_version < "3.13" pyhanko==0.23.1 ; python_version >= "3.12" and python_version < "3.13" pyparsing==3.1.2 ; python_version >= "3.12" and python_version < "3.13" -pypdf2==3.0.1 ; python_version >= "3.12" and python_version < "3.13" pypdf==4.1.0 ; python_version >= "3.12" and python_version < "3.13" pypng==0.20220715.0 ; python_version >= "3.12" and python_version < "3.13" python-bidi==0.4.2 ; python_version >= "3.12" and python_version < "3.13"