From 1a6abfdc18004f27aea4e6b8814bbbc987a2ac36 Mon Sep 17 00:00:00 2001 From: Stefan <96178532+stefan6419846@users.noreply.github.com> Date: Tue, 22 Oct 2024 23:10:50 +0200 Subject: [PATCH] MAINT: Remove references to outdated Python versions (#2919) --- pyproject.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1dbc3cb05..803f95b4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,13 +40,14 @@ Changelog = "https://pypdf.readthedocs.io/en/latest/meta/CHANGELOG.html" [project.optional-dependencies] full = [ - "cryptography; python_version >= '3.7'", - "PyCryptodome; python_version == '3.6'", + "cryptography", "Pillow>=8.0.0", ] crypto = [ - "cryptography; python_version >= '3.7'", - "PyCryptodome; python_version == '3.6'", + "cryptography", +] +cryptodome = [ + "PyCryptodome", ] image = ["Pillow>=8.0.0"] dev = ["black", "pip-tools", "pre-commit<2.18.0", "pytest-cov", "pytest-socket", "pytest-timeout", "flit", "wheel", "pytest-xdist"]