require latest numpy t-> works with python up to 3.11 in devcontainer

This commit is contained in:
avollkopf 2023-01-15 14:21:16 +01:00
parent 2d5ca55718
commit 10e603e81c
5 changed files with 4 additions and 5 deletions

View file

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/vscode/devcontainers/python:3.10-bullseye
FROM mcr.microsoft.com/vscode/devcontainers/python:3.11-bullseye
RUN apt-get update \
&& apt-get upgrade -y

View file

@ -1,3 +1,3 @@
__version__ = "4.1.0.a5"
__version__ = "4.1.0.rc1"
__codename__ = "Groundhog Day"

View file

@ -189,7 +189,6 @@ class LogHttpEndpoints:
description: successful operation.
"""
data = await request.json()
print(data)
return web.json_response(await self.cbpi.log.get_data2(data), dumps=json_dumps)

View file

@ -14,7 +14,7 @@ pyfiglet==0.8.post1
pandas==1.4.1
shortuuid==1.0.11
tabulate==0.9.0
numpy==1.22.2
numpy==1.24.1
cbpi4gui
click==8.1.3
importlib_metadata==4.11.1

View file

@ -60,7 +60,7 @@ setup(name='cbpi4',
'psutil==5.9.4',
'cbpi4gui',
'importlib_metadata',
'numpy==1.22.2',
'numpy==1.24.1',
'pandas==1.4.1'] + (
['RPi.GPIO==0.7.1'] if raspberrypi else [] ),