From 1634053ca030b9f1a4f65007e59fd86714cbe680 Mon Sep 17 00:00:00 2001 From: Shay Date: Tue, 23 May 2023 11:47:02 -0700 Subject: [PATCH] Prepare for release: Update version 1.1.1 -> 1.1.2 (#16) --- README.md | 2 +- setup.cfg | 4 ++-- tests/__init__.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 98c9d08..4401cfa 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Synapse module to automatically accept invites. -Compatible with Synapse v1.57.0 and later. +Compatible with Synapse v1.84.0 and later. ## Installation diff --git a/setup.cfg b/setup.cfg index ed49937..d455ff2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ name = synapse_auto_accept_invite description = "Synapse module to automatically accept invites" long_description = file: README.md long_description_content_type=text/markdown -version = 1.1.1 +version = 1.1.2 classifiers= Development Status :: 5 - Production/Stable License :: OSI Approved :: Apache Software License @@ -17,7 +17,7 @@ python_requires = >= 3.7 [options.extras_require] dev = # for tests - matrix-synapse >= 1.57.0 + matrix-synapse >= 1.84.0 tox twisted aiounittest diff --git a/tests/__init__.py b/tests/__init__.py index 14b39b8..abb3ad5 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -17,7 +17,7 @@ from unittest.mock import Mock import attr -from synapse.module_api import ModuleApi, run_as_background_process +from synapse.module_api import ModuleApi from synapse_auto_accept_invite import InviteAutoAccepter @@ -76,6 +76,7 @@ def create_module( config = InviteAutoAccepter.parse_config(config_override) + run_as_background_process = Mock() run_as_background_process.side_effect = ( lambda desc, func, *args, bg_start_span, **kwargs: asyncio.create_task( func(*args, **kwargs)