Skip to content

Commit a636920

Browse files
committed
Release 1.96.1.0 for synapse 1.96.1
1 parent 5cb3bde commit a636920

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
### [1.96.1.0] - 2023-11-19
11+
12+
### Updated
13+
14+
- Synapse to 1.96.1 (there is not matrix-synapse 1.96.0 release)
15+
1016
### [1.95.1.0] - 2023-11-19
1117

1218
### Updated
@@ -251,7 +257,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
251257
- Location of github action workflow file `build.yml`
252258
- Fix robustness for matrix-synapse name and packages changes and rebuilding in the same path (updater script)
253259

254-
[unreleased]: https://github.com/conhealth/LifeTime-Desktop/compare/v1.95.1.0...HEAD
260+
[unreleased]: https://github.com/conhealth/LifeTime-Desktop/compare/v1.96.1.0...HEAD
261+
[1.96.1.0]: https://github.com/conhealth/LifeTime-Desktop/compare/v1.95.1.0...v1.96.1.0
255262
[1.95.1.0]: https://github.com/conhealth/LifeTime-Desktop/compare/v1.95.0.0...v1.95.1.0
256263
[1.95.0.0]: https://github.com/conhealth/LifeTime-Desktop/compare/v1.94.0.0...v1.95.0.0
257264
[1.94.0.0]: https://github.com/conhealth/LifeTime-Desktop/compare/v1.93.0.0...v1.94.0.0

matrix_synapse_testutils/server.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@
4343
from unittest.mock import Mock
4444

4545
import attr
46+
from incremental import Version
4647
from typing_extensions import ParamSpec
4748
from zope.interface import implementer
4849

50+
import twisted
4951
from twisted.internet import address, tcp, threads, udp
5052
from twisted.internet._resolver import SimpleResolverComplexifier
5153
from twisted.internet.defer import Deferred, fail, maybeDeferred, succeed
@@ -474,6 +476,16 @@ def getHostByName(
474476
return fail(DNSLookupError("OH NO: unknown %s" % (name,)))
475477
return succeed(lookups[name])
476478

479+
# In order for the TLS protocol tests to work, modify _get_default_clock
480+
# on newer Twisted versions to use the test reactor's clock.
481+
#
482+
# This is *super* dirty since it is never undone and relies on the next
483+
# test to overwrite it.
484+
if twisted.version > Version("Twisted", 23, 8, 0):
485+
from twisted.protocols import tls
486+
487+
tls._get_default_clock = lambda: self # type: ignore[attr-defined]
488+
477489
self.nameResolver = SimpleResolverComplexifier(FakeResolver())
478490
super().__init__()
479491

matrix_synapse_testutils/unittest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
Generic,
3131
Iterable,
3232
List,
33+
Mapping,
3334
NoReturn,
3435
Optional,
3536
Tuple,
@@ -251,7 +252,7 @@ def assertObjectHasAttributes(self, attrs: Dict[str, object], obj: object) -> No
251252
except AssertionError as e:
252253
raise (type(e))(f"Assert error for '.{key}':") from e
253254

254-
def assert_dict(self, required: dict, actual: dict) -> None:
255+
def assert_dict(self, required: Mapping, actual: Mapping) -> None:
255256
"""Does a partial assert of a dict.
256257
257258
Args:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ classifiers = [
1616
"Topic :: Software Development"
1717
]
1818
dependencies = [
19-
"matrix-synapse[test]==1.95.1"
19+
"matrix-synapse[test]==1.96.1"
2020
]
2121

2222
[project.urls]

0 commit comments

Comments
 (0)