Merge pull request #146 from PiBrewing/development

update to address dependabot alert and bugfix in cooldown step
This commit is contained in:
Alexander Vollkopf 2024-09-15 16:22:48 +02:00 committed by GitHub
commit ce9a7227f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,3 @@
__version__ = "4.4.3" __version__ = "4.4.5"
__codename__ = "Yeast Starter" __codename__ = "Yeast Starter"

View file

@ -490,7 +490,10 @@ class CooldownStep(CBPiStep):
await self.push_update() await self.push_update()
async def on_start(self): 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.temp_array = []
self.time_array = [] self.time_array = []
self.kettle = self.get_kettle(self.props.get("Kettle", None)) self.kettle = self.get_kettle(self.props.get("Kettle", None))

View file

@ -1,5 +1,5 @@
typing-extensions>=4 typing-extensions>=4
aiohttp==3.9.5 aiohttp==3.10.5
aiohttp-auth==0.1.1 aiohttp-auth==0.1.1
aiohttp-route-decorator==0.1.4 aiohttp-route-decorator==0.1.4
aiohttp-security==0.5.0 aiohttp-security==0.5.0

View file

@ -39,7 +39,7 @@ setup(name='cbpi4',
long_description_content_type='text/markdown', long_description_content_type='text/markdown',
install_requires=[ install_requires=[
"typing-extensions>=4", "typing-extensions>=4",
"aiohttp==3.9.5", "aiohttp==3.10.5",
"aiohttp-auth==0.1.1", "aiohttp-auth==0.1.1",
"aiohttp-route-decorator==0.1.4", "aiohttp-route-decorator==0.1.4",
"aiohttp-security==0.5.0", "aiohttp-security==0.5.0",