From cb5fdea2fc77f4ddf73dc0c7ff738749ef5601e8 Mon Sep 17 00:00:00 2001 From: ANSHUL SINGH <72524975+ekanshul@users.noreply.github.com> Date: Wed, 19 Aug 2026 21:09:44 +0530 Subject: [PATCH] Bump reportlab to 5.0.0 reportlab 5.0.0 dropped pyRXP support, and with it the reportlab.lib.rparsexml.RequirePyRXP constant, so stubtest fails on the stubsabot bump (#15924). Remove the constant from the stub and bump the version pin. The remaining 4.5.1 -> 5.0.0 changes are internal and need no stub updates. Co-Authored-By: Claude Fable 5 --- stubs/reportlab/METADATA.toml | 2 +- stubs/reportlab/reportlab/lib/rparsexml.pyi | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/stubs/reportlab/METADATA.toml b/stubs/reportlab/METADATA.toml index a01438bb6bca..76eaaf6e7ca3 100644 --- a/stubs/reportlab/METADATA.toml +++ b/stubs/reportlab/METADATA.toml @@ -1,4 +1,4 @@ -version = "4.5.1" +version = "5.0.0" # GitHub mirror of https://hg.reportlab.com/hg-public/reportlab/file upstream-repository = "https://github.com/MrBitBucket/reportlab-mirror" diff --git a/stubs/reportlab/reportlab/lib/rparsexml.pyi b/stubs/reportlab/reportlab/lib/rparsexml.pyi index 5feac4c061e5..bbfc9002a478 100644 --- a/stubs/reportlab/reportlab/lib/rparsexml.pyi +++ b/stubs/reportlab/reportlab/lib/rparsexml.pyi @@ -2,7 +2,6 @@ from _typeshed import FileDescriptorOrPath, Unused from collections.abc import Iterable from typing import Final, type_check_only -RequirePyRXP: int simpleparse: int @type_check_only