Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for release: Update version 1.1.1 -> 1.1.2 #16

Merged
merged 4 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down