From 2eb5987d1860294270bc58d4c81bdbed46626a92 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 6 Mar 2024 20:54:20 +1100 Subject: [PATCH 1/2] Added type hints --- src/PIL/_jxl.pyi | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/PIL/_jxl.pyi diff --git a/src/PIL/_jxl.pyi b/src/PIL/_jxl.pyi new file mode 100644 index 000000000..b0235555d --- /dev/null +++ b/src/PIL/_jxl.pyi @@ -0,0 +1,5 @@ +from __future__ import annotations + +from typing import Any + +def __getattr__(name: str) -> Any: ... From 37b58f340b56919d15095b8a475a5e44f9401ff2 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 6 Mar 2024 20:55:14 +1100 Subject: [PATCH 2/2] Removed feature --- src/PIL/features.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PIL/features.py b/src/PIL/features.py index e8d428cac..028aa0974 100644 --- a/src/PIL/features.py +++ b/src/PIL/features.py @@ -125,7 +125,6 @@ features = { "webp_anim": ("PIL._webp", "HAVE_WEBPANIM", None), "webp_mux": ("PIL._webp", "HAVE_WEBPMUX", None), "transp_webp": ("PIL._webp", "HAVE_TRANSPARENCY", None), - "jxl": ("PIL._jxl", "HAVE_JXL", None), "raqm": ("PIL._imagingft", "HAVE_RAQM", "raqm_version"), "fribidi": ("PIL._imagingft", "HAVE_FRIBIDI", "fribidi_version"), "harfbuzz": ("PIL._imagingft", "HAVE_HARFBUZZ", "harfbuzz_version"),