From eeeb2d436fcf744781330a6045b7a1e1d63dd009 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 20 Nov 2023 23:56:56 +1100 Subject: [PATCH 1/2] List optional dependencies apart from docs and tests --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a49179a3734..d8292a37634 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,9 @@ docs = [ "sphinx-removed-in", "sphinxext-opengraph", ] +fpx_mic = [ + "olefile", +] tests = [ "check-manifest", "coverage", @@ -59,6 +62,9 @@ tests = [ "pytest-cov", "pytest-timeout", ] +xmp = [ + "defusedxml", +] [project.urls] Changelog = "https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst" Documentation = "https://pillow.readthedocs.io" From 5c277a0e8fef7a1b2ff8ba77540db345d4be5018 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 21 Nov 2023 08:33:11 +1100 Subject: [PATCH 2/2] Split fpx_mic dependency --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d8292a37634..9ef328a1660 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,10 @@ docs = [ "sphinx-removed-in", "sphinxext-opengraph", ] -fpx_mic = [ +fpx = [ + "olefile", +] +mic = [ "olefile", ] tests = [