From ee11c24b3d577f35f5026df94dfdc15fdbf07ccf Mon Sep 17 00:00:00 2001 From: Aaron Harper Date: Fri, 22 Nov 2024 10:06:56 -0500 Subject: [PATCH] Fix test failures (#181) --- inngest/_internal/comm_lib/handler.py | 4 ++-- pyproject.toml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/inngest/_internal/comm_lib/handler.py b/inngest/_internal/comm_lib/handler.py index 2f8f1127..54681b4b 100644 --- a/inngest/_internal/comm_lib/handler.py +++ b/inngest/_internal/comm_lib/handler.py @@ -362,7 +362,7 @@ async def put( ) -> typing.Union[CommResponse, Exception]: """Handle a PUT request.""" - self._client.logger.info("Syncing app") + self._client.logger.debug("Syncing app") syncer = _Syncer(logger=self._client.logger) if ( @@ -393,7 +393,7 @@ def put_sync( ) -> typing.Union[CommResponse, Exception]: """Handle a PUT request.""" - self._client.logger.info("Syncing app") + self._client.logger.debug("Syncing app") syncer = _Syncer(logger=self._client.logger) if ( diff --git a/pyproject.toml b/pyproject.toml index ff2f244a..424d70cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,11 @@ extra = [ "types-toml==0.10.8.7", "types-tornado==5.1.1", "uvicorn==0.23.2", + + # Werkzeug v3.1 deleted something that breaks our minimum Flask version + # (v2.3.0). So for now, only allow Werkzeug versions below v3.1. See this PR + # for the deleted thing: https://github.com/pallets/werkzeug/pull/2967 + "werkzeug<3.1", ] [project.urls]