From fc33edb7492b9ae7284d4b1d49b07fa3e3cac6bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:22:34 +0000 Subject: [PATCH 1/2] Bump aiohttp from 3.9.4 to 3.10.2 Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.4 to 3.10.2. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.4...v3.10.2) --- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d93ff9a74..0c4d3cf7e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -aiohttp==3.9.4 +aiohttp==3.10.2 bleach==6.1.0 boto3==1.34.74 bw-file-resubmit==0.6.0rc2 From 80248d3c1d66e50ea5210773c78f9e018ebadbb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dato=20Sim=C3=B3?= Date: Sat, 31 Aug 2024 20:13:39 -0300 Subject: [PATCH 2/2] Convert min_confidence param to string to appease mypy --- bookwyrm/connectors/abstract_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/connectors/abstract_connector.py b/bookwyrm/connectors/abstract_connector.py index aa8edbeae..4be10f466 100644 --- a/bookwyrm/connectors/abstract_connector.py +++ b/bookwyrm/connectors/abstract_connector.py @@ -86,7 +86,7 @@ async def get_results( ), "User-Agent": USER_AGENT, } - params = {"min_confidence": min_confidence} + params = {"min_confidence": str(min_confidence)} try: async with session.get(url, headers=headers, params=params) as response: if not response.ok: