Remove requirement on transitive dep, and require jsonschema>=4.26.0 for Python 3.14

This commit is contained in:
Andrew Morgan
2026-03-05 15:12:56 +00:00
parent 46c6e0ae1e
commit 4d2434acb9

View File

@@ -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",