diff --git a/Dockerfile b/Dockerfile index 8e4a891..a0eb4e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-slim-buster +FROM python:3.9-slim-bullseye # Keeps Python from generating .pyc files in the container ENV PYTHONDONTWRITEBYTECODE 1 diff --git a/get_data.py b/get_data.py index 91d5f32..a6bd457 100644 --- a/get_data.py +++ b/get_data.py @@ -7,7 +7,7 @@ from socket import gaierror from typing import TypedDict import bluetooth._bluetooth as bluez # type: ignore[import] -import paho.mqtt.publish as publish # type: ignore[import] +from paho.mqtt import publish # type: ignore[import] from bluetooth_utils.bluetooth_utils import ( # type: ignore[import] disable_le_scan, diff --git a/requirements.txt b/requirements.txt index eed4c9f..8b75210 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ paho-mqtt -pybluez +pybluez @ git+https://github.com/pybluez/pybluez.git#egg=pybluez