Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 7456e44

Browse files
author
David Robertson
committed
Use caret (semver bounds) for matrix.org packages
See https://python-poetry.org/docs/dependency-specification/#caret-requirements This effectively: - imposes new constraints `canonicaljson < 2` and `signedjson < 2` - widens `1.2.1 <= matrix-common < 1.3` to `1.2.1 <= matrix-common < 2` Doing so helps give us room to make backwards-compatible changes to our libraries without screwing over old synapse versions installed with the latest dependencies.
1 parent 21f2100 commit 7456e44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ jsonschema = ">=3.0.0"
110110
frozendict = ">=1,!=2.1.2"
111111
# We require 2.1.0 or higher for type hints. Previous guard was >= 1.1.0
112112
unpaddedbase64 = ">=2.1.0"
113-
canonicaljson = ">=1.4.0"
113+
canonicaljson = "^1.4.0"
114114
# we use the type definitions added in signedjson 1.1.
115-
signedjson = ">=1.1.0"
115+
signedjson = "^1.1.0"
116116
# validating SSL certs for IP addresses requires service_identity 18.1.
117117
service-identity = ">=18.1.0"
118118
# Twisted 18.9 introduces some logger improvements that the structured
@@ -150,7 +150,7 @@ typing-extensions = ">=3.10.0.1"
150150
cryptography = ">=3.4.7"
151151
# ijson 3.1.4 fixes a bug with "." in property names
152152
ijson = ">=3.1.4"
153-
matrix-common = "~=1.2.1"
153+
matrix-common = "^1.2.1"
154154
# We need packaging.requirements.Requirement, added in 16.1.
155155
packaging = ">=16.1"
156156
# At the time of writing, we only use functions from the version `importlib.metadata`

0 commit comments

Comments
 (0)