mirror of
https://github.com/element-hq/synapse.git
synced 2026-03-30 12:55:40 +00:00
Remove requirement on transitive dep, and require jsonschema>=4.26.0 for Python 3.14
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user