From 4d2434acb966cfba69cdaf258bbc7d265c4da545 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Thu, 5 Mar 2026 15:12:56 +0000 Subject: [PATCH] Remove requirement on transitive dep, and require jsonschema>=4.26.0 for Python 3.14 --- pyproject.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9d5e3fec2d..9c78f3dc1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,12 +15,12 @@ classifiers = [ # Mandatory Dependencies dependencies = [ - # we use the TYPE_CHECKER.redefine method added in jsonschema 3.0.0 - "jsonschema>=3.0.0", - # 0.25.0 is the first version to support Python 3.14. - # We can remove this once https://github.com/python-jsonschema/jsonschema/issues/1426 is fixed - # and included in a release. - "rpds-py>=0.25.0", + # jsonschema==4.26.0 was the first version to require rpds-py>=0.25.0, which + # is the first version of rpds-py to support Python 3.14. + # + # Otherwise, we use the TYPE_CHECKER.redefine method added in jsonschema 3.0.0 + "jsonschema>=4.26.0;python_version >= '3.14'", + "jsonschema>=3.0.0;python_version < '3.14'", # We choose 2.0 as a lower bound: the most recent backwards incompatible release. # It seems generally available, judging by https://pkgs.org/search/?q=immutabledict "immutabledict>=2.0",