mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
synapse: update to 1.133.0.
This commit is contained in:
parent
93b2995e62
commit
c74fa9dc50
3 changed files with 3 additions and 38 deletions
|
@ -7,7 +7,7 @@ index 2d982ea..289565b 100644
|
|||
# We are happy to raise these upper bounds upon request,
|
||||
# provided we check that it's safe to do so (i.e. that CI passes).
|
||||
-requires = ["poetry-core>=1.1.0,<=1.9.1", "setuptools_rust>=1.3,<=1.10.2"]
|
||||
+requires = ["poetry-core>=1.1.0,<=2.0.1", "setuptools_rust>=1.3,<=1.11.1"]
|
||||
+requires = ["poetry-core>=1.1.0,<=2.2.0", "setuptools_rust>=1.3,<=1.11.1"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
diff --git a/tests/storage/databases/main/test_events_worker.py b/tests/storage/databases/main/test_events_worker.py
|
||||
index 104d141..a172d2c 100644
|
||||
--- a/tests/storage/databases/main/test_events_worker.py
|
||||
+++ b/tests/storage/databases/main/test_events_worker.py
|
||||
@@ -447,30 +447,6 @@ class DatabaseOutageTestCase(unittest.HomeserverTestCase):
|
||||
)
|
||||
self.assertEqual(str(failure.value), "Could not connect to the database.")
|
||||
|
||||
- def test_recovery(self) -> None:
|
||||
- """Test that event fetchers recover after a database outage."""
|
||||
- with self._outage():
|
||||
- # Kick off a bunch of event fetches but do not pump the reactor
|
||||
- event_deferreds = []
|
||||
- for event_id in self.event_ids:
|
||||
- event_deferreds.append(ensureDeferred(self.store.get_event(event_id)))
|
||||
-
|
||||
- # We should have maxed out on event fetcher threads
|
||||
- self.assertEqual(self.store._event_fetch_ongoing, EVENT_QUEUE_THREADS)
|
||||
-
|
||||
- # All the event fetchers will fail
|
||||
- self.pump()
|
||||
- self.assertEqual(self.store._event_fetch_ongoing, 0)
|
||||
-
|
||||
- for event_deferred in event_deferreds:
|
||||
- failure = self.get_failure(event_deferred, Exception)
|
||||
- self.assertEqual(
|
||||
- str(failure.value), "Could not connect to the database."
|
||||
- )
|
||||
-
|
||||
- # This next event fetch should succeed
|
||||
- self.get_success(self.store.get_event(self.event_ids[0]))
|
||||
-
|
||||
|
||||
class GetEventCancellationTestCase(unittest.HomeserverTestCase):
|
||||
"""Test cancellation of `get_event` calls."""
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'synapse'
|
||||
pkgname=synapse
|
||||
version=1.131.0
|
||||
version=1.133.0
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
build_helper=rust
|
||||
|
@ -26,7 +26,7 @@ license="AGPL-3.0-or-later"
|
|||
homepage="https://element-hq.github.io/synapse"
|
||||
changelog="https://raw.githubusercontent.com/element-hq/synapse/develop/CHANGES.md"
|
||||
distfiles="https://github.com/element-hq/synapse/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=929be56bec346a667d24d1301c629c4052f8ecfec1667813a2662717dc4295a6
|
||||
checksum=dc6e804431304be6b6e06cbbc11a98e00a489e2193839bcc0258d5547ce9687a
|
||||
|
||||
system_accounts="synapse"
|
||||
synapse_homedir="/var/lib/synapse"
|
||||
|
|
Loading…
Add table
Reference in a new issue