From c3d6060a6446448a1a0ad10b1b34c57ba2138372 Mon Sep 17 00:00:00 2001 From: avollkopf <43980694+avollkopf@users.noreply.github.com> Date: Wed, 21 Aug 2024 07:30:42 +0200 Subject: [PATCH 1/2] update requirements (dependabot alert for aiohttp) --- cbpi/__init__.py | 2 +- requirements.txt | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cbpi/__init__.py b/cbpi/__init__.py index b809b20..b23b5f4 100644 --- a/cbpi/__init__.py +++ b/cbpi/__init__.py @@ -1,3 +1,3 @@ -__version__ = "4.4.3" +__version__ = "4.4.4" __codename__ = "Yeast Starter" diff --git a/requirements.txt b/requirements.txt index 42e0495..294425e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ typing-extensions>=4 -aiohttp==3.9.5 +aiohttp==3.10.5 aiohttp-auth==0.1.1 aiohttp-route-decorator==0.1.4 aiohttp-security==0.5.0 diff --git a/setup.py b/setup.py index fa17ff5..22e6450 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ setup(name='cbpi4', long_description_content_type='text/markdown', install_requires=[ "typing-extensions>=4", - "aiohttp==3.9.5", + "aiohttp==3.10.5", "aiohttp-auth==0.1.1", "aiohttp-route-decorator==0.1.4", "aiohttp-security==0.5.0", From 4c70ef6fd27fa230c91e78e3e3bb35e399d07438 Mon Sep 17 00:00:00 2001 From: avollkopf <43980694+avollkopf@users.noreply.github.com> Date: Sun, 15 Sep 2024 13:29:58 +0200 Subject: [PATCH 2/2] fix warnings error for numpy in cooldown step --- cbpi/__init__.py | 2 +- cbpi/extension/mashstep/__init__.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cbpi/__init__.py b/cbpi/__init__.py index b23b5f4..1b6a6aa 100644 --- a/cbpi/__init__.py +++ b/cbpi/__init__.py @@ -1,3 +1,3 @@ -__version__ = "4.4.4" +__version__ = "4.4.5" __codename__ = "Yeast Starter" diff --git a/cbpi/extension/mashstep/__init__.py b/cbpi/extension/mashstep/__init__.py index 3ea7f0e..1047c80 100644 --- a/cbpi/extension/mashstep/__init__.py +++ b/cbpi/extension/mashstep/__init__.py @@ -490,7 +490,10 @@ class CooldownStep(CBPiStep): await self.push_update() async def on_start(self): - warnings.simplefilter('ignore', np.RankWarning) + try: + warnings.simplefilter('ignore', np.exceptions.RankWarning) + except Exception as e: + logging.error(f"Numpy Error: {e}") self.temp_array = [] self.time_array = [] self.kettle = self.get_kettle(self.props.get("Kettle", None))